Example to section Insert previous arguments
This commit is contained in:
parent
2cbeb1a314
commit
a087e26fb3
|
@ -9,6 +9,17 @@
|
||||||
|
|
||||||
*In Linux you can repeat commands to go back in history*
|
*In Linux you can repeat commands to go back in history*
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
Last command is:
|
||||||
|
|
||||||
|
mv foo bar
|
||||||
|
|
||||||
|
- <kbd>Alt</kbd>+<kbd>0</kbd>+<kbd>.</kbd>: insert first argument of last command = `mv`
|
||||||
|
- <kbd>Alt</kbd>+<kbd>2</kbd>+<kbd>.</kbd>: insert last 2nd argument of last command = `foo`
|
||||||
|
- <kbd>up</kbd> , <kbd>Ctrl</kbd>+<kbd>w</kbd>: last command without the last word = `mv foo`
|
||||||
|
|
||||||
|
|
||||||
## Cut/Paste commands
|
## Cut/Paste commands
|
||||||
*(relative to cursor's position)*
|
*(relative to cursor's position)*
|
||||||
- <kbd>Ctrl</kbd>+<kbd>w</kbd>: cuts last word
|
- <kbd>Ctrl</kbd>+<kbd>w</kbd>: cuts last word
|
||||||
|
|
Loading…
Reference in New Issue
Block a user