Configure Vim
This commit is contained in:
parent
9c90191d10
commit
b1c05ea9bc
1 changed files with 0 additions and 16 deletions
|
@ -56,14 +56,6 @@ map <C-l> <C-W>l
|
||||||
" Always show the status line
|
" Always show the status line
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
" Moving lines
|
|
||||||
nnoremap <c-j> :m .+1<CR>==
|
|
||||||
nnoremap <c-k> :m .-2<CR>==
|
|
||||||
inoremap <c-j> <Esc>:m .+1<CR>==gi
|
|
||||||
inoremap <c-k> <Esc>:m .-2<CR>==gi
|
|
||||||
vnoremap <c-j> :m '>+1<CR>gv=gv
|
|
||||||
vnoremap <c-k> :m '<-2<CR>gv=gv
|
|
||||||
|
|
||||||
" Keyboard layouts
|
" Keyboard layouts
|
||||||
let s:english_upper = 'QWERTYUIOPASDFGHJKLZXCVBNM'
|
let s:english_upper = 'QWERTYUIOPASDFGHJKLZXCVBNM'
|
||||||
let s:russian_upper = 'ЙЦУКЕНГШЩЗФЫВАПРОЛДЯЧСМИТЬ'
|
let s:russian_upper = 'ЙЦУКЕНГШЩЗФЫВАПРОЛДЯЧСМИТЬ'
|
||||||
|
@ -77,11 +69,3 @@ let s:russian_lower_map = s:russian_lower . ';' . s:english_lower
|
||||||
let s:georgian_lower_map = s:georgian_lower . ';' . s:english_lower
|
let s:georgian_lower_map = s:georgian_lower . ';' . s:english_lower
|
||||||
let s:langmap = s:russian_upper_map . ',' . s:georgian_upper_map . ',' . s:russian_lower_map . ',' . s:georgian_lower_map
|
let s:langmap = s:russian_upper_map . ',' . s:georgian_upper_map . ',' . s:russian_lower_map . ',' . s:georgian_lower_map
|
||||||
let &langmap = s:langmap
|
let &langmap = s:langmap
|
||||||
|
|
||||||
autocmd BufNewFile,BufRead *.tsx set syntax=typescript
|
|
||||||
autocmd BufNewFile,BufRead *.repub set syntax=markdown
|
|
||||||
|
|
||||||
autocmd BufNewFile,BufRead /home/kotovalexarian/repos/global/PolytreeDE/polytreewm/src/* set noexpandtab tabstop=4 shiftwidth=4
|
|
||||||
autocmd BufNewFile,BufRead /home/kotovalexarian/repos/global/tailix/*.c set expandtab tabstop=4 shiftwidth=4
|
|
||||||
autocmd BufNewFile,BufRead /home/kotovalexarian/repos/global/tailix/*.h set expandtab tabstop=4 shiftwidth=4
|
|
||||||
autocmd BufNewFile,BufRead /home/kotovalexarian/repos/global/leqsikoni/database/*.sql set expandtab tabstop=4 shiftwidth=4
|
|
||||||
|
|
Loading…
Reference in a new issue