You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change key bindings to fix Control+Shift problem in Terminator #11
I am using the Terminator terminal and everything I've tried works well except for the commands to select next / previous word (control+shift+right and control+shift+left). The shift+direction commands are working fine, and I can select lines by using shift+up. Furthermore, the control+s and control+q bindings work fine. However, the control+shift combinations I tried didn't work.
I tried cloning the git repo, editing the bindings/default file to replace control with alt in the bindings to select next / previous word. I then recompiled the program with autoconf configure.ac, sudo sh ./configure, sudo make, and sudo make install.
Still, when I use dit in Terminator I can't select next/previous word. This issue isn't present when using Gnome terminal.
@MaxPleaner Are ctrl-shift arrows used by Terminator (switching tabs, I assume)? Can you reconfigure it to not use these keys?
The code I uploaded to Git this week supports alt-arrows (tested on Linux only), though in a clumsy way: you have to specify them as ALT_A, ALT_B, ALT_C, ALT_D in your bindings/default file (I know, I'll fix that).
I tried cloning the git repo, editing the bindings/default file to replace control with alt in the bindings to select next / previous word. I then recompiled the program with autoconf configure.ac, sudo sh ./configure, sudo make, and sudo make install
imho recompiling isn't necessary when chaning the bindings/default file. After installing they are located in /usr/share/dit/bindings/default (on my arch linux system) and open dynamically here
Activity
hishamhm commentedon Feb 19, 2016
@MaxPleaner Are ctrl-shift arrows used by Terminator (switching tabs, I assume)? Can you reconfigure it to not use these keys?
The code I uploaded to Git this week supports alt-arrows (tested on Linux only), though in a clumsy way: you have to specify them as ALT_A, ALT_B, ALT_C, ALT_D in your bindings/default file (I know, I'll fix that).
markuman commentedon Apr 5, 2016
imho recompiling isn't necessary when chaning the
bindings/defaultfile. After installing they are located in/usr/share/dit/bindings/default(on my arch linux system) and open dynamically heredit/dit.c
Line 959 in 94b4867
For example, changing to
CTRL_Kfor deleting a line works fine (instead of F8).hishamhm commentedon Oct 25, 2016
That's correct :)