fix vim
This commit is contained in:
parent
1abf2d81d1
commit
f3e5b326d0
@ -1,4 +1,4 @@
|
|||||||
<h1 align="center">Kan`s dotfiles</h1>
|
h1 align="center">Kan`s dotfiles</h1>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/TheK4n">
|
<a href="https://github.com/TheK4n">
|
||||||
|
|||||||
@ -12,7 +12,16 @@ set shell=zsh
|
|||||||
let g:mapleader = ","
|
let g:mapleader = ","
|
||||||
|
|
||||||
set cursorline
|
set cursorline
|
||||||
nnoremap <silent> <Leader>c :set cursorline!<CR>
|
|
||||||
|
|
||||||
|
function! TabDo(command)
|
||||||
|
let currTab=tabpagenr()
|
||||||
|
execute 'tabdo ' . a:command
|
||||||
|
execute 'tabn ' . currTab
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
nnoremap <silent> <Leader>c :call TabDo('set cursorline!') <CR>
|
||||||
inoremap jk <esc>
|
inoremap jk <esc>
|
||||||
|
|
||||||
let g:airline_powerline_fonts = 1 "Включить поддержку Powerline шрифтов
|
let g:airline_powerline_fonts = 1 "Включить поддержку Powerline шрифтов
|
||||||
@ -266,8 +275,7 @@ function! ToggleRelativeAbsoluteNumber()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
nnoremap <silent><Leader>l :call ToggleRelativeAbsoluteNumber()<CR>
|
nnoremap <silent> <Leader>l :call TabDo('call ToggleRelativeAbsoluteNumber()') <CR>
|
||||||
|
|
||||||
" Quick exiting without save
|
" Quick exiting without save
|
||||||
nnoremap <Leader>`` :qa!<CR>
|
nnoremap <Leader>`` :qa!<CR>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user