On Aug 19, 1:22 pm, Paul <paul.domas...@gmail.com> wrote:
> I've got the following command in my .vimrc:
>
> command FN set nofoldenable | setl foldcolumn=0
>
> The following command issued in normal mode is fine:
>
> :source c:/Program\ Files/Vim/vim73/ftplugin/qf.vim | copen | FN
>
> The following command yields "E488: Trailing characters":
>
> :source c:/Program\ Files/Vim/vim73/ftplugin/qf.vim | copen | FN |
> setl number
>
> Is there a simple tweak I can apply to have "setl number" issued after
> FN?  Eventually, I'm going to stuff the entire (debugged) line into
> yet another two-letter command.

In fact, the final command should look like:

command QF source c:/Program\ Files/Vim/vim73/ftplugin/qf.vim | copen
| FN | setl number | SC

where SC is "syntax enable | colorscheme mine".  I use FN and SC
regularly as separate commands.

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