Re: yank inner word

2011-09-11 Thread Tony Mechelynck
On 11/09/11 05:06, Spiros Bousbouras wrote: In file usr_24.txt under the vim documentation directory we read that yiw is for yank-inner-word. Where is this yank inner word functionality documented and how is it different from yw ? I tried every help search I could think might be relevant but

Re: gvim or vim in console...

2011-09-11 Thread Tony Mechelynck
On 11/09/11 06:39, Kevin Tough wrote: I am just starting to learn vim. I use Fedora and would like to know whether most programmers use vim from the console or do they/you use gvim. I have read that using one instance of vim is the best usage. [...] The best usage is what suits _you_ best:

Re: autoindent: getting spaces and no tabs

2011-09-09 Thread Tony Mechelynck
On 09/09/11 20:51, Tim Chase wrote: On 09/09/11 13:45, John Goche wrote: Hello, I like the autoindent feature which works when I code in javascript. However I don't want any tabs in there, I just want spaces. I'd check your 'expandtab' setting: :set et? To get the behavior you want, it

Re: reload syntax file without restarting vim

2011-09-09 Thread Tony Mechelynck
On 09/09/11 22:26, cyboman wrote: sometimes i need to make modifications to the syntax file but in order for changes to take effect i need to restart vim. is it possible for changes to take effect without a restart? does anybody know how to do it? any help is appreciated Depending on exactly

Re: hi guys, could anybody taught how to set vim search symbol base on data type

2011-09-09 Thread Tony Mechelynck
On 10/09/11 02:12, Gary Johnson wrote: On 2011-09-10, Gavin wrote: just as the title for example struct xxx { int a; int b; }; int xxx; struct xxx n; only i need is struct xxx definition, how could do that ? As far as I know, Vim does not have an automatic way to do that, nor is there

Re: yanking motions

2011-09-06 Thread Tony Mechelynck
On 07/09/11 05:10, Kartik Agaram wrote: I could swear that yank operations like y} used to move the cursor to the end of paragraph, etc., but lately they're not doing so. The appropriate text is still copied into the register. The version of vim doesn't seem to have changed. It's really most

Re: json indentation

2011-09-06 Thread Tony Mechelynck
On 07/09/11 04:11, pansz wrote: On Wed, Sep 7, 2011 at 9:48 AM, Peng Yupengyu...@gmail.com wrote: On Tue, Sep 6, 2011 at 7:19 AM, Taylor Hedbergtmhedb...@gmail.com wrote: You may have already tried this, but since JSON is just a subset of JavaScript syntax, have you tried setting 'filetype'

Re: Problem mapping Ctrl+Alt combinations in GVIM on windows

2011-09-03 Thread Tony Mechelynck
Original Message Subject: Re: Problem mapping Ctrl+Alt combinations in GVIM on windows Date: Fri, 2 Sep 2011 15:26:35 -0700 (PDT) From: William E. Skeith III wes_zi...@yahoo.com Reply-To: vim_use@googlegroups.com To: vim_use@googlegroups.com vim_use@googlegroups.com On 02/09/11

Re: Problem mapping Ctrl+Alt combinations in GVIM on windows

2011-09-02 Thread Tony Mechelynck
On 02/09/11 19:59, William E. Skeith III wrote: Hello, I am trying to map some basic Ctrl+Alt key combinations for GVIM on windows, for example :imapC-M-L C-Right but I've become seriously stuck. It seems that windows GVIM does not respond at all toC-M-x, where x is virtually any

Re: Color Definition at VIM Invocation???

2011-09-02 Thread Tony Mechelynck
On 02/09/11 21:19, Ken Schmitt wrote: I am currently using VIM version 5.7 running on a HP-UX hp9000s800 workstation. I am running WRQ Reflection for UNIX and Digital Version 10.0 terminal emulation software in VAX VT220 in color mode on a PC running Windows XP Pro. When I start VIM I want to

Re: Enabling cursorline makes SpecialKey change colour

2011-09-01 Thread Tony Mechelynck
On 01/09/11 11:24, Paul Giannaros wrote: Hi. I use a light background (set background=light). I like tab indicators with lower contrast, so I highlight them with light grey: hi SpecialKey guifg=#dd I recently tried :set cursorline and really liked it. I've set the cursor line colour

Re: Very strange problem about messages in 64bit vim

2011-08-31 Thread Tony Mechelynck
On 31/08/11 07:37, zhufeng wrote: I tried to use TDM-gcc 4.5.2 64bit, but there are so many errors while compiling that I am not able to fix, there seems to be some thing wrong, I don't whether I configured it correctly, but with TDM-gcc 4.5.2 32bit, it just compiled correctly. Well, if it's

Re: Insert-cursor/Overwrite cursor

2011-08-30 Thread Tony Mechelynck
On 30/08/11 05:12, meino.cra...@gmx.de wrote: Hi, sorry, I cannot remember how this feature was called...so it is difficult to search the help for ot ;) I can remember that there was a certain terminal sequence (was it that?) which has to set...where?...to enable the support of different

Re: Very strange problem about messages in 64bit vim

2011-08-30 Thread Tony Mechelynck
On 31/08/11 01:44, zhufeng wrote: hey guys, there is a problem about messages in 64bit vim. I tried to compile a 64bit vim with MS VC2010 64bit compiler, and I modified the file bigvim.bat to do this, the file is about this : :: command to build big Vim with OLE, Perl, Python, Ruby and Tcl

Re: storing variables in viminfo

2011-08-29 Thread Tony Mechelynck
On 29/08/11 08:29, sinbad wrote: hi, how to explicitly store variables in to viminfo file. i want to store a global variable g:var into a viminfo file, i read the help it says global vars are stored by default but this doesn't seem to be happening. how to store it explicitly.i want the contents

Re: storing variables in viminfo

2011-08-29 Thread Tony Mechelynck
On 29/08/11 10:36, sinbad wrote: On Aug 29, 1:29 pm, Christian Brabandtcbli...@256bit.org wrote: On Mon, August 29, 2011 10:06 am, sinbad wrote: my viminfo setting is viminfo='20,50,! and my variable name is g:MYLIST i am running vim 7.0. even after the above settings the variable is not

Re: Autocommand event for new buffers including startup buffer

2011-08-26 Thread Tony Mechelynck
On 25/08/11 23:03, Taylor Hedberg wrote: Ben Fritz, Thu 2011-08-25 @ 13:41:20-0700: Does BufEnter work? autocmd BufEnter * if !exists('b:created') | let b:created = 1 | let b:loaded_delimitMate = 1 | endif Yeah, in retrospect, that would probably do it. But I've fixed it another way now, so

Re: Check for spaces at the start of the current line

2011-08-26 Thread Tony Mechelynck
On 26/08/11 19:24, Gerardo Marset wrote: I'm looking for a way of knowing wether or not all the characters up to the cursor position in the current line are spaces. How would I do that? Thanks! Spaces only, or spaces and tabs, or any whitespace including (or not) no-break spaces and

Re: server down cant download any of the windows binaries...

2011-08-24 Thread Tony Mechelynck
On 25/08/11 01:00, Steve wrote: server down cant download any of the windows binaries... :-( Which server? - Bram's official one? ftp://ftp.vim.org/pub/vim/pc/gvim73_46.exe ... This one is only rarely updated: IIUC, it currently holds Vim 7.3.046 while the latest patchlevel is 7.3.285

Re: Autocommand event for new buffers including startup buffer

2011-08-24 Thread Tony Mechelynck
On 24/08/11 19:00, Taylor Hedberg wrote: I normally use `autocmd BufNewFile,BufRead * ‥` to execute a command in each new buffer as it is opened. However, these events are not triggered in the No Name buffer that is created when Vim is launched without arguments. In my .vimrc: autocmd

Re: why imap ;áo ção doesn't work? # i.e., imap ;255o 231277o

2011-08-16 Thread Tony Mechelynck
On 16/08/11 19:25, Ben Fritz wrote: On Aug 15, 1:30 pm, Tony Mechelynckantoine.mechely...@gmail.com wrote: In Latin1, a-acute is 225, not 255; a-tilde is 227, not 277; other than that: - as Ben said, Vim comments start with a double-quote, not a # mark, and shouldn't be put after a mapping

Re: why imap ;áo ção doesn't work? # i.e., imap ;255o 231277o

2011-08-15 Thread Tony Mechelynck
On 14/08/11 21:04, Leonardo Barbosa wrote: Hello everyone, I'm trying to abbreviate or imap latin caracteres. At first, i tried that: imap ;áo ção # imap ;255o 231277o I didn't work. After doing some searching, I in vain did that imap ;áo C-v231C-v227o # imap ;255o 231277o This does not

Re: Debugger Problem

2011-08-13 Thread Tony Mechelynck
On 12/08/11 18:14, Stephen Prater wrote: I'm trying to debug a vimscript. Alright, I'm trying to debug ANY vimscript. I can run debug call MyFunction() or debug :MyCommand And the next line that I see is always line 1: let cmd=getcmdline() No matter what commands I enter this is all I ever

Re: Is there anyway that Vim can 'tag' or 'name' a window for future reference?

2011-08-13 Thread Tony Mechelynck
On 13/08/11 02:11, 张小潘 wrote: My ASCII graph is ruinned by the width limitation, I mean | | | | | | | | | | | 1|2 |3 |4| | | | | | | | | |

Re: passing register contents to p command

2011-08-13 Thread Tony Mechelynck
On 13/08/11 16:30, sinbad wrote: hi, how to pass the contents of a register in a vim script to the p command. basically i've written the following function. In the following function with pflag set to '0', the p command (paste command) works fine if no register is passed, but for example if i

Re: colorschemes are not right ... most of the time

2011-08-13 Thread Tony Mechelynck
On 09/08/11 14:22, wombatvvv wrote: Thanks for the helpful replies guys. I ended up figuring out what was wrong ... yup, the terminal wasn't in 256 colour mode. Turns out I can put it into 256 colour mode pretty easily from within VIM simply by using: *set t_Co=256*. This solves the problem

Re: How to display and remove BOM in utf-8 encoded file

2011-08-13 Thread Tony Mechelynck
On 11/08/11 00:03, Alessandro Antonello wrote: May I add some observation to this discution? The better way to use BOM is when you know your target. I work in a MacBook which has UTF-8 as default. When I'm working with Objective-C that will be compiled using LLVM there is no problem using BOM

Re: Where to map tnext tprev

2011-08-13 Thread Tony Mechelynck
On 11/08/11 09:47, Dmitry Teslenko wrote: 2011/8/10 Tony Mechelynckantoine.mechely...@gmail.com: On 10/08/11 09:34, Dmitry Teslenko wrote: 2) My favourite keys to assign to the {lhs} of _any_ mapping areF2 to F12 (with the exception ofF10 if it is used to trigger the System menu), andS-F1

