Re: Vim opens perl files slowly everytime

2013-05-20 Thread Tony Mechelynck
On 20/05/13 01:38, Jean-Marcel Belmont wrote: On Sunday, May 19, 2013 7:05:04 PM UTC-4, Tony Mechelynck wrote: On 20/05/13 00:22, Jean-Marcel Belmont wrote: Hello: Whenever I open a Perl file in vim with .pl file extension it takes many seconds for vim to open and when vim does

Re: introduction + first question that will set the tone for me

2013-05-19 Thread Tony Mechelynck
On May 19, 8:59 am, Yuma Antoine Decaux jamy...@gmail.com wrote: Hi all, As per the subject, i have a simple question, before i go on and try to work VIM out. Is this potentially accessible to blind users? I've been more and more nudged towards using command line only at UNI as all GUI

Re: How to do math in vim ?

2013-05-19 Thread Tony Mechelynck
On 19/05/13 19:00, Jeri Raye wrote: Hi, Can you do math in Vim? Can you do subtractions? Sure you can do math, including subtractions and even much more complicated stuff than that -- on integers or on floating-point numbers but not on hour-minute-second times. For the latter, you have to

Re: Vim opens perl files slowly everytime

2013-05-19 Thread Tony Mechelynck
On 20/05/13 00:22, Jean-Marcel Belmont wrote: Hello: Whenever I open a Perl file in vim with .pl file extension it takes many seconds for vim to open and when vim does open I see the following message in the vim command line Please install scripts to ~/.vim/bin This message appears whenever I

Re: gVim - Integrated development environment

2013-05-14 Thread Tony Mechelynck
On 14/05/13 12:31, contact.opc0de...@gmail.com wrote: Hi, I write sources codes in differents languages, and I'm looking for several things about gVim: A plugin to create and manage my projects as an IDE (Visual Studio). not sure about that A plugin to use GDB and also to put Breakpoints

Re: Need a vim hard mode tutorial.

2013-05-13 Thread Tony Mechelynck
On 13/05/13 10:05, Asis Hallab wrote: Dear Vimers, [...] For me Vim is about doing the job of text editing efficiently. So getting to the place you want to edit should be fast and easy. In spite of all the different available movement commands I frequently find myself thinking, that in a

Re: Need a vim hard mode tutorial.

2013-05-12 Thread Tony Mechelynck
On 13/05/13 02:11, DwigtArmyOfChampions wrote: I've been struggling along with Vim's hard mode plugin that's supposed to train you to use the good habits instead of the bad habits that eventually will make you program better and faster. OK, I know what the bad habits are, since they've been

Re: Undead buffer: gets deleted but respawns on session launch

2013-04-25 Thread Tony Mechelynck
On 24/04/13 20:56, Sylvia Ganush wrote: On 23 Apr 2013, at 19:06, Ben Fritz fritzophre...@gmail.com wrote: On Tuesday, April 23, 2013 10:41:08 AM UTC-5, Sylvia Ganush wrote: What may cause a deleted buffer to reappear on session launch? Maybe you have the % character in your 'viminfo'

Re: Undead buffer: gets deleted but respawns on session launch

2013-04-23 Thread Tony Mechelynck
On 23/04/13 17:41, Sylvia Ganush wrote: Good day. What may cause a deleted buffer to reappear on session launch? I once edited a file, a Figlet font. I deleted the buffer, and then exited Vim as I usually do: :mksession! session.vim :wqa But when restart the session the deleted

Re: How can I open help in the current window?

2013-04-22 Thread Tony Mechelynck
On 22/04/13 12:37, Thiago Padilha wrote: I googled about this but only found how to open in a vertical split or in a full window. I cannot find how can I navigate to help without splitting or breaking my current layout. Normally I already have two windows splitting the screen vertically and

Re: gVim stripping diacritics not in keyboard charset

2013-04-22 Thread Tony Mechelynck
On 22/04/13 23:22, Tuetschek wrote: On Tuesday, March 30, 2010 9:01:36 PM UTC+2, Tuetschek wrote: Thanks, but I'm sorry, your suggestions didn't help ... it really doesn't matter which terminal or file encoding I have set, my font is capable of displaying such characters (I can paste a ř'

Re: syntax.vim: filetypedetect BufRead

2013-04-21 Thread Tony Mechelynck
On 21/04/13 18:37, Ben Fritz wrote: On Sunday, April 21, 2013 7:02:13 AM UTC-5, xeon123 wrote: I found my problem. In my case I have declared wrong in the runtimepath in my ~/.vimrc /usr/share/vim/vim72, and it must be /usr/share/vim/vim73. After this change it works fine. Check you

Re: match //[flags] - explanation

