On Wed, Dec 31, 2014 at 01:55:06AM +0400, Alexey Radkov wrote:
# Here is a good solution that works for me:
#
# http://www.nerdyweekly.com/posts/enable-italic-text-vim-tmux-gnome-terminal/
#
# (see section 'vim')
Sorry, no. No workarounds. No different terminal. No tmux. No top posting.
Xterm can do italics. The control sequences are known.
What is stopping vim from using them? That article says
"You may have noticed: [3m and [23m are the special sequences to
start and stop printing italic text. Unfortunately, vim doesn’t care
about those. It expects sitm and ritm instead."
If vim's expectations are in fact like that, and those expectations lead
to the feature being unusable on some of the most popular terminal
emulators out there, then that's reason enough to call it a bug and fix
it. Using italics with cterm is a question that pops up often enough,
e.g.
http://stackoverflow.com/questions/1326998/enabling-italics-in-vim-syntax-highlighting-for-mac-terminal
http://stackoverflow.com/questions/3494435/vimrc-make-comments-italic
and the answers are disappointing. They are workarounds like
yours or simply don't work.
Maybe it's a termcap thing. I don't know. But I want to know the root
cause why vim makes it impossible to use italics with cterm.
Of course I also would like to see progress towards eliminating
this limitation. :-)
Regards,
Jens
--
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.