Re: Edit with vim: Set working directory as folder containing editted file

2011-08-11 Thread Tony Mechelynck
On 11/08/11 23:19, Paul wrote: I have gvim 7.3 installed on Windows 7 Enterprise (32-bit). When I select a bunch of files, right-click, and choose Edit with single Vim, the working directory for vim becomes Symantec Endpoint Protection rather than the folder that contains the selected files.

Re: Edit with vim: Set working directory as folder containing editted file

2011-08-11 Thread Tony Mechelynck
On 12/08/11 01:39, sc wrote: On Thursday, August 11, 2011 18:13:27 Tony Mechelynck wrote: On 11/08/11 23:19, Paul wrote: I have gvim 7.3 installed on Windows 7 Enterprise (32-bit). When I select a bunch of files, right-click, and choose Edit with single Vim, the working directory for vim

Re: Where to map tnext tprev

2011-08-10 Thread Tony Mechelynck
On 10/08/11 09:34, Dmitry Teslenko wrote: Hello! Since long ago using this config: noremap .esc:tnextcr noremap ,esc:tpreviouscr Now I missing (.) dot command to repeat last action. First I've tried to remap them to Ctrl+. but with no success. It seems it must be done some other way than:

Re: How to display and remove BOM in utf-8 encoded file

2011-08-10 Thread Tony Mechelynck
On 10/08/11 02:18, pansz wrote: On Tue, Aug 9, 2011 at 11:13 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: That message is outdated. The BOM is supported in all Unicode encodings including UTF-8 by all reasonably recent browers. It is also part of the HTML standard. BOM

Re: colorschemes are not right ... most of the time

2011-08-09 Thread Tony Mechelynck
On 09/08/11 09:24, Julien Durillon wrote: You need to set it in you vimrc. I think it's something like : set g:zenburn_high_Contrast or set g:zenburn_high_Contrast=1 :set can't apply. I think it's something like :let g:zenburn_high_Contrast = 1 That's for the variations. [...]

Re: How to display and remove BOM in utf-8 encoded file

2011-08-09 Thread Tony Mechelynck
On 09/08/11 13:37, Carlo Trimarchi wrote: Hi, I developed a website with Vim, working both on linux and windows and never had any problems. The other day someone else needed to edit some files and tried to use Mac and Windows. Apparently in the files he edited there is this Byte-Order Mark. I

Re: How to distinguish between different OSs in the .vimrc?

2011-08-08 Thread Tony Mechelynck
On 08/08/11 19:24, Asis Hallab wrote: Dear Vimers, is there any way known to distinguish between different OSs in the .vimrc? E.g.: if OS='Mac' set gfn=Monaco else set gfn=Monospace end Help will be much appreciated! Kind regards! Asis For this particular case, it is more involved

Re: swap files reverting my work erroneously

2011-08-02 Thread Tony Mechelynck
On 02/08/11 07:44, Christian Brabandt wrote: Hi Gary! On Mo, 01 Aug 2011, Gary Johnson wrote: don't put your swap files elsewhere). If you open foo again, Vim will tell you that it has found a swap file, etc. Regardless of you choice, Vim will use a new swap file for the current buffer,

Re: vim statuline

2011-08-02 Thread Tony Mechelynck
On 02/08/11 13:12, sinbad wrote: On Aug 2, 3:21 pm, sinbadsinbad.sin...@gmail.com wrote: i am using ctags.vim to display the function as statusline. but function is never displayed in the status line. i debuged the script, it seems to be correctly set the titlestring. but title is not

Re: swap files reverting my work erroneously

2011-08-01 Thread Tony Mechelynck
On 02/08/11 01:50, David Ohlemacher wrote: So once you have a swap file from a crash its there forever. That is until you delete the swp manually. And if you hit recover, your _newer_ file contents will be wiped out by an _older_ swap file's contents? I assumed (word chosen carefully), that

Re: swap files reverting my work erroneously

2011-08-01 Thread Tony Mechelynck
On 02/08/11 06:38, ZyX wrote: Reply to message «Re: swap files reverting my work erroneously», sent 08:20:31 02 August 2011, Tuesday by Gary Johnson: The trouble with continually saving, though, is that you lose your reference for the changes you've made to the file since you started editing.

Re: A modern look for gvim (win32)

2011-07-31 Thread Tony Mechelynck
On 31/07/11 09:30, Tobbe Lundberg wrote: On Sunday, July 31, 2011 4:10:22 AM UTC+2, Tony Mechelynck wrote: [...] :set go-=e stal=2 Nice! I wish I could get a line like that for my open buffers! Much better looking (and uses less space) than something like minibufexpl For buffers

Re: A modern look for gvim (win32)

2011-07-30 Thread Tony Mechelynck
On 28/07/11 09:58, Tobbe Lundberg wrote: [...] I see a few possible solutions. 1. Keep the status bar exactly as it is. I think this is the only way to be 100% backwards compatible. 2. Create a GUI statusbar, but make it just an empty field and write whatever the user has set as statusline in

Re: Using gvim and Visual Studio side by side

