Re: Why doesn't the k key remap correctly?

2011-06-27 Thread Jürgen Krämer
Hi, The Last Airbender wrote: I just started using Vim (about 3 days old), and I am very optimistic about it's potential. Unfortunately, I have spent the last day searching for a solution to my issue, and my optimism is becoming frustration :/ I am trying to remap the k key, so that

Re: expandtab not working for Ruby

2011-06-27 Thread Marten Veldthuis
Thanks to you and Ben, I figured it out. :verbose set expandtab? told me it was set from vimrc even when it wasn't working, so I started moving the set expandtab line around. Turns out it was the set binary that was a little bit later in my vimrc that reset it. Cheers, Marten -- You received

Re: Command to ingnore spelling of a word

2011-06-27 Thread Tim Gray
On Jun 26, 2011 at 11:43 AM -0400, Eric Weir wrote: I would recognize them if I saw them in a file. Help indicates that there are files to which words on which zg and zw have been used are added. I've looked for them in /spell/en in the runtime folder but don't see any files there with the spl

Re: mkview problems

2011-06-27 Thread Gary Johnson
On 2011-06-27, lirenlin wrote: Hi Gary, Thank you for your tips! that's exactaly the solution! I install vim and vim-gnome separately. Ps. do you know the place where PATH is defined? I used to install some software in my ubuntu linux, now I uninstalled it, but the the executable path is

Re: Command to ingnore spelling of a word

2011-06-27 Thread Eric Weir
On Jun 27, 2011, at 9:42 AM, Tim Gray wrote: My customized spell word list is in ~/.vim/spell/en.utf-8.add. I don't think I set that location, so you might want to look in ~/.vim/spell - we are both using MacVim. Thanks, Tim. That's where it was. Don't know why I didn't look their first.

Aw: Re: Conditionally generated templates

2011-06-27 Thread lith
Hi, Error detected while processing function tskeleton#Setup: line 10: Unknown skeleton: php.php Oops. The current version assumes that you also have http://www.vim.org/scripts/download_script.php?src_id=11545 installed (a set of standard templates). These files were originally

Aw: Re: Conditionally generated templates

2011-06-27 Thread lith
Hi, Sorry, I meant this file: http://www.vim.org/scripts/download_script.php?src_id=7022 Regards, Tom -- 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

Re: Extending syntax files / overriding keyword with match

2011-06-27 Thread Ben Fritz
On Jun 26, 3:56 pm, Benjamin R. Haskell v...@benizi.com wrote:    syn keyword fooGroup foo bar baz and I want to override it as:    syn match fooGroup /somepattern/ Is there a way to unset a group name as if it were never defined? syn clear fooGroup :help :syn-clear Or is there

Re: mkview problems

2011-06-27 Thread 李仁林
Hi Gray, Thank you for your help, I solved it! kind regards! Renlin Li 2011/6/27 Gary Johnson garyj...@spocom.com On 2011-06-27, lirenlin wrote: Hi Gary, Thank you for your tips! that's exactaly the solution! I install vim and vim-gnome separately. Ps. do you know the place where

what algorithm does :cnext use to jump to a correct location

2011-06-27 Thread cyboman
i'm trying to write a small script which will jump between info/ warning/error messages, i.e. instead of jumping to the next message, which is what :cnext does, it will jump to the next error message. the problem is that i don't know how does :cnext do it. i have the information from the

newbie put question

2011-06-27 Thread russurquhart1
I'm learning and having success with Vim. I just ran into something that i'm sure i'm over looking. I know that when i yank LINES, the put command (p or P) will put those lines before or after the line the cursor is on. When i select something less than a line, it puts it before or after the

Re: newbie put question

2011-06-27 Thread Tim Chase
On 06/27/2011 04:11 PM, russurquha...@verizon.net wrote: I know that when i yank LINES, the put command (p or P) will put those lines before or after the line the cursor is on. When i select something less than a line, it puts it before or after the current position. My question, is there a way

Re: Root highlighting

2011-06-27 Thread theoc
There's a CERN ROOT syntax highlighting addon for Vim available at: http://www.vim.org/scripts/script.php?script_id=2387 http://www.vim.org/scripts/script.php?script_id=2387 -- View this message in context: http://vim.1045645.n5.nabble.com/Root-highlighting-tp1172254p4527958.html Sent from the

I have line numbering but want to have a background margin to set the numbers on

2011-06-27 Thread lostmenuts
I would like to have line numbers displayed on a margin that has a different colour to the rest of the document to make it stand out and look nicer, how can I do that? At the moment I can have a coloured colum (set foldcolumn=2) OR line numbering but I cant seem to combine them so that the numbers

Re: I have line numbering but want to have a background margin to set the numbers on

2011-06-27 Thread Tim Chase
On 06/27/2011 03:58 AM, lostmenuts wrote: I would like to have line numbers displayed on a margin that has a different colour to the rest of the document to make it stand out and look nicer, how can I do that? At the moment I can have a coloured colum (set foldcolumn=2) OR line numbering but I

Re: Error with :.! commands

2011-06-27 Thread Ben Schmidt
Thanks for the mkdir suggestion. Next time I face it, it will come in handy. I made myself a command to do it some time ago, which you may find useful: command! Mktmpdir call mkdir(fnamemodify(tempname(),__:p:h),,0700) This is completely obscure to me. Where do I put this line? You put the

Re: what algorithm does :cnext use to jump to a correct location

2011-06-27 Thread Ben Schmidt
On 28/06/11 7:01 AM, cyboman wrote: i'm trying to write a small script which will jump between info/ warning/error messages, i.e. instead of jumping to the next message, which is what :cnext does, it will jump to the next error message. the problem is that i don't know how does :cnext do it. i

Indentation of perl scripts with the key word 'when' are not correct

2011-06-27 Thread Peng Yu
Hi, It seem that default perl indentation in vim is not correct with 'when' (see example at the end of email). Could anybody let me know how to fix the problem? $ vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar 24 2011 07:07:34) Included patches: 1-35 Modified by

Re: Indentation of perl scripts with the key word 'when' are not correct

2011-06-27 Thread Robert
On 2011-06-27 22:10:16 -0400, Peng Yu said: Hi, It seem that default perl indentation in vim is not correct with 'when' (see example at the end of email). Could anybody let me know how to fix the problem? I don't think the comes with perl.vim handles the when keyword. Try this one.

Multiple Vim setup on the same computer?

2011-06-27 Thread kuru
Hi I want to be able to setup couple different Vims, like for editing, for projects etc. i want them to be totally separate installations and have different plugins script base. What would eb the best optimum way? thanks -- You received this message from the vim_use maillist. Do not top-post!

Re: Indentation of perl scripts with the key word 'when' are not correct

2011-06-27 Thread ZyX
Reply to message «Indentation of perl scripts with the key word 'when' are not correct», sent 06:10:16 28 June 2011, Tuesday by Peng Yu: It seem that default perl indentation in vim is not correct with 'when' (see example at the end of email). Could anybody let me know how to fix the