Last active
June 14, 2024 08:28
-
-
Save itse4elhaam/5586662bc4051b2510be018090a74b97 to your computer and use it in GitHub Desktop.
vim key bindings for vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set expandtab | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set foldmethod=manual | |
set foldcolumn=1 | |
set clipboard+=unnamedplus | |
set signcolumn=number | |
set number | |
set relativenumber | |
" Keymaps | |
nnoremap el $ | |
nnoremap sl _ | |
nnoremap Y y$ | |
nnoremap <space>bw :bd!<CR> | |
nnoremap <space>bh :bprevious<CR> | |
nnoremap <space>bl :bnext<CR> | |
nnoremap <space>vb <C-V> | |
nnoremap <space>a <C-A> | |
nnoremap <space>x <C-X> | |
nnoremap ya :%y<CR> | |
nnoremap da :%d<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment