I use ssh -X user@IP
to connect to an Ubuntu Server which has had gnome-terminal
installed on it.
When inside gnome-terminal
, occasionally I accidentally hit a key combination and the terminal behaves differently. I think I have entered "vi mode". As an example, after I have hit this mysterious combination, I can press - and the font size of the terminal gets smaller.
I have to press ESC to get back into the normal mode.
Can anyone tell me what key combination I may have hit, and provide links or useful hints for the things I might be able to do with "vi mode"?
I have tried searching Google but haven't found anything particularly good - most pages refer to "vi mode" inside vi.
For information, I am using a French AZERTY keyboard, and the key combination I think I hit is AltGr+- (on AZERTY keyboards the number keys provide punctuation unless Shift is pressed - the key I am pressing has the 6 on it), so that I can get the |
character.
Crtl
and-
to make fonts smaller, andCtrl-Shift
and+
to make them larger. I wonder if you've gotten the keymap so that it is emulating Ctrl with a different key combo?loadkeys defkeymap
worked on some older systems, but I can't get it to find a default keymap on my system. – belacqua Mar 09 '11 at 17:27