2

I'd like to be able mimic vim's hjkl navigation everywhere in the system by utilizing num lock (or scroll lock), and making hjkl keys act as arrows whenever num lock is on, and regular behavior otherwise. Additionaly I'd like to be able to make caps lock act as num lock for this purpose. How to achieve it via xmodmap or whatever is suitable (best when it's not desktop environment specific)?

  • Do you want to use these inside vim alone or outside it also? – SibiCoder Jun 7 '16 at 7:19
  • @SibiCoder I want them specifically outside vim - as a system-wide behavior. – Tomasz Wróbel Jun 9 '16 at 14:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.