I'm on Ubuntu 12.04.
On windows I used to bind CTRL + Left to Home and Ctrl + Right to End via ahk. Now I'm struggling to achieve this behavior in Ubuntu. I've tried editing
"\e[1;5C": end-of-line "\e[1;5D": beginning-of-line
It works but only in terminal window. I've also tried xmodmap:
xmodmap -e "keycode 113=Left NoSymbol Home"
but it does not work.
The strange thing here is that if I bind to Shift + Left in xmodmap it works:
xmodmap -e "keycode 113=Left Home"
My guess here is that the default behavior of Ctrl + Left(skip words) somehow gets priority over xmodmap bindings but I can't find where the default binding are located and how to remove it or maybe I could just bind needed behavior there ?