WIP stuff

This commit is contained in:
Jonas Ryssel 2024-08-20 09:45:46 +02:00
parent 360fda5bba
commit d3d0036521

View File

@ -709,8 +709,21 @@ endif
"xnoremap p "_dP "xnoremap p "_dP
"xnoremap P dp "xnoremap P dp
nnoremap <C-e> "_dd nnoremap <C-e> "_dd
" more intuitive movement keybinds
nnoremap <C-j> <C-e> nnoremap <C-j> <C-e>
nnoremap <C-k> <C-y> nnoremap <C-k> <C-y>
function! CenterCursorXPercentFromTop(percent)
CenterCursorXLinesFromTop(round(winheight(0)*(percent/100.0)))
endfunction
function! CenterCursorXLinesFromTop(lines)
" normal! zt <C-e>
" TODO
endfunction
" nnoremap zx
" TODO
" }}} " }}}
" haskell-vim {{{ " haskell-vim {{{