0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

TerminalのControl-Tabの扱い

Posted at

TerminalのControl-Tabの扱い

ふと気がついたことだが、gnome-terminalやxtermなどのTerminalは、Control-Tabをforwardしないようだ。 単なるTabにしてしまっている。 そのため、Terminal版EmacsやByobuなどではControl-Tabのキーバインドを使えない。 ByobuにControl-Tabのキーバインドを設定しても動かなかったのはこのためだった。 残念だ。

参考URL:
https://askubuntu.com/questions/133384/keyboard-shortcut-gnome-terminal-ctrl-tab-and-ctrl-shift-tab-in-12-04

forwardしないものの、gnome-terminal自身はControl-Tabを認識はしており、gnome-terminalの機能を呼び出すためのキーバインドとしてControl-Tabを設定することはできる。 例えば、gnome-terminalのタブを切り替えるキーバインドをControl-Tabに設定することができる。 設定するコマンド例は下記。

gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ next-tab '<Primary>Tab'
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?