vim: Fix some keybindings n reduce path var
This commit is contained in:
parent
0cbd465e41
commit
791dacebed
10
.vimrc
10
.vimrc
@ -98,7 +98,6 @@ set autowrite
|
||||
" ":augroup vimStartup | au! | augroup END"
|
||||
augroup vimStartup
|
||||
au!
|
||||
|
||||
" When editing a file, always jump to the last known cursor position.
|
||||
" Don't do it when the position is invalid or when inside an event handler
|
||||
" (happens when dropping a file on gvim).
|
||||
@ -193,6 +192,7 @@ set shiftwidth=8
|
||||
" real tabs
|
||||
" set noexpandtab
|
||||
|
||||
nnoremap <silent> <leader>gg :tab term ++close lazygit<CR>
|
||||
|
||||
"filetype specific action
|
||||
augroup FtSpecific
|
||||
@ -310,7 +310,7 @@ function! TagInNewTab()
|
||||
execute 'tag ' . word
|
||||
endfunction
|
||||
|
||||
map <C-S-I> :call TagInNewTab()<CR>
|
||||
map <S-T> :call TagInNewTab()<CR>
|
||||
|
||||
"""""""""
|
||||
" PASTE "
|
||||
@ -446,7 +446,7 @@ let OmniCpp_LocalSearchDecl=1
|
||||
let OmniCpp_MayCompleteDot = 1 " autocomplete after .
|
||||
let OmniCpp_MayCompleteArrow = 1 " autocomplete after ->
|
||||
let OmniCpp_MayCompleteScope = 1 " autocomplete after ::
|
||||
set path+=**,..,/usr/local/include,/usr/include
|
||||
set path+=..,/usr/local/include,/usr/include
|
||||
|
||||
"""""""""""""
|
||||
" Latex "
|
||||
@ -674,6 +674,8 @@ if v:version >= 800
|
||||
if has_key(g:LanguageClient_serverCommands, &filetype)
|
||||
nmap <buffer> <silent> K <Plug>(lcn-hover)
|
||||
nmap <buffer> <silent> gd <Plug>(lcn-definition)
|
||||
nmap <buffer> <silent> gy <Plug>(lcn-type-definition)
|
||||
nmap <buffer> <silent> gi <Plug>(lcn-implementation)
|
||||
nmap <buffer> <silent> gr <Plug>(lcn-references)
|
||||
nmap <buffer> <silent> cr <Plug>(lcn-rename)
|
||||
nmap <C-F1> <Plug>(lcn-menu)
|
||||
@ -692,7 +694,7 @@ else
|
||||
endif
|
||||
|
||||
"Completion (need more configuration for python, c# ...)
|
||||
"Plugin 'Valloric/YouCompleteMe'
|
||||
"Plugin 'ycm-core/YouCompleteMe'
|
||||
" VimWiki
|
||||
Plugin 'vimwiki/vimwiki'
|
||||
let g:vimwiki_list=[{'path':'~/.vim/vimwiki'}]
|
||||
|
Loading…
Reference in New Issue
Block a user