Friday, February 18, 2011

Re: Vim Scripting Mode/Plugin

Excerpts from Nathan Neff's message of Fri Feb 18 21:26:54 +0100 2011:
> I know there's some C, Java, Perl and Bash vim plugins.
>
> Are there any plugins that help with writing Vim scripts?
- vim-dev (see readme)
completion and goto auto load function
- reload (reloads files on buf write)

> I guess in particular, I'm looking for a simple plugin that would
> provide shortcuts for running Vim scripts, and maybe using the quickfix
> window to jump to syntax errors, etc.

There is no plugin for "syntax errors" :(
vim-dev provides VimLGotoLastError
which tries to find a location based on last error in :messages
but traces in vim are vague..

run files?
:source %

> Currently, I just have a mapping that sources the current .vim file
> :map <F5>:source %<CR>
You can't do better.
eval behaves differently than source so I don't recommend it.

Marc Weber

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