add ctrl-left and ctrl-right bindings to move backward and forward one word
This commit is contained in:
parent
ed140eb49d
commit
a6770bc573
1 changed files with 3 additions and 0 deletions
|
|
@ -14,6 +14,9 @@ open_ports() {sudo netstat -tulpen 2> /dev/null | grep "LISTEN"}
|
||||||
r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi}
|
r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi}
|
||||||
dontknow() {echo -n "¯\\_(ツ)_/¯" | xclip}
|
dontknow() {echo -n "¯\\_(ツ)_/¯" | xclip}
|
||||||
|
|
||||||
|
# Usefull bindings
|
||||||
|
bindkey '^[[1;5C' forward-word
|
||||||
|
bindkey '^[[1;5D' backward-word
|
||||||
|
|
||||||
# Some exports
|
# Some exports
|
||||||
export EDITOR=emacsclient
|
export EDITOR=emacsclient
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue