Created
February 26, 2023 02:37
-
-
Save learn-decentralized-systems/b6b224500a856038dac3a9d972041651 to your computer and use it in GitHub Desktop.
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 tw=64 | |
set shiftwidth=4 | |
set tabstop=4 | |
set autoindent | |
set smartindent | |
set expandtab | |
set formatoptions=jcroqlt | |
" Numpadized split navigation | |
nmap <silent> <A-C-о> :wincmd h<CR> | |
nmap <silent> <A-C-д> :wincmd l<CR> | |
nmap <silent> <A-C-j> :wincmd h<CR> | |
nmap <silent> <A-C-l> :wincmd l<CR> | |
" Alt+Backspace to delete the word under the cursor | |
imap <A-BS> <Esc>Bdwi | |
"nmap <A-BS> Bdw | |
nmap <A-BS> vbx | |
" Numpadized navigation, using alt | |
nmap <A-j> h | |
nmap <A-l> l | |
nmap <A-i> k | |
nmap <A-,> j | |
nmap <A-K> viw | |
nmap <A-m> ^ | |
nmap <A-.> $ | |
nmap <A-u> b | |
nmap <A-o> w | |
nmap <A-p> <PageUp> | |
nmap <A-/> <PageDown> | |
nmap <Esc> :q<CR> | |
vmap <A-j> h | |
vmap <A-l> l | |
vmap <A-i> k | |
vmap <A-,> j | |
vmap <A-K> viw | |
vmap <A-m> ^ | |
vmap <A-.> $ | |
vmap <A-u> b | |
vmap <A-o> w | |
vmap <A-p> <PageUp> | |
vmap <A-/> <PageDown> | |
" Navigation - Russian | |
nmap <A-о> h | |
nmap <A-д> l | |
nmap <A-ш> k | |
nmap <A-б> j | |
nmap <A-ь> ^ | |
nmap <A-ю> $ | |
nmap <A-г> b | |
nmap <A-щ> w | |
vmap <A-о> h | |
vmap <A-д> l | |
vmap <A-ш> k | |
vmap <A-б> j | |
vmap <A-ь> ^ | |
vmap <A-ю> $ | |
vmap <A-г> b | |
vmap <A-щ> w | |
vmap <A-з> <PageUp> | |
map <A-з> <PageUp> | |
nmap щ o | |
nmap ш i | |
nmap в d | |
nmap ч x | |
nmap к r | |
nmap м v | |
vmap п g | |
vmap й q | |
vmap <A-j> h | |
vmap <A-l> l | |
vmap <A-i> k | |
imap <A-j> <Left> | |
imap <A-l> <Right> | |
imap <A-i> <Up> | |
imap <A-,> <Down> | |
imap <A-K> <Esc>viw | |
imap <A-m> <Esc>^i | |
imap <A-.> <Esc>$i<Right> | |
imap <A-u> <Esc>bi | |
imap <A-o> <Esc><Right>wi | |
imap <A-p> <PageUp> | |
imap <A-/> <PageDown> | |
imap <A-Space> <Esc>:w<CR> | |
imap <A-C-Space> <Esc>:w<CR>:make<CR> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment