:terminal

32 views
Skip to first unread message

Walter Cazzola

unread,
Apr 4, 2020, 8:40:27 PM4/4/20
to VIM Users ML
Dear Vimmers,
just recently I'm passed to use vim 8 (8.2 to be precise) from vim 7.4.

I really like the idea of having a terminal attached to my editor (:terminal)
unfortunately in my case it doesn't work properly.

In particular I think this is a configuration problem. I've a US keyboard
configured as international withe dead keys. This means that ' " ` ~ and some
other keys need a second keystroke (a space) to print their value otherwise it is
composed to the next keystroke.

It works like a charm in bash but not in the vim terminal. When I press one of
these keys followed by a space instead of the correct character I get a ;2u.
This makes quite unusable the terminal and quite frustrating to use the mouse
to go to a real terminal.

The problem seems to be limited to gvim, on vim it works as expected.

I googled around without lucky. Do you have any idea what I'm doing wrong? Or
how to solve the issue?

I'm on Fedora 31 up-to-date

Thank you

Walter

--

BPJ

unread,
Apr 5, 2020, 3:51:10 AM4/5/20
to vim_use
Try hitting the dead key twice instead of the space key.


Walter Cazzola

unread,
Apr 5, 2020, 7:06:40 AM4/5/20
to vim_use
unfortunately nothing changed.

Any other hint?

Walter
--

Dominique Pellé

unread,
Apr 5, 2020, 8:40:01 AM4/5/20
to Vim List
I don't know why dead keys don't work in gvim.
But consider using the compose keys instead of
a dead key. Personally, I find the dead-key painful
to use for common characters. I prefer the compose
key which also allows to type many other characters.

I use xfce4 and in keyboard setting, I use:
* keyboard layout: English (US, Euro on 5)
* compose key: Left win
The same settings must exist in other windowing
environments than xfce4.

And to type a character like é for example I do..
Left-Window key + e + ' (that's 3 key strokes
without pressing them at the same time).
To type ê, I do: Left-Window key + e + ^ (etc.)

That works fine everywhere, including in
gvim or vim in terminal.

Regards
Dominique

Walter Cazzola

unread,
Apr 5, 2020, 10:41:14 AM4/5/20
to Vim List
On Sun, 5 Apr 2020, Dominique Pellé wrote:

> I don't know why dead keys don't work in gvim.
> But consider using the compose keys instead of
> a dead key. Personally, I find the dead-key painful
> to use for common characters. I prefer the compose
> key which also allows to type many other characters.
>
> I use xfce4 and in keyboard setting, I use:
> * keyboard layout: English (US, Euro on 5)
> * compose key: Left win
> The same settings must exist in other windowing
> environments than xfce4.
>
> And to type a character like é for example I do..
> Left-Window key + e + ' (that's 3 key strokes
> without pressing them at the same time).
> To type ê, I do: Left-Window key + e + ^ (etc.)
>
> That works fine everywhere, including in
> gvim or vim in terminal

It seems that KDE is using the win button to show its menu. Anyway after more
than ten years that I'm using the dead keys is quite hard to get used to any
other composing approach.

Thank you for suggesting

Any other idea?

Walter

--
Reply all
Reply to author
Forward
0 new messages