2013-04-21 Thread Tony Mechelynck
On 22/04/13 02:45, David Fishburn wrote: I am extending the SyntaxComplete (http://www.vim.org/scripts/script.php?script_id=3172) plugin (it is included in Vim's runtime). I have noticed the Perl plugin uses some unusual syntax for the syntax rules. I was hoping to extend it to handle these

Re: syntax.vim: filetypedetect BufRead

2013-04-20 Thread Tony Mechelynck
On 20/04/13 18:15, Ben Fritz wrote: On Saturday, April 20, 2013 7:54:50 AM UTC-5, xeon123 wrote: The syntax highlight in vim 7.3 doesn't work. I get the following error. How can I fix that? Error detected while processing /usr/share/vim/vim73/syntax/syntax.vim: line 42: E216: No such group

Re: Using same font looks bad in different computers / configurations

2013-04-17 Thread Tony Mechelynck
On 16/04/13 16:53, skeept wrote: Hi, when using vim in cygwin the font looks really bad when compared when the windows version. I also compiled vim in sunos 5.9 and 5.10. The gvim version in the 5.9 looks much better. Can anyone give me hints on how to configure vim to have the font look

Re: macosx x11/motif gvim-7.3.706+ E250 dialog on startup

2013-04-17 Thread Tony Mechelynck
On 17/04/13 04:05, raf wrote: Tony Mechelynck wrote: On 16/04/13 06:47, raf wrote: hi, i just installed an x11/motif version of vim-7.3.905 from source on macosx-10.6.8 and, every time it starts, i get an error dialog that says: E250: Fonts for the following charsets are missing

Re: substitution with accented characters

2013-04-17 Thread Tony Mechelynck
On 17/04/13 05:12, Ben Fritz wrote: On Tuesday, April 16, 2013 8:52:22 PM UTC-5, andalou wrote: Suppose I have the following text: Diagonalizaci#243;n de matrices. Formas cuadr#225;ticas. El Espacio Af#237;n El problema de la Programaci#243;n Lineal El Espacio Eucl#237;deo How can I replace

Re: Using same font looks bad in different computers / configurations

2013-04-17 Thread Tony Mechelynck
On 17/04/13 22:45, skeept wrote: [...] Hi Tony, I know the basics of changing the font, the issue here is that I believe there is a bug or an issue when vim is configured with --enable-gui=auto or --enable-gui=gtk2 After I wrote this email I tried configuring with --enable-gui=motif and in

Re: macosx x11/motif gvim-7.3.706+ E250 dialog on startup

2013-04-16 Thread Tony Mechelynck
On 16/04/13 06:47, raf wrote: hi, i just installed an x11/motif version of vim-7.3.905 from source on macosx-10.6.8 and, every time it starts, i get an error dialog that says: E250: Fonts for the following charsets are missing in fontset

Re: help! ab multiple line abbreviations MacVIm

2013-04-15 Thread Tony Mechelynck
On 15/04/13 14:14, Csaba Hoch wrote: Hi, :ab mul MultipleCRlines I use MacVim too and the command above works well (i.e. CR is recognized) - provided that the 'compatible' option is turned on. :version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 12 2012 16:22:25) MacOS X (unix)

Re: How can one set tabstops to specific values?

2013-04-14 Thread Tony Mechelynck
On 14/04/13 14:28, Erik Christiansen wrote: On 14.04.13 03:24, Tony Mechelynck wrote: For the sake of portability, I recommend keeping 'tabstop' at its default of 8, setting 'expandtab' on, and using any values you like for 'shiftwidth' and 'softtabstop'. This way existing hard tabs

Re: key chording in vim

2013-04-14 Thread Tony Mechelynck
On 14/04/13 23:48, michael raba wrote: hello, I want to do the following with gvim: Hold down the 's' key, then press 1. Type hello world Note1: if I just press s, it acts like normal. Note2: If I hold down 1 and press s, it should not do anything Is this possible to do natively? No. Vim

Re: help! ab multiple line abbreviations MacVIm

2013-04-14 Thread Tony Mechelynck
On 15/04/13 02:48, zwu...@ucr.edu wrote: Hi all, I try to ab several multiple line commands by following the instruction on vim wiki http://vim.wikia.com/wiki/Using_abbreviations However, when copy and paste this line into my vimrc file, I didn't get the expected result (I sourced the vimrc

Re: vim plugins reordering

2013-04-13 Thread Tony Mechelynck
On 14/04/13 01:06, rudrab wrote: Dear friends, I am trying to clear my .vim a bit, i.e. delete unnecessary plugins. The problem I am facing is that all plugins are put into same ftplugin/after etc. Is it possible to put them in seperate directories? i.e. .vim/fortran/ for ALL fortran plugins,

Re: How can one set tabstops to specific values?