2011-07-30 Thread Tony Mechelynck
On 28/07/11 06:16, Väinö Leppänen wrote: [...] Väinö (yes, that's a name) Hm... let me guess... would that by any chance be a diminutive of Väinämöinen? Best regards, Tony. -- hundred-and-one symptoms of being an internet addict: 145. You e-mail your boss, informing him you'll be late. --

Re: Function/variable containing the number of current buffers

2011-07-30 Thread Tony Mechelynck
On 29/07/11 12:35, Axel Bender wrote: Is there any function/variable returning the number of open (non-hidden) buffers in GVim? Not out of the box, I think, but you could certainly build one by means of two nested while loops, with the help of the following functions (q.v.): winnr()

Re: How to make cursor not always at the last line

2011-07-30 Thread Tony Mechelynck
On 30/07/11 07:26, Rice wrote: Hi, I am writing code and reading source code with vim. When I am reading the source code, the cursor always stays at the last line. What I want is to make the cursor always stays at the middle of the screen when I am pressing j, so that I can have a larger view of

Re: A modern look for gvim (win32)

2011-07-27 Thread Tony Mechelynck
On 27/07/11 09:53, Tobbe Lundberg wrote: On Wednesday, July 27, 2011 2:44:56 AM UTC+2, Tony Mechelynck wrote: The problem with GUI window splitters is that they would still have to be exactly the width of one character cell in the current 'guifont' whatever it be, Can you expand

Re: A modern look for gvim (win23)

2011-07-26 Thread Tony Mechelynck
On 27/07/11 00:26, Tobbe Lundberg wrote: Does anyone know of any attempts at making gvim (for MS Windows) look more modern? (Using a standard gui border for split windows, a gui-window for completion lists, a standard gui status bar, etc) If something like this doesn't already exist, would

Re: guide to compiling vim on windows

2011-07-25 Thread Tony Mechelynck
On 25/07/11 20:04, skeept wrote: I have been updating my vim windows with Yongwei's build (http:// wyw.dcweb.cn/#download) listed in http://www.vim.org/download.php but it the last two weeks I wasn't able to access this page. What I like in the binary that is provided there is that it was

Re: disable window close button (X)

2011-07-25 Thread Tony Mechelynck
On 25/07/11 05:36, warem wrote: hi, i am using gvim in M$. i would like to know if it is possible to disable window close button (X) on the top right corner in gvim. my purpose is to prevent closing vim accidentally by pressing button X. thank you. If you mean the button at the end of the

Re: Use and meaning of plug

2011-07-24 Thread Tony Mechelynck
On 24/07/11 09:41, ZyX wrote: Reply to message «Re: Use and meaning ofplug», sent 08:08:49 24 July 2011, Sunday by Tony Mechelynck: The wholeSID thing is meant to allow creating mappings and functions which are only visible from within the script where they were created (i.e., not in other

Re: why is call needed in vimscript?

2011-07-24 Thread Tony Mechelynck
On 25/07/11 00:33, Jose Caballero wrote: Hi, I was trying to write a small function in vimscript that moves the cursor to a given line, in order to perform some actions. I was trying with something like this function F() cursor(4,0) endfunction but I got and E492

Re: why is call needed in vimscript?

2011-07-24 Thread Tony Mechelynck
On 25/07/11 02:54, Jose Caballero wrote: [...] I understand it better now. Thanks for the comments. By the way, I think I was searching the wrong thing. :help :call is clear, you are right, but what I tried was :help call and I got a little bit puzzled. My fault. Thanks all of you for your

Re: why is call needed in vimscript?

2011-07-24 Thread Tony Mechelynck
On 25/07/11 03:41, Jose Caballero wrote: I don't know what you get for :help call :help call call({func}, {arglist} [, {dict}]) *call()* *E699* Call function {func} with the items in |List| {arglist} as arguments.

Re: Use and meaning of plug

2011-07-23 Thread Tony Mechelynck
On 24/07/11 01:02, esquifit wrote: What is the actual value of usingplug? I've always seen the same pattern: mapunique LeaderXYPlugMyscriptMyfunction noremapunique script PlugMyscriptMyfunctionSIDMyfunction noremapSIDMyfunction :callSIDMyfunction()CR As far as I understand,plug allows

Re: SAP - HR/Payroll - Team Lead/Houston, TX /long-term

2011-07-21 Thread Tony Mechelynck
On 21/07/11 06:52, John Beckett wrote: Harsh J wrote: ...COPY OF SPAM... Please do not do that! The spam was sufficiently irritating. I have banned the original sender and removed their posts (and the copy from the above) from the Google vim_use archive. I do not know how the spammer got

Re: arrow keys don't move cursor but output ABCD in INSERT mode

2011-07-20 Thread Tony Mechelynck
On 19/07/11 16:51, Ben Schmidt wrote: On 7/07/11 12:00 PM, Ben Schmidt wrote: On 6/07/11 11:40 PM, Ben Schmidt wrote: On 4/07/11 10:56 PM, Tim Chase wrote: On 07/04/2011 03:07 AM, Kent wrote: last weekend I finally did the switch from .vim to vim-addon-manager. after the change, I made some

Re: where does Win7's VIM read my .vimrc files from?

2011-07-20 Thread Tony Mechelynck
On 20/07/11 01:03, Linda W wrote: John Trammell wrote: fileencodings=ucs-bom,utf-16le,utf-8,default,latin1 That does it!...thanks!... --- I Prematurely spoke, since it worked wtih utf-16le, but I later found that I couldn't read normal utf-8 files! So...it really didn't. Yeah, usually

Re: substitute with list content (oops)

2011-07-20 Thread Tony Mechelynck
On 20/07/11 11:32, Tony Mechelynck wrote: On 20/07/11 10:21, Chen San wrote: i have saw some usages in such a form: let i=1 | g/foo/s//\=blah_.i/ | let i=i+1 then my question is, what if i wanna substitute something with a list, such as ['one','two','three'] i have try the next script: let

Re: gVIM crash condition and workaround

2011-07-18 Thread Tony Mechelynck
On 18/07/11 20:16, Dominique Pellé wrote: Sean wrote: It happened when Python Interface to Vim is used. - Crash Conditions: - (1) standard gVim.exe downloaded from http://www.vim.org/download.php (2) standard python2.7 downloaded from http://www.python.org/

Re: disable click on empty space in tabline

2011-07-17 Thread Tony Mechelynck
On 15/07/11 15:44, Jeroen Budts wrote: Hi list! In Gvim, when the tabline is visible and has some empty space on the right next the last tab, gvim cycles through the tabs when clicking on that empty space. Is it possible to disable this functionality, so that, when clicking on the empty space

Re: About how many vim users are out there?

2011-07-17 Thread Tony Mechelynck
On 17/07/11 14:39, Marc Weber wrote: Excerpts from Daniel Choi's message of Sun Jul 17 14:29:51 +0200 2011: Is there any way even to estimate this to an order of magnitude? What do you call a Vim user? Vim is on almost all linux boxes. Admins who touch a server only once in 6 month may be

Re: Virtual edit: Insert text at specific column, even on empty rows

2011-07-17 Thread Tony Mechelynck
On 13/07/11 00:15, Paul wrote: [...] I forgot to add that my organization no longer provide admin accounts to mere users. Vim 7.1 was installed under an admin account that no longer exists. Though it isn't impossible to upgrade, it is be significantly more involved. You can always install

Re: where does Win7's VIM read my .vimrc files from?

2011-07-17 Thread Tony Mechelynck
On 14/07/11 22:20, Charles Campbell wrote: Gary Johnson wrote: On 2011-07-14, Linda W wrote: I've been trying to add the following -- and added to about 3 separate places and non have work: set fileencodings+=utf-16le [...] Anyway, with the changes in all 3 places, starting GVIM still has

Re: Establishing filetype for a class of documents

2011-07-16 Thread Tony Mechelynck
On 16/07/11 18:59, Javier Rojas wrote: On Sat, Jul 16, 2011 at 11:22:43AM -0400, Eric Weir wrote: You can check the contents of a file to figure out its filetype. Check :help new-filetype-scripts Thanks Javier. The help might help, but what I would like to do would be to include a class of

Re: Encoding issue

2011-07-16 Thread Tony Mechelynck
On 10/07/11 18:43, Benjamin Fritz wrote: On Sat, Jul 9, 2011 at 1:17 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: cp1251 is an 8-bit encoding, and as such it cannot give an error signal when trying to open a file with it. In 8-bit encodings, there are no invalid bytes. This means

Re: Encoding issue (P.S.)

2011-07-16 Thread Tony Mechelynck
On 16/07/11 22:08, Tony Mechelynck wrote: On 10/07/11 18:43, Benjamin Fritz wrote: Not 100% true. I don't know if it's documented, but if your system does not recognize cp1251 for some reason, Vim seems through experimentation to move on to the next. I learned this by accident on a poorly

Re: Help Bugs under seven

2011-07-12 Thread Tony Mechelynck
On 11/07/11 22:33, niva wrote: On 11 juil, 21:48, Bram Moolenaarb...@moolenaar.net wrote: Tony Mechelynck wrote: On 10/07/11 14:50, niva wrote: Hi, I recently install Vim 7.3 under win seven and I got some errors when I navigate through vim's help system. pattern.txt [RO] 1289L

Re: Help Bugs under seven

2011-07-10 Thread Tony Mechelynck
On 10/07/11 14:50, niva wrote: Hi, I recently install Vim 7.3 under win seven and I got some errors when I navigate through vim's help system. pattern.txt [RO] 1289L, 54946C Erreur détectée en traitant C:\Program Files (x86)\Vim\vim73\ftplugin \help.vim : ligne 16 : E518: Option inconnue:

Re: Help Bugs under seven

2011-07-10 Thread Tony Mechelynck
On 10/07/11 15:38, Nikolai Weibull wrote: On Sun, Jul 10, 2011 at 15:26, Tony Mechelynck antoine.mechely...@gmail.com wrote: Hm, it seems that the latest versions of ftplugin/help.vim and syntax/help.vim don't make provision for the possibility that the +conceal feature might have been left

Re: Changing elements of a color scheme

2011-07-09 Thread Tony Mechelynck
On 07/07/11 16:26, Eric Weir wrote: I've discovered a color scheme that I like better than the one I've been using since starting with Vim/MacVim a few months ago. However, there's one element that clashes for me -- the color of the cursor. I know what color I'd like it to be, i.e., the

Re: Custom Syntax

2011-07-09 Thread Tony Mechelynck
On 09/07/11 18:47, Nicholas Cole wrote: Dear List, I want to add some definitions to one of the standard syntax files. What is the best way to do this. Obviously, I could copy the whole file and make my changes on a local user copy, but is there a way to read in the default file first and then

Re: Encoding issue

2011-07-09 Thread Tony Mechelynck
On 07/07/11 17:27, Ben Fritz wrote: On Jul 7, 7:49 am, Михаил Голубевqsolo...@gmail.com wrote: Another question to wizards) I run gvim on Windows 7 Professional x86 so my default encoding is set to native cp1251. To avoid problems when opening files with Unicode encoding ('fileencoding') I

Re: Fugitive

2011-07-08 Thread Tony Mechelynck
On 08/07/11 16:10, eleanor wrote: Hi, I'm testing the fugitive plugin for the time being and I've come accross the following problems: 1) - If I add and commit a file called a.txt with the text aaa - and then change the text to bbb and save it and commit it - and then change the text to ccc and

Re: Deleting duplicate lines _without_ sorting

2011-07-06 Thread Tony Mechelynck
On 06/07/11 11:02, Stefan Klein wrote: Hi vim users, i got a longer SQL script with duplicate inserts :/ I'd like to remove those without sorting the whole file. It's possible to match the lines by a pattern. One solution might be to insert the line number at the end of the line, sort the

Re: Caps Lock indication

2011-07-06 Thread Tony Mechelynck
On 06/07/11 16:01, Михаил Голубев wrote: Hello to everyone. I want to write small function for my 'statusline' option, so it shows whether Caps Lock button was pressed or not. I work on laptop and analog led indicator is right under my wrist so I don't see it at all. Do you have any assumptions

Re: printing/:hardcopy vs long lines (tw=0)

2011-07-06 Thread Tony Mechelynck
On 06/07/11 19:13, lith wrote: Hi, Sometime I set tw=0 and use linebreak + breakat to have the lines softwrap at certain characters. Unfortunately, :hardcopy seems to ignore the value of linebreak + breakat. Is there a way to make :hardcopy break long lines at the characters set in the breakat

Re: Spell checker not working for files opened with :e

2011-07-06 Thread Tony Mechelynck
On 06/07/11 21:25, Charles Campbell wrote: On Wed, Jul 6, 2011 at 11:36 AM, Gary Johnson wrote: OK, I just did. I see it! Not with the ~/bin/vim version 7.3.189 that I built myself, but with the /usr/bin/vim version 7.2.148 that came with this Fedora 11 system. /usr/bin/vim --noplugin -u

