Skip to content

Commit 7ea9f1c

Browse files
committed
fixed ctrl-enter. moved ctrl-j to alt-j. Added stuff to banner
1 parent 52e867b commit 7ea9f1c

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

custom/banner.zsh

+16-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,23 @@ banner="
66
| Alt + K | Kafka Topic FZF | | Ctrl + N | Recall the next command | +------------------+-----------------------------------------+
77
| Ctrl + Z | CD History | +------------------+-----------------------------------------+ | Ctrl + W | Delete the word before the cursor |
88
| 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 |
1010
| 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+
"
1226

1327

1428
print_cheatsheet_banner()

zshrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ source $ZSH/oh-my-zsh.sh
4141
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
4242

4343
# jq plugin
44-
bindkey '^j' jq-complete
44+
bindkey '^[j' jq-complete
4545

4646
# cdhist
4747
if type cdhist &>/dev/null; then

0 commit comments

Comments
 (0)