GNOME Bugzilla – Bug 738401
vim: Add support for half page up/down (ctrl+u/d)
Last modified: 2014-10-12 17:29:46 UTC
I also cleaned up the code so the implementation would be simpler. I wasn't sure what to do with the old ctrl+u code, but as that behavior doesn't match vim I just deleted it. Can someone please review (& merge?) these?
Created attachment 288334 [details] [review] vim: Consolidate gb_editor_vim_page_up and down functions They use mostly shared code, so there's no reason for the repetition.
Created attachment 288335 [details] [review] vim: Remove unneeded MAX macro in move_page up It's never going to be less than 0.
Created attachment 288336 [details] [review] vim: Add support for half page up/down (ctrl+u/d)
Attachment 288334 [details] pushed as bd6671d - vim: Consolidate gb_editor_vim_page_up and down functions Attachment 288335 [details] pushed as 7c0fc4c - vim: Remove unneeded MAX macro in move_page up Attachment 288336 [details] pushed as 718d090 - vim: Add support for half page up/down (ctrl+u/d)
Nice work! Pushed to master!