This commit is contained in:
TheK4n 2022-07-31 11:18:19 +03:00
parent 1abf2d81d1
commit f3e5b326d0
2 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<h1 align="center">Kan`s dotfiles</h1>
h1 align="center">Kan`s dotfiles</h1>
<p align="center">
<a href="https://github.com/TheK4n">

View File

@ -12,7 +12,16 @@ set shell=zsh
let g:mapleader = ","
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>
let g:airline_powerline_fonts = 1 "Включить поддержку Powerline шрифтов
@ -266,8 +275,7 @@ function! ToggleRelativeAbsoluteNumber()
endif
endfunction
nnoremap <silent><Leader>l :call ToggleRelativeAbsoluteNumber()<CR>
nnoremap <silent> <Leader>l :call TabDo('call ToggleRelativeAbsoluteNumber()') <CR>
" Quick exiting without save
nnoremap <Leader>`` :qa!<CR>