2013-04-13 Thread Tony Mechelynck
On 14/04/13 02:33, Linda W wrote: I'd like to be able to set tabstops in various files to useful values like in /etc/fstab set ts=17,17,8,24,3 With the last tabstop repeated for the width of the line... I've seen this in other editors and even the linux-console has this ability -- so how

Re: What character is this?

2013-04-11 Thread Tony Mechelynck
On 11/04/13 07:40, Christian Brabandt wrote: Hi Tony! On Do, 11 Apr 2013, Tony Mechelynck wrote: ah, nice plugin; and the first time it fetches the UnicodeData.txt file from the Unicode Consortium's site. :-) After some playing with it, I notice that characters not in the list (e.g. U+3102

Re: What character is this?

2013-04-11 Thread Tony Mechelynck
On 11/04/13 15:15, Christian Brabandt wrote: Hi Tony! On Do, 11 Apr 2013, Tony Mechelynck wrote: restarting Vim, the error has disappeared: I get just Character ' ' U+3102 not found in magenta on the message line (with a hollow box and subscript 3102 starting between the quotes and extending

Re: Forking exuberant ctags

2013-04-11 Thread Tony Mechelynck
On 11/04/13 20:58, David Fishburn wrote: On Thu, Apr 11, 2013 at 1:12 PM, Geoff Liu (刘沧溟) cangming@gmail.com mailto:cangming@gmail.com wrote: Hi fellow vimmers, I've been using vim for years, but somehow never really got into using tags. Recently I decided to finally set

Re: What character is this?

2013-04-10 Thread Tony Mechelynck
On 10/04/13 21:27, Christian Brabandt wrote: Hi stosss! On Mi, 10 Apr 2013, stosss wrote: This single character unit is showing up in a text file ^F the cursor only stops on the ^ portion of it and never on the F portion. It shows up in the middle of words only. What can I type in the search

Re: Forcing myself to learn vim properly

2013-04-08 Thread Tony Mechelynck
On 08/04/13 16:10, Flavius Aspra wrote: Hi While learning vim the hard way, I was also playing around with scripting and I was wondering of a way to enforce the avoidance of repeatedly pressing movement keys, instead of using a countmovement. Having a code like this: let

Re: Is there already a solution for mapping ALT in Terminal (urxvt)?

2013-04-03 Thread Tony Mechelynck
On 03/04/13 09:49, LCD 47 wrote: On 2 April 2013, Kent kent.y...@gmail.com wrote: [...] What I want to map is simple, a-j/k move current line up/down. [...] The keyboard bindings for ALT in urxvt depend on the URxvt.meta8 resource. If URxvt.meta8 is false (which is the default), ALTkey

Re: netrw copy fails, trouble installing v.147

2013-04-02 Thread Tony Mechelynck
On 02/04/13 18:23, Charles Campbell wrote: Paul wrote: I took a jab at a problem that experienced with netrw 140 for gvim on Windows 7. Within the past year some time, I dabbled in some of the more advanced features netrw, namely copy marked files to a marked target directory. (yes, I've been

Re: Is there already a solution for mapping ALT in Terminal (urxvt)?

2013-04-02 Thread Tony Mechelynck
On 02/04/13 22:47, Kent wrote: Hi everybody, I knew this is not a new topic. I had that problem years ago, tried a lot and finally gave up. Recently, I went through my vimrc, and found my very old commented out codes: mapping a-j in unxvt doesn't work, gave up!! about 3,4 years have

Re: Is there already a solution for mapping ALT in Terminal (urxvt)?

2013-04-02 Thread Tony Mechelynck
For some reason, the message arrived garbled when sent in Latin1 so I'm sending it again, but in UTF-8 this time. On 02/04/13 22:47, Kent wrote: Hi everybody, I knew this is not a new topic. I had that problem years ago, tried a lot and finally gave up. Recently, I went through my vimrc, and

Re: Can 'set ' be elided? When?

2013-04-01 Thread Tony Mechelynck
On 31/03/13 17:24, Dotan Cohen wrote: On Sat, Mar 23, 2013 at 12:58 AM, Paul Isambert zappathus...@free.fr wrote: I notice that some settings use the format ':set name=value' and other use ':name value'. For instance: :set syntax=php :syntax off Note that :syntax php doesn't work. Can the

Re: hi netrwCopyTgt doesn't bold netrw's target directory for copy

2013-03-31 Thread Tony Mechelynck
On 31/03/13 09:16, AndyHancock wrote: On Mar 30, 7:20 pm, Charles E Campbell wrote: AndyHancock wrote: I am trying to get my netrw marked files to show up as yellow, and the target directory for copying marked files to show up as bolded cyan. In my vimrc, I have: syntax on color

Re: expand('%:p') doesn't work properly when opening a new file in a non-existing directory?

2013-03-30 Thread Tony Mechelynck
On 30/03/13 07:35, Hong Xu wrote: [...] Hi Tony, Thanks for your reply. I have noticed that I can not write to disk if I create a new file in a non-existing directory; what I am concerning is the unexpected behavior of `expand('%:p')`. I am currently encountering an issue in my plugin: I call

Re: Get netrw to ignore executability of file

2013-03-30 Thread Tony Mechelynck
On 30/03/13 20:46, AndyHancock wrote: For netrw 140, one of the differences between the Windows gvim and Cygwin/X11 gvim is that the Cygwin/X11 version will show the executable files with highlight netrwExe which is linked to highlight Preproc. This does not happen with the Windows version,

Re: MYVIMRC variable not set when invoked with -u option.

2013-03-28 Thread Tony Mechelynck
On 29/03/13 05:41, PARK, Kyung-Kook wrote: What I am trying to do is to set the path variable to something derived from the path of user vimrc file given by -u option so that I can customize vimrc files for different projects. But the thing is that $MYVIMRC or $MYGVIMRC is empty when vimrc is

Re: Can 'set ' be elided? When?

2013-03-23 Thread Tony Mechelynck
On 22/03/13 23:43, Dotan Cohen wrote: I notice that some settings use the format ':set name=value' and other use ':name value'. For instance: :set syntax=php :syntax off Can the string 'set ' always be safely elided? If not, then what are the guidelines? Thanks. In addition to the replies you

Re: vim, cscope and jump stack

2013-03-17 Thread Tony Mechelynck
On 15/03/13 22:10, FlashBurn wrote: Does anybody know if vim has the ability to store a history of my cscope searches?It would be nice if I could jump back to my previous searches or to the files which I jumped from. Any help is appreciated. cscope can produce a quickfix list, y'know, like

Re: Save all buffers on SIGTERM

2013-03-17 Thread Tony Mechelynck
On 16/03/13 18:44, Thiago Padilha wrote: Is it possible to configure vim to write all buffers when it receives SIGTERM? I use vim inside multiple tmux sessions and sometimes I forget to save something so when I shutdown the computer and reboot there's a bunch of .swp files around(I would rather

Re: Is there a way to see autocommand events fire?

2013-03-10 Thread Tony Mechelynck
On 10/03/13 00:06, Ben Fritz wrote: [...] Weird, I don't see the original post anywhere. [...] I saw it, sent by Axel Bender to the vim_use list, dated 8 March 2013 07:28 -0800. Maybe some spam filter of yours caught it by mistake? Best regards, Tony. -- I like work ... I can sit and watch

Re: Non-monospace fonts?

2013-02-24 Thread Tony Mechelynck
On 24/02/13 02:30, John Little wrote: On Sunday, February 24, 2013 11:44:16 AM UTC+13, Hakan Yildiz wrote: Is there anyway to force that non-monospace fonts are displayed correctly with different character widths? No, not without rewriting so much of vim it wouldn't be vim any more IMO.

Re: Help regarding netrw, sorry if this is not the right way to ask for help.

2013-02-22 Thread Tony Mechelynck
On 21/02/13 06:22, Charles E Campbell wrote: Manas K wrote: Hello Dr.Chip! I tried out that version to the same effect. I did post earlier on the vim mailing list and a gentleman (Tony) confirmed my suspicion that once a directory was opened by using the direct path, any other directory I

Re: wide letter spacing when using gvim (GUI mode)

2013-02-20 Thread Tony Mechelynck
On 20/02/13 19:25, John Little wrote: That's what you get if you use a non-monospace font with the GTK2 build of vim (that build is the default). Try switching to a font that has mono in its name. Regards, John Little …or a font with Courier Console Fixed or Typewriter in its name:

Re: Trouble with ftp directory browsing in Linux using netrw

2013-02-20 Thread Tony Mechelynck
On 20/02/13 18:03, Manas Karekar wrote: I asked this on ubuntuforums to no avail. I hope someone here could point me in the right direction. If no solution exists, I'm willing to work on one. My problem is as follows: Environment: - Lubuntu 12.10 (64), also Lubuntu 12.04 (64), Ubuntu 12.04

Re: wide letter spacing when using gvim (GUI mode)

2013-02-20 Thread Tony Mechelynck
On 20/02/13 21:21, Alex Dong Li wrote: Ben, I tried and 4 fonts showed up: DejaVu Sans, Monospace, Sans, Serif, same as if I use GUI's menu to set the font. I have tried each of them but it does not work either. I wishes I had the root access to our company linux servers so that I could compile

Re: cannot unsubscribe

2013-02-19 Thread Tony Mechelynck
On 19/02/13 12:43, Franco wrote: It seems I cannot unsubscribe from this mailing list. I sent a mail both to vim-unsubscr...@vim.org and to the google address one. I received the confirmation but replying lead to nothing (vim.org address) and to a Delivery to the following recipient failed

Re: Our posts are being flagged as spam.

2013-02-17 Thread Tony Mechelynck
On 17/02/13 07:13, stosss wrote: [...] Something else is going on somewhere. I use gmail and I don't have any problems getting mail from this list. If Google thinks something is spam and I have set a filter so it puts the mail where I want it and not in the spam folder Google complains saying

Re: Best practice on cleaning vimrc files

2013-02-12 Thread Tony Mechelynck
On 12/02/13 15:31, Malusi Gcakasi wrote: Yet my settings in GVim and Vim (terminal) are identical... I'm new to Vim and have been wondering about this for a bit. As most vimrc and gvimrc setups are similar, is it good practice to split these into different files? Or should they simply be split

Re: Favourite Terminal for use with vim ?

2013-02-12 Thread Tony Mechelynck
On 12/02/13 16:37, Patrick wrote: Hi Everyone. I would like to switch from gvim to vim. Some terminals don't seem to support syntax highlighting well. I've got rxvt-unicode looking great with vim but I am wondering about other options. What is your favourite terminal to run vim in? I use

Re: vim: display â8099

2013-02-10 Thread Tony Mechelynck
On 10/02/13 04:27, Ben Fritz wrote: On Saturday, February 9, 2013 8:51:28 PM UTC-6, ping wrote: I've copied and pasted an article from web page and it looks I got a lot of following: �8099 so essentially it should be just a ' character, for example: If you�8099ve is there a way

Re: vim: display â8099

2013-02-10 Thread Tony Mechelynck
On 10/02/13 19:11, Dominique Pellé wrote: ping songpingem...@gmail.com wrote: I've copied and pasted an article from web page and it looks I got a lot of following: â8099 so essentially it should be just a ' character, for example: If youâ8099ve is there a way to get them

Re: A plugin that works like Hyperlink Helper from TextMate?

2013-02-06 Thread Tony Mechelynck
On 06/02/13 23:11, Niels Kobschätzki wrote: Hi, TextMate has a bundle that is called Hyperlink Helper. Its function is that I can highlight a passage of text and then either via a command make a link out of it with the content of the clipboard as URL or that the passage is searched via google,

Re: Displaying vim error messages

2013-02-05 Thread Tony Mechelynck
On 06/02/13 03:20, Daniel P. Wright wrote: Hello, I would like to display one of vim's in-built error messages from a script. For example, E347: No more file filename found in path. I could just use :echoerr, but then the string wouldn't be localised if people are using translated versions of

Re: ATT shutting down listmail

2013-02-02 Thread Tony Mechelynck
On 02/02/13 21:23, toothpik wrote: On January 27 I stopped receiving vim list mail in my ISP's inbox. (My ISP is ATT). After logging in to my account in Firefox I found over 300 vim emails in my Spam folder. After moving those to my Inbox, fetchmail was able to retrieve them for me the normal

Re: nnoremap j gj not working from vimrc

2013-02-02 Thread Tony Mechelynck
On 02/02/13 21:07, Jarom Jackson wrote: I've tried placing the following: nnoremap j gj nnoremap k gk in the vimrc, but is causes some funny behaviour. I'm using gvim, and when I issue the commands above manually, they do what I expect, the cursor moves up/down one visual line at a time.

Re: Interest in a Belgian Vim usergroup for meetups?

2013-02-01 Thread Tony Mechelynck
On 01/02/13 23:39, Jeroen Budts wrote: Hi all, After reading about the Vim Berlin and Vim London usergroup, who regularly organize meetups, I started wondering if we can do the same in Belgium. Today I wrote some of my ideas down in a blogpost [1] to find out if there is interest in this. If I

Re: Windows ALT characters

2013-01-30 Thread Tony Mechelynck
On 30/01/13 02:53, John McGlynn wrote: Hi Vim, I have a load of csv files in which some rows have an arrow at the end. The arrow seems to have been made using Windows ALT 26. It shows up in Vim as ^Z^M. Can anyone tell me how to remove these pesky objects? Thanks, John You already got

Re: how to use substitute() add a newline

2013-01-29 Thread Tony Mechelynck
On 29/01/13 11:13, h2ero wrote: I use follow two method, but it only show ^M and ^@, who know how to add a newline. thanks let n_line = substitute(n_line,'\({\)','\r\1','g') let n_line = substitute(n_line,'\({\)','\n\1','g') In :s[ubstitute], \n in the pattern finds a newline, \r in the

Re: Possible to stretch cursor on tab character?

2013-01-28 Thread Tony Mechelynck
On 27/01/13 23:17, neolus wrote: wait! what about having the cursor change color specifically when on a tab? that wouldn't require any stretching? You could, with some jumping through hoops; but what is wrong with yhe built-in 'list' and 'listchars' options? Best regards, Tony. -- If an

Re: Updating Syntax menu

2013-01-26 Thread Tony Mechelynck
On 26/01/13 15:34, Russell Urquhart wrote: On Sat, Jan 26, 2013 at 06:21:45AM +0100, Tony Mechelynck wrote: As has repeatedly been said on this list, you should NEVER change anything in the $VIMRUNTIME tree because any update can do away with your changes, without telling you that it did. You

Re: Possible to stretch cursor on tab character?

2013-01-26 Thread Tony Mechelynck
On 27/01/13 02:25, neolus wrote: I think it would be extremely useful to have the cursor stretch itself on every tab character, versus being placed at the beginning or end as if it were on a space, because the way it is right now is very ambiguos with space characters and one generally doesnt

Re: Possible to stretch cursor on tab character?

2013-01-26 Thread Tony Mechelynck
On 27/01/13 08:07, Tony Mechelynck wrote: On 27/01/13 02:25, neolus wrote: I think it would be extremely useful to have the cursor stretch itself on every tab character, versus being placed at the beginning or end as if it were on a space, because the way it is right now is very ambiguos

Re: Updating Syntax menu

2013-01-25 Thread Tony Mechelynck
On 25/01/13 22:36, russurquha...@verizon.net wrote: I want to thank everyone for their help. I think i found the answer. According to this url: http://www.lesismore.co.za/viminform7.html The relative portion: Last, you can add the Vim syntax to the Syntax menu. Open Vim and enter :ed

Re: Word characters differ between spell files

2013-01-24 Thread Tony Mechelynck
On 24/01/13 11:34, Andrew wrote: Hi there! Recently I've started using vim, and tried to enable spellchecking for russian. So I've tried :setlocal spell spelllang=ru. Vim said, that it doesn't have spellfile for russian and offer to download it, I accepted and allowed him to locate it in

Re: Updating Syntax menu

2013-01-24 Thread Tony Mechelynck
On 24/01/13 17:07, russurquha...@verizon.net wrote: Hi, I've been adding new syntax files, and putting them in the correct location, but i don't know if i am supposed to manually update the synmenu.vim file, or does some other process do that, so that my new syntax files show up in the

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread Tony Mechelynck
On 22/01/13 22:48, Ben Fritz wrote: On Tuesday, January 22, 2013 3:41:27 PM UTC-6, Ben Fritz wrote: I think the problem is actually here: if !exists('g:DisableCFE3KeywordAbbreviations') let g:DisableCFE3KeywordAbbreviations=1 call EnableCFE3KeywordAbbreviations() endif That should

Re: Cygwin gvim needs weird ritual to past from Windows clipboard

2013-01-21 Thread Tony Mechelynck
On 22/01/13 06:03, AndyHancock wrote: I installed cygwin's gvim on Windows 7. I found that pasting from the Windows clipboard into gvim doesn't work by clicking the middle mouse button unless I go through a weird ritual that I discovered by accident. If I don't do this, I get E353: Nothing in

Re: Yank part of line?

2013-01-14 Thread Tony Mechelynck
On 13/01/13 08:15, stosss wrote: On Sun, Jan 13, 2013 at 1:29 AM, John Beckett johnb.beck...@gmail.com wrote: stosss wrote: This appears to be the only thing in help that seems to imply you can yank part of a line. But I can't figure out how to make that work. Am I wrong about this? Is the

Re: How to call a function from b:undo_ftplugin?

2013-01-07 Thread Tony Mechelynck
On 07/01/13 10:32, Boris Danilov wrote: P.S. Okay, in documentation I found the following way to get the SID number: function s:SID() return matchstr(expand('sfile'), 'SNR\zs\d\+\ze_SID$') I don't understand the SID$ at the end endfun So that I can probably use something like let

Re: VIM Python interface fails with segfault on Windows

2013-01-05 Thread Tony Mechelynck
On 05/01/13 13:53, David Halter wrote: Next one (says the problem has vanished after recompiling VIM with the latest source): VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:59:02) MS-Windows 32-bit GUI version with OLE support Included patches: 1-46 Compiled by Bram@KIBAALE This

Re: what does vim:et:ts... mean in vi?

2013-01-05 Thread Tony Mechelynck
On 06/01/13 02:33, skyworld wrote: Hi, I'm reading someone's code and at the end of the file I found some code like this: # ###­ # #{{{ * Editor configuration #

Re: what does vim:et:ts... mean in vi?

2013-01-05 Thread Tony Mechelynck
On 06/01/13 03:25, skyworld wrote: Hi Tim Tony, thanks for your kind reply. After reading the help, I still have a question on this: the help has two examples on this: a) Example: vi:noai:sw=3 ts=6 b) Example: /* vim: set ai tw=75: */ and in my code: c) # vim:et:sw=4:ts=4:ft=python:

Re: problem with '**' and ! in path when Ctrl_W_Ctrl_F is pressed?

2013-01-04 Thread Tony Mechelynck
On 04/01/13 15:26, Peng Yu wrote: Hi, I have the following files. /tmp/**$ cat.sh ../\!/main.txt main.txt == ../!/main.txt == in a == main.txt == main.txt When I open main.txt, then press Ctrl_W_Ctrl_F on main.txt, I gets to /tmp/!/main.txt but not /tmp/**/main.txt. Is it a bug in vim? If

Re: vim: set ft but don't execute syntax file

2013-01-03 Thread Tony Mechelynck
On 02/01/13 22:25, ping wrote: experts: I have a huge text file, which, when set ft, navigation in the file becomes extremely slow. but, due to some reasons I still want the ft to be set, but without executing the corresponding syntax file ( so it will not be slowed down). is it possible and

Re: printoptions=portrait:n,paper:ledger still portrait?

2013-01-03 Thread Tony Mechelynck
On 03/01/13 18:49, Aaron Davies wrote: On Jan 2, 2013, at 5:38 PM, Christian Brabandt cbli...@256bit.org wrote: On Mi, 02 Jan 2013, Aaron Davies wrote: Iin vim 7.3.386, I have set printoptions=portrait:n,paper:ledger in my vimrc, but printouts come out as ledger paper, portrait. I've tested

