Re: VimWiki - released finally

2007-06-05 Thread Luc Hermitte
[2] http://vim.wikia.com/wiki/Template:Review [3] http://vim.wikia.com/wiki/Template:Tip -- Luc Hermitte http://hermitte.free.fr/vim/

Re: disabling abbreviations inside comments

2007-04-12 Thread Luc Hermitte
://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/

Re: bracket completion

2007-04-02 Thread Luc Hermitte
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/

Re: bracket completion

2007-04-02 Thread Luc Hermitte
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/

Re: How can a script know if we're running without X ?

2007-03-13 Thread Luc Hermitte
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

Re: inoremap tips/examples (Was Re:add c/c++ snippets)

2007-03-10 Thread Luc Hermitte
/ HTH, -- Luc Hermitte http://hermitte.free.fr/vim/

Re: How to make inoremap 's filetype depend

2007-03-10 Thread Luc Hermitte
, 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/

Re: Automatically positioning cursor when opening a file

2007-03-10 Thread Luc Hermitte
, not a normal mode sequence. Try ``:normal! 1G'' instead of ``1G'' HTH, -- Luc Hermitte http://hermitte.free.fr/vim/

Re: Two minor requests for the TODO list

2006-12-06 Thread Luc Hermitte
. 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/

Re: separator in user-defined command name

2006-12-05 Thread Luc Hermitte
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

Re: chasing symlink

2006-10-20 Thread Luc Hermitte
? HTH, -- Luc Hermitte http://hermitte.free.fr/cygwin http://hermitte.free.fr/vim/

Re: Turning abbreviations on and off

2006-09-27 Thread Luc Hermitte
a couple or week, may be less. HTH, -- Luc Hermitte http://hermitte.free.fr/vim/

Re: abbreviations + indent + movement commands

2006-09-27 Thread Luc Hermitte
in Srinath al. IMAP.vim plugin: the cursor is moved to the first placeholder. HTH, -- Luc Hermitte http://hermitte.free.fr/vim/

Re: placeholders

2006-09-23 Thread Luc Hermitte
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

Re: abbreviations + indent + movement commands

2006-09-23 Thread Luc Hermitte
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/

Re: placeholders

2006-09-21 Thread Luc Hermitte
work, or even complete and (simplified) rewrites). HTH, -- Luc Hermitte http://hermitte.free.fr/vim/

Re: Specifying vim options in the files being edited

2006-09-08 Thread Luc Hermitte
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/

Re: Spell checking comments and strings

2006-09-08 Thread Luc Hermitte
, 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/

Re: Execute something when I enter in a directory

2006-09-05 Thread Luc Hermitte
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

Re: silent make

2006-09-04 Thread Luc Hermitte
/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/

Re: fast file locating plugin (like ido.el in emacs)

2006-08-08 Thread Luc Hermitte
), 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/

Re: fast file locating plugin (like ido.el in emacs)

2006-08-08 Thread Luc Hermitte
functions than searchInRuntime.vim, try *bbb for your filename. HTH, -- Luc Hermitte http://hermitte.free.fr/vim/

Re: Running win32 vim and gvim under Cygwin and pure Windows XP

2006-07-26 Thread Luc Hermitte
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/

Re: insert space after comma based on context

2006-06-30 Thread Luc Hermitte
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/

Re: How to recognize different matching classes

2006-06-24 Thread Luc Hermitte
`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

Re: File browsing in Vim

2006-06-21 Thread Luc Hermitte
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/

Re: run commands in background enhanced script

2006-06-21 Thread Luc Hermitte
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/

Re: colseb_a.vim script, closign tags for vim /java.?

2006-06-11 Thread Luc Hermitte
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/

Regression in gvim 7.0.00x

2006-05-24 Thread Luc Hermitte
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/

Re: SNR, maparg(), and UTF-8

2006-05-22 Thread Luc Hermitte
=\SNR85_Foo()\crbar, \ 'latin1', encoding) endf inoremap bfb c-r=sidBar()cr -- Luc Hermitte http://hermitte.free.fr/vim/

SNR, maparg(), and UTF-8

2006-05-16 Thread Luc Hermitte
') . '' 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/