parent
5768625356
commit
acdb1d4bc7
7
init.zsh
7
init.zsh
|
@ -13,6 +13,13 @@ fi
|
||||||
# Source user configuration
|
# Source user configuration
|
||||||
[[ -s ${ZDOTDIR:-${HOME}}/.zimrc ]] && source ${ZDOTDIR:-${HOME}}/.zimrc
|
[[ -s ${ZDOTDIR:-${HOME}}/.zimrc ]] && source ${ZDOTDIR:-${HOME}}/.zimrc
|
||||||
|
|
||||||
|
# Set input mode before loading modules
|
||||||
|
if [ ${zinput_mode}='vi' ]; then
|
||||||
|
set -o vi
|
||||||
|
else
|
||||||
|
set -o emacs
|
||||||
|
fi
|
||||||
|
|
||||||
# Autoload module functions
|
# Autoload module functions
|
||||||
() {
|
() {
|
||||||
local mod_function
|
local mod_function
|
||||||
|
|
|
@ -57,6 +57,9 @@ ztermtitle='%n@%m:%~'
|
||||||
# Input
|
# Input
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Set to vi or emacs
|
||||||
|
zinput_mode='emacs'
|
||||||
|
|
||||||
# Uncomment to enable double-dot expansion.
|
# Uncomment to enable double-dot expansion.
|
||||||
# This appends '../' to your input for each '.' you type after an initial '..'
|
# This appends '../' to your input for each '.' you type after an initial '..'
|
||||||
#zdouble_dot_expand='true'
|
#zdouble_dot_expand='true'
|
||||||
|
|
Loading…
Reference in a new issue