In .vimrc, how can I detect whether vim was invoked as 'view'? Looking for &readonly also matched when doing :help from within 'vim', which I don't want, eg:
if &readonly
" Things that should only happen when called as 'view'
endif
--
.
--
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
No comments:
Post a Comment