diff --git a/README.rst b/README.rst index b55743b..7a074f9 100644 --- a/README.rst +++ b/README.rst @@ -20,15 +20,4 @@ or in ``$XDG_COFIG_HOME`` directory, which usually is set to ``$HOME/.config``: git clone https://github.com/gryf/.vim ~/.config/vim -Other than that, there are two additional config files which can be added to -the configuration as a local configuration files just to not mess up with main -config file. Both of them should be placed under ``$HOME/.vim`` or -``$XDG_COFIG_HOME/vim`` depending on your installation. - -First one is ``vimrc.local``, which might contain additional/override options -for specific machine. - -The other ``plugins.local`` and similarly there can be additional plugins -defined. - .. _vim-plug: https://github.com/junegunn/vim-plug diff --git a/vimrc b/vimrc index 49b70e8..d17861d 100644 --- a/vimrc +++ b/vimrc @@ -64,12 +64,7 @@ Plug 'vim-scripts/mako.vim', { 'for': 'mako' } Plug 'vim-scripts/mako.vim--Torborg', { 'for': 'mako' } Plug 'vimwiki/vimwiki' Plug 'will133/vim-dirdiff' - -" Custom plugins: custom plugins per machine {{{ -" if filereadable($MYVIMRC . '.local') -if filereadable(fnamemodify($MYVIMRC, ':h') . '/plugins.local') - exec "source " . fnamemodify($MYVIMRC, ':h') . '/plugins.local' -endif +Plug 'thinca/vim-localrc' call plug#end() " }}} @@ -779,10 +774,5 @@ endif silent! exec 'colorscheme ' . s:_colorscheme -"}}} -" Custom: custom config per machine {{{ -if filereadable($MYVIMRC . '.local') - exec "source " . $MYVIMRC . '.local' -endif "}}} " vim:ts=4:sw=4:wrap:fdm=marker: