Simplify vim config
This commit is contained in:
parent
7313305dce
commit
6c6882df86
3 changed files with 0 additions and 23 deletions
|
@ -99,7 +99,6 @@ node default {
|
||||||
'virtualbox',
|
'virtualbox',
|
||||||
'vivaldi',
|
'vivaldi',
|
||||||
'vlc',
|
'vlc',
|
||||||
'vundle',
|
|
||||||
'whatsie',
|
'whatsie',
|
||||||
'wps-office',
|
'wps-office',
|
||||||
'wps-office-extension-english-uk-dictionary',
|
'wps-office-extension-english-uk-dictionary',
|
||||||
|
|
|
@ -1,27 +1,11 @@
|
||||||
set runtimepath+=~/.vim_runtime
|
set runtimepath+=~/.vim_runtime
|
||||||
set rtp+=/usr/share/vim/vimfiles/autoload/vundle.vim
|
|
||||||
|
|
||||||
source ~/.vim_runtime/vimrcs/basic.vim
|
source ~/.vim_runtime/vimrcs/basic.vim
|
||||||
source ~/.vim_runtime/vimrcs/filetypes.vim
|
source ~/.vim_runtime/vimrcs/filetypes.vim
|
||||||
source ~/.vim_runtime/vimrcs/plugins_config.vim
|
source ~/.vim_runtime/vimrcs/plugins_config.vim
|
||||||
source ~/.vim_runtime/vimrcs/extended.vim
|
source ~/.vim_runtime/vimrcs/extended.vim
|
||||||
|
|
||||||
try
|
|
||||||
source ~/.vim_runtime/my_configs.vim
|
|
||||||
catch
|
|
||||||
endtry
|
|
||||||
|
|
||||||
cmap w!! w !sudo tee >/dev/null %
|
cmap w!! w !sudo tee >/dev/null %
|
||||||
:set mouse=a
|
:set mouse=a
|
||||||
|
|
||||||
call vundle#begin()
|
|
||||||
" alternatively, pass a path where Vundle should install plugins
|
|
||||||
"call vundle#begin('~/some/path/here')
|
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
|
||||||
|
|
||||||
Plugin 'rykka/clickable-things'
|
|
||||||
|
|
||||||
call vundle#end() " required
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
|
@ -15,10 +15,4 @@ class config::vim {
|
||||||
path => '/home/jake/.vim_runtime',
|
path => '/home/jake/.vim_runtime',
|
||||||
source => 'https://github.com/amix/vimrc.git',
|
source => 'https://github.com/amix/vimrc.git',
|
||||||
}
|
}
|
||||||
|
|
||||||
-> exec { 'Install vim plugins':
|
|
||||||
command => 'vim +PluginInstall +qall',
|
|
||||||
user => 'jake',
|
|
||||||
environment => 'HOME=/home/jake'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue