[2] http://vim.wikia.com/wiki/Template:Review
[3] http://vim.wikia.com/wiki/Template:Tip
--
Luc Hermitte
http://hermitte.free.fr/vim/
://hermitte.free.fr/vim/ressources/lh-map-tools.tar.gz
(Note: it also comes with a bracketing-system, and all the documentation
you'll need - :h MapNoContext(), :h BuildMapSeq(). For more advanced
mappings have a look at my CC++ ftplugins suite.)
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
may
have missed a few details.
HTH,
[1] it contains many mappings to insert control-statements (if, for,
...) in every mode.
[2] http://hermitte.free.fr/vim/ressources - *.tar.gz
--
Luc Hermitte
http://hermitte.free.fr/vim/
system) -- see my signature.
The marker/placeholder can be easily enable or disabled, cutomized for
every language, ...
--
Luc Hermitte
http://hermitte.free.fr/vim/ressources/
with graphics support.
Unless you want to also support vim running in console, and with X-term
support [1], this should do it. Otherwise, what about testing the
options vim was launched with (thanks to a system('ps
-relevant-options')) ?
HTH,
[1] I don't know whether it is relevant or not.
--
Luc
/
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
, and buffer local mappings
-
{rtp}/ftplugin/vim/at_a.vim
inoremap buffer @a A
{rtp}/ftplugin/c/at_a.vim
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
, not a normal mode sequence. Try
``:normal! 1G'' instead of ``1G''
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
.
Having such function as builtin would be nice. I can easily cope without
it. But still, it would be nice.
--
Luc Hermitte
http://hermitte.free.fr/vim/
command name ?
I'm afraid only uppercase letters can be used
Actually, uppercase letters, lowercase letters and digits can be
used, but the name must start with an uppercase letter.
Of course. I meant can be used as word separator
- :MyCommand and not :MYCOMMAND
--
Luc Hermitte
http
?
HTH,
--
Luc Hermitte
http://hermitte.free.fr/cygwin
http://hermitte.free.fr/vim/
a couple or week, may be less.
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
in Srinath al. IMAP.vim plugin: the
cursor is moved to the first placeholder.
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
Hello,
* On Fri, Sep 22, 2006 at 07:52:28AM +0200, Kim Schulz [EMAIL PROTECTED]
wrote:
On Thu, 21 Sep 2006 23:36:19 +0200
Luc Hermitte [EMAIL PROTECTED] wrote:
any ideas?
Why don't you use already existing solutions ?
what would I learn from that ? :-)
A lot or nothing
to propose customizations like inserting newlines before
and/or after curly- and round-brackets -- because the coding rules in
different projects require different presentations.
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
work, or even complete and (simplified) rewrites).
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
can only set options.
That's easily extensible. See
http://vim.sourceforge.net/scripts/script.php?script_id=83
--
Luc Hermitte
http://hermitte.free.fr/vim/
, to inject them
with the new cluster.
I've never checked if it worked correctly with Python, but I see no
reason why it shouldn't.
Of course the best solution is to have all syntax-plugin maintainers to
update their scripts.
--
Luc Hermitte
http://hermitte.free.fr/vim/
and stops after finding one.
Check for instance
http://hermitte.free.fr/vim/ressources/vimfiles/plugin/local_vimrc.vim.
Several unusual cases are taken into account.
BTW, I do not need to backslash spaces with win32-vim on XP.
(:h escape() to backslash characters)
--
Luc Hermitte
http
/lh-BTW.tar.gz
PS: I don't know if this email will reach the mailing or not as SORBS
filtering seems to have been reactivated.
--
Luc Hermitte
http://hermitte.free.fr/vim/
), a dialog box asks
for the file to open. If the file is already opened in a window, the
window gains the focus.
Command completion is supported for the filenames.
HTH,
[1] searchInRuntime.vim. It should be the plugin #229 on SF.
--
Luc Hermitte
http://hermitte.free.fr/vim/
functions than
searchInRuntime.vim, try *bbb for your filename.
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
programs (lh-vim-spell, triggers)
- a compiler plugin-filter for cygwin that translates :make outputs
from posix pathnames to windows pathnames. (- experimental plugin
BuildToolWrapper (lh-BTW.tar.gz in vim/ressources/)
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
followed
by a number of non-closing-bracket characters.
Shouldn't the closing parenthesis be included also in the regex?
'[[(][^])]\+'
Of course. You're right.
--
Luc Hermitte
http://hermitte.free.fr/vim/
`if (!cursorhere!) {\n!mark!\n}!mark!', otherwise just
`if (!cursorhere!);!mark!'.
checking for the previous non comment code can be a little tricky.
I forgot there is quite a lot of documentation. I need to look at it
more.
Feel free to ask for any precision.
--
Luc Hermitte
http
windows the file chosen.
Now, I set my 'path' on a projects basis. And quite exclusively use
SearchInRuntime and a.vim to search and open my projects files.
--
Luc Hermitte
http://hermitte.free.fr/vim/
the lexical order;
i.e.: vim70 vim63b vim63 vim62)
add your tasks here
fun! BackgroundJobHasStarted()
Script local functions is often a better default choice.
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/
comment/string literal
contexts.
I know there are a lot of similar [2] solutions out there.
HTH,
[1] http://hermitte.free.fr/vim/ressources/lh-cpp.tar.gz (I have to
upload the UTF-8 friendly version of the plugin)
[2] If you except the context-awareness
--
Luc Hermitte
http://hermitte.free.fr/vim/
l = line('.')
put=str
exe l
normal !jp!
return \esc\right
endfunction
inoremap !exp! c-r=I_expand_n_jump()cr
--- %
--
Luc Hermitte
http://hermitte.free.fr/vim/
=\SNR85_Foo()\crbar,
\ 'latin1', encoding)
endf
inoremap bfb c-r=sidBar()cr
--
Luc Hermitte
http://hermitte.free.fr/vim/
') . ''
if has('iconv')
uncomment the following line to activate the workaround on linux
let m = iconv(m, 'latin1', encoding)
endif
endif
return 'bar'.m.'bar'
endfunction
inoremap bfb c-r=sidbar()cr
--- %
--
Luc Hermitte
http://hermitte.free.fr/vim/
31 matches
Mail list logo