:set backupcopy=yes
:map RR :w<NL>:!ci -l %<NL>
:map RD :w<NL>:!Rcsdiff %<NL>
:map <C-P> :!Lpr3 -m -F bold -f -W100 %<NL>
:set tags=$LD/ptags2
:syntax enable<NL>
The strange thing is, if I let the file read implicitly because it is in
~/.vimrc, it all seems to work.
But, if I invoke vim -u .vimrc
It does not work. Instead, <ctrl/P> causes
:!Lpr3 -m -F bold -f -W100 %<NL>
to appear at the bottom of my screen. To get what I really want I'd have to
replace the <NL> with <C-V><Enter>
(by <Enter> I mean the Enter key).
It all worked on an older system running vim 6.1.320. My current system is
7.3.315
If it seems like there's an obvious workaround, I am only using this example
for simplicity.
Thanks, Hal
--
View this message in context: http://vim.1045645.n5.nabble.com/u-vimrc-acts-differently-from-implicit-read-of-vimrc-tp5124366p5124366.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
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