Re: Having trouble using conceal

2013-01-01 Thread Tony Mechelynck
On 02/01/13 07:13, HarleyPig wrote: Hmm ... I thought I could have a global syntax. I wanted this to work across any syntax and/or filetype. If I manually source the file it works, or if I make a after/syntax/perl.vim file it will work in my perl files, at least partially--I can't seem to

Re: spam

2012-12-28 Thread Tony Mechelynck
On 27/12/12 10:58, John Beckett wrote: The message (no subject) that I am replying to consisted of a single line which was a link to some website. It was almost certainly spam, and possibly malware, and almost certainly was spoofed (that is, the sender was NOT Tony). I have deleted the message

Re:

2012-12-27 Thread Tony Mechelynck
On 27/12/12 07:53, Tony Mechelynck wrote: http://www.elitetrades.com/blog/wp-content/plugins/zxmhtewfeum/gmm.html Please disregard the message quoted above. It seems that some application managed to send it to most people on my address book. I have now changed my password. Je vous prie

Re: Search in the C-] tag selection window

2012-12-26 Thread Tony Mechelynck
On 26/12/12 03:14, Woody Wu wrote: Hi, When I press C-] on a word, and if there word matches more than one tags, then vim will prompt with a list, I then choice a entry number in the list before it jumps to the desired destination. But, in some caess, a word can much many many tags, like I

