Making an über vi-mode input type
This commit is contained in:
parent
402f11109c
commit
70ba732610
14
zsh/zshrc
14
zsh/zshrc
@ -1,5 +1,7 @@
|
|||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH=/home/ovandenb/.zsh/oh-my-zsh
|
export ZSH=/home/ovandenb/.zsh/oh-my-zsh
|
||||||
|
# Path to my omz custom directory
|
||||||
|
export ZSH_CUSTOM=$ZDOTDIR/custom
|
||||||
|
|
||||||
# Set name of the theme to load.
|
# Set name of the theme to load.
|
||||||
# Look in ~/.oh-my-zsh/themes/
|
# Look in ~/.oh-my-zsh/themes/
|
||||||
@ -51,7 +53,11 @@ HISTFILE="$ZDOTDIR/.zsh_history"
|
|||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
#plugins=(sudo systemd themes tmux todo zsh_reload)
|
#plugins=(sudo systemd themes tmux todo zsh_reload)
|
||||||
plugins=(ansible sudo systemd themes tmux todo vi-mode web-search zsh_reload)
|
plugins=(ansible sudo systemd themes todo vi-mode web-search zsh_reload)
|
||||||
|
|
||||||
|
if type -p tmux >/dev/null; then
|
||||||
|
plugins += tmux
|
||||||
|
fi
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
ZSH_TMUX_AUTOSTART=false
|
ZSH_TMUX_AUTOSTART=false
|
||||||
@ -99,3 +105,9 @@ export LESS='-FRX'
|
|||||||
|
|
||||||
unsetopt share_history
|
unsetopt share_history
|
||||||
unsetopt hist_verify
|
unsetopt hist_verify
|
||||||
|
|
||||||
|
bindkey '^k' kill-line
|
||||||
|
bindkey '^u' kill-whole-line
|
||||||
|
bindkey '^y' yank
|
||||||
|
bindkey '^a' beginning-of-line
|
||||||
|
bindkey '^e' end-of-line
|
||||||
|
Loading…
Reference in New Issue
Block a user