-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzsh_keybindings
30 lines (26 loc) · 1.11 KB
/
zsh_keybindings
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
28
#!/bin/zsh
#
# William Falk-Wallace
# zsh_keybindings
#
bindkey '^[^[[D' backward-word # TODO: Investigate this
bindkey '^B' backward-word # TODO: Investigate this
bindkey ';5D' backward-word # ^left # TODO: Investigate this
bindkey '^[^[[C' forward-word # TODO: Investigate this
bindkey '^F' forward-word # TODO: Investigate this
bindkey ';5C' forward-word # ^right # TODO: Investigate this
bindkey '^[[5D' beginning-of-line # TODO: Investigate this
bindkey '^a' beginning-of-line # TODO: Investigate this
bindkey '^[[5C' end-of-line # TODO: Investigate this
bindkey '^e' end-of-line # TODO: Investigate this
bindkey '^[[3~' delete-char # TODO: Investigate this
bindkey '^[^N' newtab # TODO: Investigate this
bindkey '^?' backward-delete-char # TODO: Investigate this
bindkey '^r' history-incremental-search-backward # TODO: Investigate this
bindkey '^R' history-incremental-search-backward # TODO: Investigate this
bindkey '^u' backward-kill-line
# bindkey -v # vim mode # TODO: Investigate this
# C-x C-e to edit
autoload -U edit-command-line # TODO: Investigate this
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line