Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
new navigation in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai authored and Hai committed Nov 19, 2020
1 parent 5925459 commit 9ba8ef6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions vscode/settings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ command! -complete=file -nargs=? Vnew call <SID>split('v', '__vscode_new__')
command! -bang Only if <q-bang> == '!' | call <SID>closeOtherEditors() | else | call VSCodeNotify('workbench.action.joinAllGroups') | endif

" Better Navigation
nnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
xnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
nnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
xnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
nnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
xnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
nnoremap <silent> <C-l> :call VSCodeNotify('workbench.action.navigateRight')<CR>
xnoremap <silent> <C-l> :call VSCodeNotify('workbench.action.navigateRight')<CR>
" nnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
" xnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
" nnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
" xnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
" nnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
" xnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
" nnoremap <silent> <C-l> :call VSCodeNotify('workbench.action.navigateRight')<CR>
" xnoremap <silent> <C-l> :call VSCodeNotify('workbench.action.navigateRight')<CR>

nnoremap gr <Cmd>call VSCodeNotify('editor.action.goToReferences')<CR>
Expand Down Expand Up @@ -118,4 +118,4 @@ omap gc <Plug>VSCodeCommentary
nmap gcc <Plug>VSCodeCommentaryLine
" To follow file
nmap gf call VSCodeNotify('seito-openfile.openFileFromText')<CR>
nnoremap gf <Cmd> call VSCodeNotify('seito-openfile.openFileFromText')<CR>

0 comments on commit 9ba8ef6

Please sign in to comment.