[vimrc] updates to Limelight, keybindings

This commit is contained in:
Tobias Schmidl 2023-01-20 14:42:18 +01:00
parent 0754c606ab
commit 6d114eae2f

4
.vimrc
View file

@ -104,6 +104,7 @@ let g:gutentags_ctags_exclude = [
\ 'bin', \ 'bin',
\ 'build', \ 'build',
\ ] \ ]
let g:goyo_width = 120
let g:startify_fortune_use_unicode = 1 let g:startify_fortune_use_unicode = 1
let g:startify_session_autoload = 1 let g:startify_session_autoload = 1
let g:startify_session_persistence = 1 let g:startify_session_persistence = 1
@ -149,8 +150,9 @@ onoremap <F9> <C-C>za
vnoremap <F9> zf vnoremap <F9> zf
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
map <C-b> :TagbarToggle<CR> map <C-b> :TagbarToggle<CR>
nnoremap <Leader>s :<C-u>call gitblame#echo()<CR> nnoremap <Leader>b :<C-u>call gitblame#echo()<CR>
nnoremap <Leader>g :Goyo<CR> nnoremap <Leader>g :Goyo<CR>
nnoremap <Leader>l :Limelight!!<CR>
" Activate Limelight when Goyo is entered " Activate Limelight when Goyo is entered
autocmd! User GoyoEnter Limelight autocmd! User GoyoEnter Limelight