Re: Bullet list layout

2011-07-06 Thread Tony Mechelynck
On 06/07/11 21:03, Eric Weir wrote: On Jul 6, 2011, at 8:23 AM, Nono wrote: Googling about showbreak, I found this:http://groups.google.com/group/vim_dev/web/vim-patches. The 9th patch, Correctly indent wrapped lines, seems to be exactly what I want, but installing it seems a little bit too

Re: Vim statusline examples with screenshots?

2011-07-06 Thread Tony Mechelynck
On 07/07/11 01:03, Jason Timrod wrote: Oh - should this matter, I'd prefer this in console Vim and not gvim. Thanks. :) - Original Message - From: Jason Timrodjtim...@yahoo.com To: vim_use@googlegroups.comvim_use@googlegroups.com Cc: Sent: Wednesday, July 6, 2011 10:15 PM Subject:

Re: colorscheme for vimdiff

2011-07-05 Thread Tony Mechelynck
On 05/07/11 08:22, Anonymous bin Ich wrote: Hi! Is there a way to load different colorscheme when using vimdiff (and different when using vim)? Regards, One possibility would be not to specify the colorscheme in the vimrc but on the command-line: e.g. make desktop shortcuts with commands

Re: php.net function list documentation inside vim?

2011-07-05 Thread Tony Mechelynck
On 05/07/11 08:51, nikhil jain wrote: This is my second time usign mailing lists , so apologies if I am doing something silly. I am not sure if this is a good idea, but is there a way to have the php.net documentation about functions 'inside' vim. That way instead of having to switch to the

Re: German Umlaut ä not working

2011-07-05 Thread Tony Mechelynck
On 05/07/11 11:27, Asis Hallab wrote: Dear Vimers, I experience a strange behaviour in Vim. I cannot type the German-Umlaut ä any more, while the other two Umlauts still work. This is only true, if I start vim with my .vimrc, loading my plug-ins using pathogen. If I start vim with vim -u NONE

Re: Bullet list layout

2011-07-05 Thread Tony Mechelynck
On 05/07/11 11:09, Nono wrote: Hello! I use a lot bullet list in my .txt files and I'd like to have a layout as Firefox or OpenOffice do. Do you know an option/command to do this? Here are some precisions: When I use bullet list in Vim, it does something like this: /-

Re: Spell checker not working for files opened with :e

2011-07-05 Thread Tony Mechelynck
On 05/07/11 19:25, Alexandre Provencio wrote: On Mon, Jul 4, 2011 at 11:18 PM, Gary Johnson garyj...@spocom.com mailto:garyj...@spocom.com wrote: [...] Also, what version(s) of vim/gvim are you using? If this is a bug, it may be in only some versions. Version:

Re: Spell checker not working for files opened with :e

2011-07-05 Thread Tony Mechelynck
On 05/07/11 19:45, Alexandre Provencio wrote: On Tue, Jul 5, 2011 at 2:07 AM, Tony Mechelynck antoine.mechely...@gmail.com mailto:antoine.mechely...@gmail.com wrote: On 05/07/11 05:38, Alexandre Provencio wrote: On Mon, Jul 4, 2011 at 6:35 PM, Gary Johnson garyj

Re: Spell checker not working for files opened with :e

2011-07-04 Thread Tony Mechelynck
On 05/07/11 05:38, Alexandre Provencio wrote: On Mon, Jul 4, 2011 at 6:35 PM, Gary Johnson garyj...@spocom.com mailto:garyj...@spocom.com wrote: On 2011-07-04, Alexandre Provencio wrote: Hello everyone, the spell checker here is is not working when opening files with :e,

Re: setline vs call setline

2011-07-02 Thread Tony Mechelynck
On 01/07/11 19:20, cyboman wrote: i'm writing a small script which uses setline. i'm somewhat new to vim scripting. whenever setline was called i would get an error saying that this is not an editor command. after looking up in the documentation for setline, i changed it to call setline and

Re: c structure relationship

2011-07-02 Thread Tony Mechelynck
On 28/06/11 09:49, jack sparrow wrote: [...] anyone know of any such tools. please let me know. thanks If you didn't get an answer to your previous message, it probably means, not that no one saw the question, but that no one knew the answer. Best regards, Tony. -- hundred-and-one

Re: Success with non-BMP Unicode characters on Windows?

2011-07-02 Thread Tony Mechelynck
On 27/06/11 06:10, Yongwei Wu wrote: Hi gurus, Today somebody asked me about non-BMP support in Vim, and I took a quick test. These are my steps: 1) Open Word, choose Insert Symbol, select SimSun-ExtB as the font, and insert a non-BMP character. I inserted U+2A6D6 in my test. 2) Open GVim,

