You can still make use of the termcap values by calling system('tput kPRV')
rather than hard coding the escapes. This would be a little better if vim
exposed tgetstr and friends to avoid the overhead of invoking tput.
--
--
You received this message from the vim_dev maillist.
Do not
Le mercredi 19 mars 2014 13:30:13 UTC+1, cptstubing a écrit :
You can still make use of the termcap values by calling system('tput kPRV')
rather than hard coding the escapes. This would be a little better if vim
exposed tgetstr and friends to avoid the overhead of invoking tput.
Oh, yes,
On 2014-03-19, celelibi wrote:
Le mercredi 19 mars 2014 13:30:13 UTC+1, cptstubing a écrit :
You can still make use of the termcap values by calling
system('tput kPRV') rather than hard coding the escapes. This
would be a little better if vim exposed tgetstr and friends to
avoid the
Celelibi wrote:
Since the terminal emulaters do more than what termcap/terminfo support,
Vim has some extensions. See :help xterm-modifier-keys.
Yes but vim doesn't even fully support what IS in the terminfo.
I added kPRV=^[[5;2~ in the terminfo file for screen. And vim just
ignore it.
Celelibi wrote:
What makes you think that %e and %c are the shifted next/previous page
keys? The termcap manpage says:
kN Key for next page
kP Key for previous page
%c shifted next key
%e shifted previous key
next key and next page are
Le dimanche 16 mars 2014 15:09:38 UTC+1, Bram Moolenaar a écrit :
Celelibi wrote:
What makes you think that %e and %c are the shifted next/previous page
keys? The termcap manpage says:
kN Key for next page
kP Key for previous page
On 14 March 2014, celel...@gmail.com wrote:
Le vendredi 14 mars 2014 21:13:09 UTC+1, LCD 47 a écrit :
[...]
Your shell is probably linked against readline. Readline
interfering with curses is not unheard of. :)
Ok. I just re-did my tests by running:
xterm -e vim
xterm -e screen vim
Celelibi wrote:
I reported a bug in the debian BTS, but found that it also apply to
upstream vim.
Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400
In summary, it looks like vim do not support termcaps %e nor %c
(corresponding to terminfos kPRV and kNXT). They're
Le samedi 15 mars 2014 08:15:34 UTC+1, LCD 47 a écrit :
On 14 March 2014, celel...@gmail.com wrote:
Le vendredi 14 mars 2014 21:13:09 UTC+1, LCD 47 a écrit :
[...]
Your shell is probably linked against readline. Readline
interfering with curses is not unheard of. :)
Le samedi 15 mars 2014 13:55:22 UTC+1, Bram Moolenaar a écrit :
Celelibi wrote:
I reported a bug in the debian BTS, but found that it also apply to
upstream vim.
Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400
In summary, it looks like vim do not
On 13 March 2014, celel...@gmail.com wrote:
Hello,
I reported a bug in the debian BTS, but found that it also apply to
upstream vim.
Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400
In summary, it looks like vim do not support termcaps %e nor %c
(corresponding to
2014-03-14 17:58 UTC+01:00, LCD 47 lcd...@gmail.com:
On 14 March 2014, celel...@gmail.com wrote:
Le vendredi 14 mars 2014 07:49:31 UTC+1, LCD 47 a écrit :
[...]
Do you still have any questions after reading the first two
sections in term.txt:
:help startup-terminal
:help
Le vendredi 14 mars 2014 21:13:09 UTC+1, LCD 47 a écrit :
On 14 March 2014, Celelibi celel...@gmail.com wrote:
2014-03-14 17:58 UTC+01:00, LCD 47 lcd...@gmail.com:
On 14 March 2014, celel...@gmail.com wrote:
Le vendredi 14 mars 2014 07:49:31 UTC+1, LCD 47 a écrit :
[...]
Hello,
I reported a bug in the debian BTS, but found that it also apply to upstream
vim.
Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400
In summary, it looks like vim do not support termcaps %e nor %c (corresponding
to terminfos kPRV and kNXT). They're supposed to produce
14 matches
Mail list logo