nvim: init.vim: Add comfortable motion

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-27 13:03:51 +05:30
parent 754f80a43e
commit 6fbc3fae0f

View file

@ -83,6 +83,7 @@ Plug 'rhysd/vim-clang-format', { 'for': [ 'c', 'cpp'] }
Plug 'pelodelfuego/vim-swoop'
Plug 'adelarsq/vim-matchit'
Plug 'stefandtw/quickfix-reflector.vim'
Plug 'yuttie/comfortable-motion.vim'
" Initialize plugin system
call plug#end()
@ -405,6 +406,9 @@ let g:workspace_session_directory = $HOME . '/.vim/session/'
let g:workspace_undodir = $HOME . '/.vim/undodir'
let g:workspace_autosave = 0
let g:workspace_autosave_ignore = ['gitcommit', 'qf', 'nerdtree', 'tagbar']
" For comfortable motion
let g:comfortable_motion_scroll_down_key = "j"
let g:comfortable_motion_scroll_up_key = "k"
" Default indentations
autocmd BufRead,BufNewFile */gst-*/*.[ch] set et sw=2