mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(vscode): vimrc qwerty
This commit is contained in:
parent
54fa6b8f91
commit
f39880321c
1 changed files with 6 additions and 18 deletions
|
|
@ -11,35 +11,23 @@
|
||||||
" Use VSpaceCode instead of <leader>
|
" Use VSpaceCode instead of <leader>
|
||||||
noremap <space> vspacecode.space
|
noremap <space> vspacecode.space
|
||||||
|
|
||||||
" Arrow remap
|
|
||||||
noremap n j
|
|
||||||
noremap e k
|
|
||||||
noremap i l
|
|
||||||
|
|
||||||
" Switch between tabs
|
" Switch between tabs
|
||||||
nnoremap H :bprevious<CR>
|
nnoremap H :bprevious<CR>
|
||||||
nnoremap I :bnext<CR>
|
nnoremap L :bnext<CR>
|
||||||
vnoremap H ^
|
vnoremap H ^
|
||||||
xnoremap H ^
|
xnoremap H ^
|
||||||
onoremap H ^
|
onoremap H ^
|
||||||
vnoremap I $
|
vnoremap L $
|
||||||
xnoremap I $
|
xnoremap L $
|
||||||
onoremap I $
|
onoremap L $
|
||||||
|
|
||||||
|
|
||||||
noremap N 5j
|
noremap J 5j
|
||||||
noremap E 5k
|
noremap K 5k
|
||||||
|
|
||||||
" Similar position to i
|
" Similar position to i
|
||||||
" The `noremap` implements text-object-like behavior in VSCodeVim
|
" The `noremap` implements text-object-like behavior in VSCodeVim
|
||||||
noremap l i
|
|
||||||
noremap L I
|
|
||||||
" ne[k]st
|
|
||||||
noremap k n
|
|
||||||
noremap K N
|
|
||||||
" [j]ump
|
|
||||||
noremap j e
|
|
||||||
noremap J E
|
|
||||||
|
|
||||||
" Y to yank to end of line
|
" Y to yank to end of line
|
||||||
noremap Y y$
|
noremap Y y$
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue