diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/airline.vim | 15 | ||||
| -rw-r--r-- | inc/ctrlp.vim | 2 | ||||
| -rw-r--r-- | inc/filetype-options.vim | 98 | ||||
| -rw-r--r-- | inc/gundo.vim | 1 | ||||
| -rw-r--r-- | inc/rebinds.vim | 14 | ||||
| -rw-r--r-- | inc/undo.vim | 10 |
6 files changed, 0 insertions, 140 deletions
diff --git a/inc/airline.vim b/inc/airline.vim deleted file mode 100644 index 4486d50..0000000 --- a/inc/airline.vim +++ /dev/null @@ -1,15 +0,0 @@ -" Always show status line -" set laststatus=2 - -" Enable the list of buffers -let g:airline#extensions#tabline#enabled = 1 - -" Show just the filename -let g:airline#extensions#tabline#fnamemod = ':t' - -if !exists('g:airline_symbols') - let g:airline_symbols = {} -endif -let g:airline_symbols.space = "\ua0" - -let g:airline_section_z = airline#section#create(['windowswap', '%3p%% ', 'linenr', ':%3v']) diff --git a/inc/ctrlp.vim b/inc/ctrlp.vim deleted file mode 100644 index 515a5d2..0000000 --- a/inc/ctrlp.vim +++ /dev/null @@ -1,2 +0,0 @@ -let g:ctrlp_follow_symlinks = 1 -let g:ctrlp_working_path_mode = 0 diff --git a/inc/filetype-options.vim b/inc/filetype-options.vim deleted file mode 100644 index f0cbb37..0000000 --- a/inc/filetype-options.vim +++ /dev/null @@ -1,98 +0,0 @@ -function! PhpSyntaxOverride() - hi! def link phpDocTags phpDefine - hi! def link phpDocParam phpType -endfunction - -augroup phpSyntaxOverride - autocmd! - autocmd FileType php call PhpSyntaxOverride() -augroup END - -" This is specifically for Salt's state files 'sls' -autocmd BufNewFile,BufRead *.sls set filetype=yaml - -autocmd Filetype python call SetPythonOptions() -autocmd Filetype htmldjango call SethtmldjangoOptions() -autocmd Filetype json call SetJsonOptions() -autocmd Filetype javascript call SetjavascriptOptions() -autocmd Filetype php call SetPHPOptions() -autocmd Filetype html call SetHTMLOptions() -autocmd Filetype sh call SetShellOptions() -autocmd Filetype go call SetGoOptions() -autocmd Filetype yaml call SetYamlOptions() -autocmd Filetype markdown call SetMarkdownOptions() - -function SetMarkdownOptions() - set spell - set tabstop=2 - set shiftwidth=2 - set expandtab - AcpDisable -endfunction -function SetPythonOptions() - set tabstop=4 - set shiftwidth=4 - set expandtab - filetype indent on - set smartindent -endfunction -function SetjavascriptOptions() - set tabstop=2 - set shiftwidth=2 - set expandtab - filetype indent on - set smartindent -endfunction -function SetJsonOptions() - set tabstop=3 - set shiftwidth=3 - set expandtab - filetype indent on - set smartindent -endfunction -function SethtmldjangoOptions() - set tabstop=2 - set shiftwidth=2 - set expandtab - filetype indent on - set smartindent -endfunction -function SetPHPOptions() - set colorcolumn=120 - set tabstop=4 - set shiftwidth=4 - set expandtab - filetype indent on - set smartindent -endfunction -function SetHTMLOptions() - set colorcolumn=120 - set tabstop=2 - set shiftwidth=2 - set expandtab - filetype indent on - set smartindent -endfunction -function SetShellOptions() - set tabstop=8 - set shiftwidth=8 - set noexpandtab - filetype indent on - set smartindent -endfunction -function SetGoOptions() - set tabstop=8 - set noexpandtab - " The ACP is pretty slow with my Go plugins enabled - AcpDisable - set nolist - set noic - set nolist -endfunction -function SetYamlOptions() - set tabstop=2 - set shiftwidth=2 - set expandtab - set expandtab - set noic -endfunction diff --git a/inc/gundo.vim b/inc/gundo.vim deleted file mode 100644 index bdcb82a..0000000 --- a/inc/gundo.vim +++ /dev/null @@ -1 +0,0 @@ -let g:gundo_prefer_python3 = 1 diff --git a/inc/rebinds.vim b/inc/rebinds.vim deleted file mode 100644 index cacef62..0000000 --- a/inc/rebinds.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Keep the newbs from using arrow keys -inoremap <Left> <NOP> -inoremap <Right> <NOP> -inoremap <Up> <NOP> -inoremap <Down> <NOP> - -" map <C-n> :Lex<CR> -map <C-n> :NERDTreeToggle<CR> - -" To enable/disable the autocomplete dropdown -nmap <leader> [ :AcpDisable<CR> -nmap <leader> ] :AcpEnable<CR> - -nnoremap <F5> :GundoToggle<CR> diff --git a/inc/undo.vim b/inc/undo.vim deleted file mode 100644 index 78c7e48..0000000 --- a/inc/undo.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Persistent undo -set undofile -set undodir=~/.vimundo -set undolevels=1000 -set undoreload=10000 - -" lots of history, it's always nice to find old nasty command that happen -" to be really useful -set history=10000 -" |
