WIP stuff
This commit is contained in:
parent
360fda5bba
commit
d3d0036521
13
init.vim
13
init.vim
@ -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 {{{
|
||||||
|
Loading…
Reference in New Issue
Block a user