On Aug 19, 2:27 pm, Ben Fritz <[email protected]> wrote: > On Aug 19, 12:22 pm, Paul <[email protected]> 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. > > You'll need to tweak your command setup in your .vimrc. > See :help :command-bar.
I took a read, but it wasn't clear what parts pertain to my problem. I suspect that the text coming after my two letter command is being interpretted as arguments. So as a crude fix, I simply avoided nesting commands. Where a new command's definition includes the use of a previously defined command, I simply expanded out the previously defined command. -- 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
