-1

I've found this other post here which suggests to do this to bind Alt + hjkl to arrow keys

xmodmap -e "keycode 64 = Mode_switch" # set Alt_l as the "Mode_switch"
xmodmap -e "keycode 43 = h H Left H" # h
xmodmap -e "keycode 44 = j J Down J" # j
xmodmap -e "keycode 45 = k K Up K" # k
xmodmap -e "keycode 46 = l L Right L" # l

however this messes up the functionality of Alt + tab which I would like to keep.

Additionally I'd like to bind alt + n and Alt + m to go to the beginning and end of the line I'm on. How would these things be possible to achieve? Thanks!

1 Answers1

0

Anyone who wants to do this should use input remapper.
KEY_END and KEY_HOME will get you to the end and beginning of the line. I used AT Translated Set 2 keyboard when you get to options.

zx485
  • 2,865