Re: CTRL-A CTRL-X backwards

2012-12-25 Thread Tony Mechelynck
On 24/12/12 02:55, stosss wrote: *CTRL-A* CTRL-A Add [count] to the number or alphabetic character at or after the cursor. {not in Vi}

Re: matchpairs and Unicode

2012-12-25 Thread Tony Mechelynck
On 25/12/12 23:11, Christian Brabandt wrote: By the way, what kind of multibyte characters do you need? regards, Christian Hm, let's see… Anything above 0x7F is 2 or more bytes in UTF-8… For Latin, Cyrillic, etc.: « (U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK) and » (U+00BB

Re: matchpairs and Unicode

2012-12-25 Thread Tony Mechelynck
On 26/12/12 00:50, KamilS wrote: ‘ (U+2018 LEFT SINGLE QUOTATION MARK) and either ’ (U+2019 RIGHT SINGLE Depending on the language, two characters on each of the above lines may be chosen, and in either order. I'm afraid my Vim says: E474: Invalid argument: matchpairs+=‘:’ `:' and other

Re: How to analyse error messages

2012-12-17 Thread Tony Mechelynck
On 17/12/12 08:46, niva wrote: Hi, I am using gvim under windows. When I open a file with context menu, this error message appears: SNR10_LoadFTPPlugin. How can I find it in order to fix it? Thank you This is not an error message: Vim error messages start with the letter E followed by a

Re: VIM moves file icon location in Windows 7 after file close

2012-12-14 Thread Tony Mechelynck
On 14/12/12 09:18, SanDiegoGary wrote: I'm using Vim 7.3.67 on Windows 7. I made a change to my .vimrc file, and now when I launch vim by double-clicking a text file on my desktop, the tool works as expected. But when I exit with :wq, the file icon moves as if auto arrange icons attribute

Re: VIM moves file icon location in Windows 7 after file close

2012-12-14 Thread Tony Mechelynck
On 14/12/12 17:41, SanDiegoGary wrote: On Friday, December 14, 2012 12:41:50 AM UTC-8, Tony Mechelynck wrote: On 14/12/12 09:18, SanDiegoGary wrote: I'm using Vim 7.3.67 on Windows 7. I made a change to my .vimrc file, and now when I launch vim by double-clicking a text file on my desktop

Re: spell check latex German umlauts

2012-12-13 Thread Tony Mechelynck
On 14/12/12 04:35, Erik Christiansen wrote: On 13.12.12 15:30, Andreas Groh wrote: Of course, key mappings are a workaround. I included two functions to my .vimrc which can replace all umlauts in the document by the Latex style equivalent and vice versa. In concordance with several other

Re: Making sure splits are a decent size when a new one is opened

2012-12-09 Thread Tony Mechelynck
On 09/12/12 20:23, Tim Chase wrote: On 12/09/12 08:41, Some Developer wrote: Is it possible to set the default size of a split when it is opened? I use the Vim man page plug-in that allows you to use Leader+K to open the man page for the word under the cursor but it opens in a split that is

Re: matchpairs and Unicode

2012-12-08 Thread Tony Mechelynck
On 08/12/12 16:48, KamilS wrote: The help for 'matchpairs' says “Currently only single byte character pairs are allowed”. Is there any way to work around this? Or any hope that support for Unicode will be added in the foreseeable future? I’d very much like to have matching for different kinds

Re: vimdiff: how to ignore all same lines and show ONLY diff lines?

2012-12-07 Thread Tony Mechelynck
On 08/12/12 05:50, ping wrote: exports: by default vimdiff will not only show the diff lines, but also show a couple of same lines to give you a sense of context. how to suppress all same lines and display only those diff lines? regards ping see :help 'diffopt' context:{n}

Re: filetype detection within files

2012-12-05 Thread Tony Mechelynck
On 05/12/12 09:09, Marc Weber wrote: There are quite a lot of files supporting sub filetypes such as .haml .php and whatnot Some plugins such as snippet and commenting plugins could benefit from knowing which filetype the current cursor is at. Do any implemantions of this beside the one

Re: filetype detection within files

2012-12-05 Thread Tony Mechelynck
On 05/12/12 18:23, Marc Weber wrote: I know about ft. Talking about == a .html file == script type=javaoscript CURSOR_HERE /script == Now I want a function which returnns js if cursor is in such a javascript section. That would be useful for both: commenting plugins and snippet plugins.

Re: scratch buffer opening with a in the command line

2012-12-04 Thread Tony Mechelynck
On 04/12/12 07:05, Chris Lott wrote: I am trying to modify this script: https://github.com/fncll/wordnet.vim/blob/master/plugin/wordnet.vim so that I can press `q` to quit. However, when the scratch buffer opens with the results, there is a double-quotation mark in the command line that I have

Re: scratch buffer opening with a in the command line

2012-12-04 Thread Tony Mechelynck
On 04/12/12 17:33, Chris Lott wrote: On Tue, Dec 4, 2012 at 7:17 AM, Chris Lott ch...@chrislott.org wrote: On Tue, Dec 4, 2012 at 2:02 AM, Marcin Szamotulski msza...@gmail.com wrote: On 21:05 Mon 03 Dec , Chris Lott wrote: I am trying to modify this script: FYI: I figured this out. It

Re: vim: strange issue with gq

2012-12-04 Thread Tony Mechelynck
On 05/12/12 03:08, ping wrote: hi: I have following text (from Dickens) I was born with a caul, which was advertised for sale, in the newspapers, at the low price of fifteen guineas. Whether whenever I gqap it with tw=45, it will persistently produce: I was born with a caul, which was

Re: Spam from ad...@139.com

2012-12-02 Thread Tony Mechelynck
On 02/12/12 10:55, John Beckett wrote: This is an updated outline of the vim_use spam problem. Following some email exchanges, I am trying a few things to see if I can find a solution and may have more updates. The following uses -at- instead of @ so the Google Groups web interface will not

Re: VIM v7 and v7.3.46: End of Life and End of Support Dates needed

2012-11-29 Thread Tony Mechelynck
On 29/11/12 16:55, Ben Fritz wrote: On Wednesday, November 28, 2012 10:11:52 PM UTC-6, Gary Johnson wrote: On 2012-11-28, rams wrote: Hello, I am looking for End of Life and End of Support dates for: VIM 7 VIM 7.3.46 Can you please share the info for this? I am

Re: VIM v7 and v7.3.46: End of Life and End of Support Dates needed

2012-11-29 Thread Tony Mechelynck
On 29/11/12 23:14, Tony Mechelynck wrote: On 29/11/12 16:55, Ben Fritz wrote: On Wednesday, November 28, 2012 10:11:52 PM UTC-6, Gary Johnson wrote: On 2012-11-28, rams wrote: Hello, I am looking for End of Life and End of Support dates for: VIM7 VIM7.3.46 Can you

<    4   5   6   7   8   9   10   11   12   13   >