mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(vim): non-normal state H/I
This commit is contained in:
parent
2ae16a5cf8
commit
972dfa8c5e
4 changed files with 39 additions and 16 deletions
|
|
@ -17,8 +17,15 @@ noremap e k
|
|||
noremap i l
|
||||
|
||||
" Switch between tabs
|
||||
noremap H :bprevious<CR>
|
||||
noremap I :bnext<CR>
|
||||
nnoremap H :bprevious<CR>
|
||||
nnoremap I :bnext<CR>
|
||||
vnoremap H ^
|
||||
xnoremap H ^
|
||||
onoremap H ^
|
||||
vnoremap I $
|
||||
xnoremap I $
|
||||
onoremap I $
|
||||
|
||||
|
||||
noremap N 5j
|
||||
noremap E 5k
|
||||
|
|
@ -68,10 +75,11 @@ vnoremap > editor.action.indentLines
|
|||
nmap w cjkWordHandler.cursorWordEndRight
|
||||
nmap b cjkWordHandler.cursorWordStartLeft
|
||||
|
||||
noremap <C-w>n <C-w>j
|
||||
noremap <C-w>e <C-w>k
|
||||
noremap <C-w>i <C-w>l
|
||||
noremap <C-w>x workbench.action.toggleEditorGroupLayout
|
||||
" Use C-w C-w as original C-w
|
||||
noremap <C-w><C-w> workbench.action.closeActiveEditor
|
||||
noremap <C-w><A-n> workbench.action.togglePanel
|
||||
" <C-w> will be parsed by VSCode itself.
|
||||
" noremap <C-w>n <C-w>j
|
||||
" noremap <C-w>e <C-w>k
|
||||
" noremap <C-w>i <C-w>l
|
||||
" noremap <C-w>x workbench.action.toggleEditorGroupLayout
|
||||
" " Use C-w C-w as original C-w
|
||||
" noremap <C-w><C-w> workbench.action.closeActiveEditor
|
||||
" noremap <C-w><A-n> workbench.action.togglePanel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue