You are not logged in.
Pages: 1
i want to move between tabs in a vim like way, ie l: move to tab to the right, and h: move to tab to the left
i edited .config/xfce4/terminal/accels.scm by including:
(gtk_accel_path "<Actions>/terminal-window/prev-tab" "<Alt>h")
(gtk_accel_path "<Actions>/terminal-window/next-tab" "<Alt>l")
but only alt l is working, alt h doesnt work. I restarted the terminal and also tried moving the code higher up in the file, but still only alt l works. Is there any reason for the inconsistent recognition of the shortcut keys defined?
edit: i also tried using 'previous-tab' instead of 'prev-tab':
thanks
Last edited by KBar (2022-07-07 02:26:30)
Offline
Hello and welcome.
"Alt h" is a reserved menu shortcut (Help menu if mneumonics/accelerators are enabled). To be able to use it, you must check "Disable all menu access keys" on the Advanced tab of terminal preferences.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
as a non-user of vim i don't know what that tabbing is like. can you describe it?
Offline
excellent Toz, it works, thanks
Offline
Skaperen: i just meant how vim uses h, j, k, and l to navigate left, down, up, and right. I try to set shortcut keys to navigate work spaces with hjkl, and tabs within terminals, and within vim, and anywhere possible
Offline
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 529.1 KiB (Peak: 530.38 KiB) ]