Re: grouping filetypes

2010-08-19 Thread Dado Feigenblatt
On 8/19/10 8:17 AM, björn wrote: On 16 August 2010 23:36, Robert H wrote: I saw this as an example: augroup indent_settings au! au BufEnter *.pl setl autoindent smartindent au BufEnter *.html setl noautoindent nosmartindent augroup END I am wondering if there is some way that I ca

Re: textmate style key shortcut

2010-08-19 Thread Wy Mitbbs
This how I run rspec using cmd+r. in .vimrc " Run Rspec for the current spec file function! RunRspec() ruby << EOF buffer = VIM::Buffer.current spec_file = VIM::Buffer.current.name VIM::message "Running Rspec for #{spec_file}. Results will be displayed in Firefox." command = "ruby ~/.vim/b

textmate style key shortcut

2010-08-19 Thread Ken & Yoori Han
Hi, I'm new to vim/macvim. If I'm editing a ruby file, I've learned to run it by :rubyf /path/to/rubyscript Is there a way to run the current buffer in a TextMate style cmd-R without having to type :rubyf filename each time? Thanks. Ken -- You received this message from the "vim_mac" maillist.

Re: grouping filetypes

2010-08-19 Thread björn
On 16 August 2010 23:36, Robert H wrote: > I saw this as an example: > > augroup indent_settings >    au! >    au BufEnter *.pl setl autoindent smartindent >    au BufEnter *.html setl noautoindent nosmartindent > augroup END > > I am wondering if there is some way that I can specify the options ON

Re: MacVim 7.3 released!

2010-08-19 Thread björn
On 18 August 2010 14:34, Hu Junfeng wrote: > Thanks! But I think that is for Vim 7.3. What about MacVim? Björn > mentioned above there are many changes. Is there a list for them too? Almost all the changes are listed here: http://code.google.com/p/macvim/wiki/Snapshot In addition there have been

Re: /ftplugin vs /plugin [was: Re: MacVim handling csv]

2010-08-19 Thread björn
On 19 August 2010 11:07, John Beckett wrote: > Etienne Benoît Roesch wrote: >> From reading this list of symptoms, I can only conclude that >> MacVim does not check into /ftplugin. How can I solve this? > > Unfortunately I can't help you there, and we have to hope that a > MacVim person will explai

Re: MacVim handling csv

2010-08-19 Thread Jean-Marie Gaillourdet
Hi, On 17.08.2010, at 11:09, Etienne Benoît Roesch wrote: > Dear all, > > For some time now, I have been using the excellent ftplugin readcsv > (http://www.vim.org/scripts/script.php?script_id=2108) by Hongli Gao, but I > now need a functionality (the ability to sort data by column) that is no

RE: /ftplugin vs /plugin [was: Re: MacVim handling csv]

2010-08-19 Thread John Beckett
Etienne Benoît Roesch wrote: > From reading this list of symptoms, I can only conclude that > MacVim does not check into /ftplugin. How can I solve this? Unfortunately I can't help you there, and we have to hope that a MacVim person will explain how you configure an ftplugin script (I monitor vim_

Re: /ftplugin vs /plugin [was: Re: MacVim handling csv]

2010-08-19 Thread Etienne Benoît Roesch
Le 19 août 2010 à 08:11, John Beckett a écrit : > Etienne Benoît Roesch wrote: >> Initially, I put it in ~/.vim/ftplugin/ as instructed, but it >> did not load (did not show up with :scriptnames). Then I >> moved it to ~/.vim/plugin/ instead. The command :scriptnames >> does show ~/.vim/plugin/cs