vim: add new mappings

feature/symbol-search
bretello 2020-04-06 19:44:51 +02:00
parent 2da2998abe
commit 3101f2047c
1 changed files with 18 additions and 0 deletions

View File

@ -139,3 +139,21 @@ nnoremap <leader>G :Git
nnoremap <leader>P :GPush<CR>
nnoremap <leader>M :Git commit<CR>
nnoremap <leader>u :GitGutterBufferToggle<CR>
" OR map keys to use wrapping.
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)
" this is assigned to jedi#goto_stubs()
" nunmap <leader>s
" nnoremap <leader>sv :ALEGoToTypeDefinitionInVSplit<CR>
" nnoremap <leader>sh :ALEGoToTypeDefinitionInSplit<CR>
" nnoremap <leader>st :ALEGoToTypeDefinitionInTab<CR>
" nnoremap <leader> :ALEGoToTypeDefinition<CR>
nmap <leader>sv :ALEGoToDefinitionInVSplit<CR>
nmap <leader>sh :ALEGoToDefinitionInSplit<CR>
nmap <leader>st :ALEGoToDefinitionInTab<CR>
nmap <leader>A :ALEGoToDefinition<CR>
nmap <leader>n :ALEFindReferences<CR>
nmap <leader>r :ALERename<CR>