You are not logged in.
Hi!
I want to use Vim in Arch Linux, but its Alt+key mappings don't work with the stock terminal. By "stock" I mean the one that opens if I click on the "Console" application in GNOME.
The problem with mappings is described in the Vim docs, but I don't know the name of the terminal and thus can't google the ways to configure it. "echo $TERM" reports "xterm-256color", but as far as I can tell it's not xterm.
So can anybody tell me how I figure out what terminal I'm using? Thanks!
Last edited by Birds (2024-07-25 16:21:58)
Offline
Either gnome-terminal or gnome-console. Just look at the output of ps or top to see which is running.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
hey,
terminal's name is available in $TERM, and it may be useful in vim's config, as partial name, and maybe as a regex...
Last edited by sukolyn (2024-10-30 23:59:57)
Offline
terminal's name is available in $TERM ?
Yes, as I said, $TERM is "xterm-256color", but the stock Arch Linux GNOME terminal is definitely not xterm.
and it may be useful in vim's config ?
I don't know yet, but I think for Alt+key mappings to work in Vim in the stock terminal something should be changed on the OS level, not in Vim.
Offline
Either gnome-terminal or gnome-console. Just look at the output of ps or top to see which is running.
Thank you, I did "ps", then "top", and neither "gnome-terminal" nor "gnome-console" were in the lists. "top", however, showed (among other processes) "kgx" - perhaps, that's the terminal.
Offline
kgx is gnome-console.
Offline
There's no "stock Arch Linux terminal", gnome-console is a wrapper around VTE4, which is maybe easier to google than "console"…
Offline