Hi ! This is my first message on this list. I've been using vim for several years now but I'm far from mastering it (unfortunately). I often do translations from English into French (for Debian docs) and I use vim for that. I noticed that I often have to write quotation marks and until now I've been doing it manually, which is not very convenient. After reading some docs on vim, I figured I could use it's power to make my life easier. So here is what I'd like to do.
In French, we do not write "word" or 'word', we write « word », with a non-breakable space after « and before ». Until now, I do: <c-k><<<c-k>NSword<c-k>NS<c-k>>> which is really not convenient. I'd like a function, say Guillemets(), which does that automatiquelly. I would then map it to a function key FN (or whatever else) and just call it in normal mode. Problem, I really don't have the necessary skills to do that. Anybody could help? Many thanks in advance, steve -- 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
