Am 12.01.2012 14:42, schrieb George Papanikolaou:
Hi,
Is there any way to get those neat sublime-text 2 indentation marks in vim?
example: http://www.sublimetext.com/screenshots/auto_complete_large.png

George Papanikolaou
[email protected]

If that's for indentation and not for tabs: No you can't.

Otherwise (one tab per indent level):
   :h 'lcs
   :h 'list

   :set lcs=tab:\|\  list
   :set ts=4 sw=4 et& sts& sta&

Or: (may look offensive)
   :h 'cc
   :set colorcolumn=5,9,13
   :hi ColorColumn
   ...

Or (works best with 'et' set):
   Indent Guides
   http://vim.sf.net/scripts/script.php?script_id=3361
   A plugin for visually displaying indent levels in Vim.

etc.

--
Andy

Sometimes I think Vim is a huge collection of workarounds.

--
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

Reply via email to