set vim as default editor
This commit is contained in:
parent
e5869f7c84
commit
7ba87a776f
1 changed files with 3 additions and 2 deletions
5
.zshrc
5
.zshrc
|
@ -85,6 +85,9 @@ source $ZSH/oh-my-zsh.sh
|
||||||
# ssh
|
# ssh
|
||||||
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||||
|
|
||||||
|
# Set vim as default editor
|
||||||
|
export EDITOR='vim'
|
||||||
|
|
||||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||||
|
@ -99,6 +102,4 @@ alias la='ls -la'
|
||||||
if [ -f ~/.dotfiles/.localcommands ]
|
if [ -f ~/.dotfiles/.localcommands ]
|
||||||
then
|
then
|
||||||
source ~/.dotfiles/.localcommands
|
source ~/.dotfiles/.localcommands
|
||||||
else
|
|
||||||
echo "\n\n"
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue