Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-07-05 20:18:07

neverdimed
Member
Registered: 2022-07-04
Posts: 26

[SOLVED] xfce terminal, moving between tabs

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

#2 2022-07-05 23:54:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] xfce terminal, moving between tabs

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

#3 2022-07-06 00:42:31

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: [SOLVED] xfce terminal, moving between tabs

as a non-user of vim i don't know what that tabbing is like.  can you describe it?

Offline

#4 2022-07-06 14:05:52

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce terminal, moving between tabs

excellent Toz, it works, thanks

Offline

#5 2022-07-06 14:08:24

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce terminal, moving between tabs

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 529.1 KiB (Peak: 530.38 KiB) ]