local settings into separate file

This commit is contained in:
2017-11-25 12:58:11 +01:00
parent 46ef67d0f9
commit dca9a90f9f
3 changed files with 15 additions and 9 deletions

3
.vimrc
View File

@@ -2,8 +2,10 @@
"{{{ "{{{
if has("win32") if has("win32")
source $HOME/vimfiles/plugins.vim source $HOME/vimfiles/plugins.vim
source $HOME/vimfiles/locals.vim
else else
source $HOME/.vim/plugins.vim source $HOME/.vim/plugins.vim
source $HOME/.vim/locals.vim
endif endif
"}}} "}}}
@@ -35,7 +37,6 @@ set laststatus=2
"Gui stuff "Gui stuff
"{{{ "{{{
set guifont=Consolas:h12
set guicursor=n-v-i-c:block-Cursor set guicursor=n-v-i-c:block-Cursor
set guicursor+=n-v-i-c:blinkon0 set guicursor+=n-v-i-c:blinkon0
set guioptions-=e set guioptions-=e

1
local_template.vim Normal file
View File

@@ -0,0 +1 @@
set guifont=Consolas:h12

View File

@@ -3,26 +3,30 @@
set nocompatible set nocompatible
filetype off filetype off
"set rtp+=~/.vim/bundle/Vundle.vim "Unix
" set rtp+=$HOME/.vim/bundle/Vundle.vim
call vundle#begin() call vundle#begin()
"Win
"set rtp+=$HOME/vimfiles/bundle/Vundle.vim
"call vundle#begin('$HOME/vimfiles/bundle/')
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
Plugin 'tmhedberg/SimpylFold' Plugin 'tmhedberg/SimpylFold'
Plugin 'Valloric/YouCompleteMe' Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/syntastic' Plugin 'scrooloose/syntastic'
Plugin 'vim-scripts/indentpython.vim' Plugin 'vim-scripts/indentpython.vim'
Plugin 'vim-airline/vim-airline' "Plugin 'vim-airline/vim-airline'
Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
Plugin 'majutsushi/tagbar' Plugin 'majutsushi/tagbar'
"Plugin 'jmcantrell/vim-virtualenv' "Plugin 'jmcantrell/vim-virtualenv'
Plugin 'petRUShka/vim-opencl' "Plugin 'petRUShka/vim-opencl'
call vundle#end() call vundle#end()
"}}} "}}}
let g:tagbar_ctags_bin = '' "let g:tagbar_ctags_bin = ''
let g:ycm_global_ycm_extra_conf = '' "let g:ycm_global_ycm_extra_conf = ''
let g:ycm_python_binary_path = '' "let g:ycm_python_binary_path = ''
let g:syntastic_python_python_exec = '' "let g:syntastic_python_python_exec = ''