File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,23 @@ banner="
6
6
| Alt + K | Kafka Topic FZF | | Ctrl + N | Recall the next command | +------------------+-----------------------------------------+
7
7
| Ctrl + Z | CD History | +------------------+-----------------------------------------+ | Ctrl + W | Delete the word before the cursor |
8
8
| Ctrl + X | Easy-Motion | | Ctrl + U | Clear the text before the cursor | | Ctrl + H | Delete the character before the cursor |
9
- | Ctrl + J | jq REPL | | Ctrl + K | Clear the text after the cursor | | Ctrl + D | Delete the character after the cursor |
9
+ | Alt + J | jq REPL | | Ctrl + K | Clear the text after the cursor | | Ctrl + D | Delete the character after the cursor |
10
10
| Alt + A | ASN IP Lookup | | Ctrl + Y | Yank (paste) the last cut/deleted | | Alt + D | Delete the word after the cursor |
11
- +------------------+-----------------------------------------+ +------------------+-----------------------------------------+ +------------------+-----------------------------------------+"
11
+ +------------------+-----------------------------------------+ +------------------+-----------------------------------------+ +------------------+-----------------------------------------+
12
+
13
+ !! !n !-n CMD number (or prev)
14
+ !* !$/\$ _ alt-. Arg Last
15
+ !^ Arg First
16
+ !:n !n-m Arg numbered (or range)
17
+ !string Arg string
18
+ ^foo ^foo^bar !:gs/foo/bar Remove, Remove (or globally)
19
+
20
+ ASN{0000..9999}
21
+ ls *~*.txt Everything EXCEPT .txt
22
+ ls *.(py|sh|bash) List all (.py OR .sh OR .bash)
23
+
24
+ cat <(find ~) <(find .) Concat cmd outputs
25
+ "
12
26
13
27
14
28
print_cheatsheet_banner ()
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ source $ZSH/oh-my-zsh.sh
41
41
[ -f ~ /.fzf.zsh ] && source ~ /.fzf.zsh
42
42
43
43
# jq plugin
44
- bindkey ' ^j' jq-complete
44
+ bindkey ' ^[ j' jq-complete
45
45
46
46
# cdhist
47
47
if type cdhist & > /dev/null; then
You can’t perform that action at this time.
0 commit comments