Re: newbie put question

2011-07-02 Thread Tony Mechelynck
On 28/06/11 15:46, Tim Chase wrote: (reordering to interleaved reply, the preferred quoting style on the vim mailing list, as noted in the footer added by the list) Ctrl-R enter a sub-mode expecting the register-name following it, so if you want the system-clipboard, you'd want to use

Re: What is the 80kb character code?

2011-06-24 Thread Tony Mechelynck
On 24/06/11 17:24, Andrew Neil wrote: Suppose I was to type the following: qq oHello, Wordl!BSBSBSld!Esc q For the purposes of illustration here, I'm usingBS to stand for the backspace key, andEsc to stand for the escape key. Now, if I put the contents of the 'q' register into

Re: Font Rendering Issues on Linux But Not Windows

2011-06-20 Thread Tony Mechelynck
On 20/06/11 09:04, Mathew Brown wrote: By the way Tony, even a normal font such as Deja Sans Mono displays fine when you move the cursor over it. It's once it loses focus (by you Alt-Tabing to a new window) or by scrolling to the bottom of the screen so that the text is no longer visible that

Re: problems in the key mapping in vimrc

2011-06-20 Thread Tony Mechelynck
On 19/06/11 20:28, milton_viziak wrote: commands appears when I type this message: No mapping found If Vim replies that, then it means that your mappings have either not been taken into account, or else something has removed them. This could be hard to debug. Are you sure you have mappings

Re: ALT_C and ã

2011-06-19 Thread Tony Mechelynck
On 18/06/11 19:52, Ian Liu Rodrigues wrote: Dear list, When I press ALT_C in GVim, it generates the character ã (a tilde). This is problematic since I can't create an imap to ALT_C, for typing ã will also trigger the mapping. I'm interested in fixing this bug and providing a patch, but I've

Re: Vim and XML -- best setup ?

2011-06-19 Thread Tony Mechelynck
On 18/06/11 17:31, eNG1Ne wrote: I hope/think/believe there should be a plugin available that will automatically close tags for you … that will save a lot of typing, and help cut down on errors. I'll watch this thread, because I'd be interested in the same plugin myself ;-} NGN As mentioned

Re: gvim tear off menus when LANG not English

2011-06-19 Thread Tony Mechelynck
On 19/06/11 14:28, esquifit wrote: Hi I'm using gvim 7.3 on WinXP. When the environment variable LANG is not EN, say DE for German, the menu and menu items are correctly displayed in German as well as the error messages. The menu entries are also fully functional. However tear off menus are

Re: gvim tear off menus when LANG not English

2011-06-19 Thread Tony Mechelynck
On 19/06/11 17:04, esquifit wrote: On 19 Juny, 15:37, Tony Mechelynckantoine.mechely...@gmail.com wrote: On 19/06/11 14:28, esquifit wrote: This seems to be a Windows-only problem: Works for me in gvim 7.3.226 with GTK2 GUI on Linux64. Experiment 1. 1. Start gvim with my usual vimrc (which

Re: Font Rendering Issues on Linux But Not Windows

2011-06-18 Thread Tony Mechelynck
On 17/06/11 22:02, Mathew Brown wrote: Hi Tony, Thanks for your reply. To make sure that I'm using the exact same fonts, I copied the ttf fonts used by Windows and replaced the ones on Linux and then proceeded with running fc-cache. I'm still running into the same problem. So why

Re: Vim and XML -- best setup ?

2011-06-18 Thread Tony Mechelynck
On 18/06/11 07:40, meino.cra...@gmx.de wrote: Hi, in the *very* near future I will to hack a lot XML/XSLT/XSL/XMP... stuff at work and I will do it with vim. Unfortunately I am not allowed to install any binary executable (with the exeption of the vim package, which is already there) on the

Re: Font Rendering Issues on Linux But Not Windows

2011-06-18 Thread Tony Mechelynck
On 18/06/11 09:59, Mathew Brown wrote: Hi Tony, On Sat, 18 Jun 2011 09:11 +0200, Tony Mechelynck antoine.mechely...@gmail.com wrote: [...] When viewing pointed Arabic text in GTK2 gvim, I don't always see it displayed correctly; moving the cursor over the text may correct the error

Re: menu.vim: reference to another menu line command

2011-06-18 Thread Tony Mechelynck
On 18/06/11 10:57, rameo wrote: I believe that I have found it. it is theC-r/ command let delmatches = ':g/C-r//d C' an 98.002Edit\ Menu.Delete\ Matches\:exe delmatchesCR --- doesn't work (E486 pattern not found:C-r) an 98.002Edit\ Menu.Delete\ Matches\:g/C-r//d CCR --- does work.

<    9   10   11   12   13   14   15   16   17   18   >