Kitty: Jumping words in macOS

Created on 28 Aug 2018  路  2Comments  路  Source: kovidgoyal/kitty

How do you jump the cursor per word in macOS?

Option+arrows just type alphabetic characters into the terminal, although in every other macOS app they jump words.

Most helpful comment

For those searching, I was able to get this working via:
https://github.com/matthewgrossman/dotfiles/blob/7966e32aebbf50102eb7e848c066e5065a87f68b/config/kitty/kitty.conf#L653-L655

map alt+left send_text all \x1b\x62
map alt+right send_text all \x1b\x66

All 2 comments

Use whatever bindings your shell has for it, IIRC ctrl+w in bash. Which will work in all operating systems. And if you really want to use macOS shortcuts add hte appropriate mapping in your kitty.conf to map alt+arrow to ctrl+w or in your shells rc files to map alt+arrow to next-word.

For those searching, I was able to get this working via:
https://github.com/matthewgrossman/dotfiles/blob/7966e32aebbf50102eb7e848c066e5065a87f68b/config/kitty/kitty.conf#L653-L655

map alt+left send_text all \x1b\x62
map alt+right send_text all \x1b\x66
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jomik picture Jomik  路  4Comments

Askannz picture Askannz  路  3Comments

mihaicristiantanase picture mihaicristiantanase  路  3Comments

crocket picture crocket  路  4Comments

Nudin picture Nudin  路  3Comments