-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zsh_bindkeys
27 lines (22 loc) · 1.07 KB
/
.zsh_bindkeys
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
##############################################################################
# Z Shell Keybindings Configuration
##############################################################################
# To see the key combo you want to use just do:
# cat > /dev/null
# And press it
# bindkey -v # Default to standard vim bindings
# bindkey "^W" kill-whole-line # ctrl-k
# bindkey "^R" history-incremental-search-backward # ctrl-r
# bindkey "^S" history-incremental-search-forward # ctrl-s
# bindkey "^A" beginning-of-line # ctrl-a
# bindkey "^E" end-of-line # ctrl-e
# bindkey "^N" history-search-forward # ctrl-n
# bindkey "^P" history-search-backward # ctrl-p
# bindkey "^D" delete-char # ctrl-d
# bindkey "^F" forward-char # ctrl-f
# bindkey "^B" backward-char # ctrl-b
#
# load machine specific configuration
#
[ -f "$0.local" ] && source "$0.local"