Update VIM's listchars, add tabular plugin, and try to make J nicer
This commit is contained in:
parent
93a2ad5cba
commit
7f64414663
1 changed files with 7 additions and 1 deletions
|
@ -30,6 +30,7 @@ Plug 'airblade/vim-gitgutter'
|
|||
Plug 'bling/vim-airline'
|
||||
Plug 'bronson/vim-trailing-whitespace'
|
||||
Plug 'fatih/vim-go', { 'do': ':exec GoPostUpdate()' }
|
||||
Plug 'godlygeek/tabular'
|
||||
Plug 'jbgutierrez/vim-babel'
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
|
||||
Plug 'majutsushi/tagbar'
|
||||
|
@ -64,7 +65,7 @@ let g:airline#extensions#tabline#left_alt_sep = '|'
|
|||
let g:airline#extensions#whitespace#mixed_indent_algo = 1
|
||||
let g:airline_powerline_fonts = 1
|
||||
set list " Show tabs
|
||||
set listchars=tab:\|\ " Show tabs by using the pipe symbol
|
||||
set listchars=tab:\|\ ,trail:· " Show whitestape by using the pipe symbol and dots
|
||||
set tabstop=4 " Tabs look like 4 spaces
|
||||
set softtabstop=0 noexpandtab " Tabs look like 4 spaces
|
||||
set shiftwidth=4 " Tabs look like 4 spaces
|
||||
|
@ -74,6 +75,11 @@ let g:tagbar_left = 1 " Make tagbar appear on the left
|
|||
autocmd CompleteDone * pclose " Remove scratchpad after selection
|
||||
set mouse= " Disable mouse
|
||||
|
||||
" make J work with docblocks and such (if possible)
|
||||
if v:version > 703 || v:version == 703 && has('patch541')
|
||||
set formatoptions+=j
|
||||
endif
|
||||
|
||||
if getcwd() =~ '/repos/cuda'
|
||||
" codesniff files
|
||||
let g:ale_php_phpcs_standard=''.$HOME.'/repos/cuda/Cuda-PHP-Code-Standards/PHP_CodeSniffer/Barracuda'
|
||||
|
|
Loading…
Reference in a new issue