You are not logged in.
Pages: 1
Is it possible to disable options in vim, for example "set number" from vims command line instead of from /etc/vimrc or ~/.vimrc.
Last edited by unilx (2011-07-03 00:02:21)
Offline
:set nonumber
That pattern works for all options...
Offline
I'm not sure if it will help you, but
set number
nnoremap <F2> :set nonumber!<CR>
sets the line numbers on by default and you can toggle it on/off by pressing F2.
Offline
Thanks that did the trick
Offline
Pages: 1