aboutsummaryrefslogtreecommitdiff
path: root/cheat
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-03-20 09:25:33 +0100
committerneodarz <neodarz@neodarz.net>2018-03-20 09:25:33 +0100
commit1113313614a2cfeadb9dbea150112e3213cd6e53 (patch)
treed0d0b8e20b64bb1f5c38a1d9547881aac6ef1bdd /cheat
parent94de735487bb76b8e1709304c234985b6b51de89 (diff)
downloaddotfiles_ascii-1113313614a2cfeadb9dbea150112e3213cd6e53.tar.xz
dotfiles_ascii-1113313614a2cfeadb9dbea150112e3213cd6e53.zip
Add somes commands tips for move in a terminal
Diffstat (limited to '')
-rw-r--r--cheat/.cheat/commands22
1 files changed, 22 insertions, 0 deletions
diff --git a/cheat/.cheat/commands b/cheat/.cheat/commands
index a8c7c74..97300f2 100644
--- a/cheat/.cheat/commands
+++ b/cheat/.cheat/commands
@@ -1,2 +1,24 @@
# For start a comands without aliased arguments
\<command>
+
+# Moving in cli
+
+ +----(1)----------------+----------(2)-----+ -+
+ | +-(3)----------------+----------(4)-+ | |- Moving
+ v v (5)v-+-v(6) v v -+
+$ cp monfidefoudefoudefou[c]hieffffffffffr dir
+ <----------------(7)-+-(8)----------> -+
+ |- Erasing
+ <-------------------(9)-+-(10)-------------> -+
+
+
+(1) => Ctrl+A : Move from cursor to start of line
+(2) => Ctrl-E : Move from cursor to end of line
+(3) => Ctrl-B : Move from cursor to start of word
+(4) => Alt-F : Move from cursor to end of word
+(5) => Ctrl-B : Move from cursor to previous char
+(6) => Ctrl-F : Move from cursor to next char
+(7) => Ctrl-w : Erase from cursor to the start of word
+(8) => Alt-D : Erase from cursor to the end of word
+(9) => Ctrl-U : Erase from cursor to the start of line
+(10) => Ctrl-K : Erase from cursor to the end of line