diff --git a/shellrc b/shellrc index dc5209b..e5d6777 100644 --- a/shellrc +++ b/shellrc @@ -50,6 +50,9 @@ alias atmux='tmux attach' alias hist='fc -l 1' alias beep='printf "\007"' alias fixterm='printf "c"' +if (is_exec nvim && [[ -r ${HOME}/.vimrc ]]); then + alias nvim='command nvim -u ~/.vimrc' +fi # iconv alias iconvwk='command iconv -c -f cp1251 -t koi8-r' diff --git a/vimrc b/vimrc index 87e12cb..392c47c 100644 --- a/vimrc +++ b/vimrc @@ -1,7 +1,6 @@ set nocompatible set background=light set backspace=indent,eol,start -set clipboard=exclude:.* set cursorline set foldmethod=marker set history=50