Re: [VIM] Re: [VIM] Re: :terminal

2020-04-05 Thread Walter Cazzola

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

--

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/alpine.LFD.2.21.2004051636540.4244%40hymir.


Re: [VIM] Re: :terminal

2020-04-05 Thread Dominique Pellé
Walter Cazzola  wrote:

> On Sun, 5 Apr 2020, BPJ wrote:
>
> > Den sön 5 apr. 2020 02:41Walter Cazzola  skrev:
> >
> >> 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
>
> > Try hitting the dead key twice instead of the space key.
>
> unfortunately nothing changed.
>
> Any other hint?
>
> Walter

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

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAON-T_iJpKefY5rWO9hUrnc3rhAwVNn1DsqhffGe7ivKTEzbww%40mail.gmail.com.


Re: [VIM] Re: :terminal

2020-04-05 Thread Walter Cazzola

On Sun, 5 Apr 2020, BPJ wrote:


Den sön 5 apr. 2020 02:41Walter Cazzola  skrev:


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



Try hitting the dead key twice instead of the space key.


unfortunately nothing changed.

Any other hint?

Walter
--

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/alpine.LFD.2.21.2004051305500.4244%40hymir.