On 03/12/12 01:30, Hanfei Shen wrote:
I want to set normalnumber in normal mode and insert mode,
relativenumber in visual mode. Is there a way to do that?

Untested, my guess would be something like

  :autocmd InsertEnter * :set nonumber relativenumber
  :autocmd InsertLeave * :set norelativenumber number

-tim




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