Mercurial > dotfiles
comparison vim/vimrc @ 483:1a54ffbc3b15
Remove goyo stuff, add quicklist toggle.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 24 Sep 2020 23:07:10 -0700 |
parents | e79244688396 |
children | 759ccf5befb2 |
comparison
equal
deleted
inserted
replaced
482:4bd564a3c9a2 | 483:1a54ffbc3b15 |
---|---|
696 | 696 |
697 " Keep search matches in the middle of the window. | 697 " Keep search matches in the middle of the window. |
698 nnoremap n nzvzz | 698 nnoremap n nzvzz |
699 nnoremap N Nzvzz | 699 nnoremap N Nzvzz |
700 | 700 |
701 " Writing mode. | |
702 autocmd! User GoyoEnter nested call ludo#on_goyo_enter() | |
703 autocmd! User GoyoLeave nested call ludo#on_goyo_leave() | |
704 nmap <leader>p :call ludo#writingmode()<CR> | |
705 | |
706 " YCM mappings. | 701 " YCM mappings. |
707 if s:HasPlugin('youcompleteme') | 702 if s:HasPlugin('youcompleteme') |
708 augroup VimRC_YouCompleteMe | 703 augroup VimRC_YouCompleteMe |
709 autocmd! | 704 autocmd! |
710 autocmd FileType cpp nnoremap <Leader>jj :YcmCompleter GoToImprecise<cr>zv | 705 autocmd FileType cpp nnoremap <Leader>jj :YcmCompleter GoToImprecise<cr>zv |