I am on Ubuntu 18.04/20.04.
While editing text in a terminal or in any text editing environments, I can navigate back and forth between neighboring words or delimiters of a string with Ctrl + → (or ←). These delimiters seem to be special characters but alphabets and numbers, and include ;
, .
, -
, /
, \
,
(the space), etc.
In Ubuntu, is there any way to change the default behavior of these keybindings? Specifically, I want Ctrl + → to regard every special character except
as a part of a word, so I can move between words without stopping before/after .
, -
, /
which are quite common in file names. vi editor allows to customize it (Customising word separators in vi), and I am curious if there is an equivalent that works for bash and GNOME.
0 Answers