суббота, 8 февраля 2014 г.

Fixing Ctrl-Home, Ctrl-End, Shift-Home, and Shift-End shortcuts in Gnome Terminal in Ubuntu 13.04

Some time ago I decided that I needed a decent console text editor. This led me to create vim-for-human-beings. Of course, there were issues. One of those issues was caused by the fact that Gnome Terminal is based on VTE which has its own actions bound to Ctrl + Home, Ctrl + EndShift + Home, and Shift + End. Since I use these combinations to navigate to the beginning and to the end of the document and to select text to the beginning and to the end of the line, this VTE's behaviour was quite annoying. Being unable to work around the problem, I decided to patch VTE.