diff options
Diffstat (limited to 'vim/.vimrc')
-rw-r--r-- | vim/.vimrc | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -28,6 +28,7 @@ Plugin 'rust-lang/rust.vim' " Rust Plugin 'terryma/vim-multiple-cursors' " Multiple cursors Plugin 'scrooloose/syntastic' " Syntastic Plugin 'tpope/vim-surround' " cs)] to replace parenthesis pairs, e.g. +Plugin 'rickhowe/diffchar.vim' " diffing on character level call vundle#end() " End Vundle @@ -47,7 +48,7 @@ set listchars=nbsp:¬,tab:▸\ ,extends:»,precedes:«,trail:• set nolist set tabpagemax=30 set fillchars+=fold:\ -nnoremap <C-]> <C-w><C-]><C-w>T +set statusline= filetype plugin indent on syntax enable @@ -82,6 +83,11 @@ command! -nargs=1 Silent command! -nargs=0 Smake \ | execute ':Silent make' +" Clean +let g:clean_load_cloogle_tags = 1 + +set statusline+=%{&filetype=='clean'?cleanvim#tags#bestmatchdescription(expand('<cword>')):''} + " Syntastic set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} @@ -100,9 +106,6 @@ let g:syntastic_mode_map = { \ "mode": "passive", \ "passive_filetpyes": [] } -" Clean -let g:clean_load_cloogle_tags = 1 - " VimTeX let g:vimtex_compiler_latexmk = { \ 'callback': 0, @@ -147,3 +150,6 @@ cabbrev pv Pv "endfunction "set statusline+=%{SyntaxItem()} "set laststatus=2 + +" https://unix.stackexchange.com/a/243667/37050 +set statusline+=%=%(%l,%c%V\ %=\ %P%) |