From e950da7742a926fe8891a4eab0f47902056f93c9 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 3 Nov 2015 18:40:01 +0300 Subject: [PATCH] nvim using vimrc yay --- shellrc | 3 +++ vimrc | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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