Move cursor to the middle when moving in neovim
diff --git a/modules/neovim/binds/binds.vim b/modules/neovim/binds/binds.vim
index ad36b97..916f3bc 100644
--- a/modules/neovim/binds/binds.vim
+++ b/modules/neovim/binds/binds.vim
@@ -6,6 +6,15 @@
nnoremap <silent> <C-k> :m-2<CR>
nnoremap <silent> <C-j> :m+1<CR>
+nnoremap <C-d> <C-d>zz
+nnoremap <C-b> <C-b>zz
+
+nnoremap <C-u> <C-u>zz
+nnoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>zz:redraw!<CR>"
+
+nnoremap N Nzz
+nnoremap n nzz
+
vmap <F12> <Esc>
imap <F12> <Esc>
nmap <F12> <Esc>
@@ -61,6 +70,5 @@
let g:camelcasemotion_key = '<leader>m'
-nnoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>:redraw!<CR>"
nnoremap <nowait><expr> <C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
nnoremap <silent> <C-d> <C-d>:redraw!<CR>