Questions tagged [macvim]

MacVim is a version of the Vim text editor for Mac OS X.

https://web.archive.org/web/20160827085726/http://macvim.googlecode.com/files/MacVim-screenshot-10-detail.jpg

MacVim supports multiple windows with tabbed editing and a host of other features such as:

  • bindings to standard OS X keyboard shortcuts (⌘Z, ⌘V, ⌘A, ⌘G, etc.),
  • transparent backgrounds,
  • full-screen mode,
  • multibyte editing with OS X input methods and automatic font substitution,
  • ODB editor support,

and more. Most importantly, MacVim brings you the full power of Vim 7.3 to Mac OS X.

Legacy versions are available for OS X 10.4, 10.5 and 10.6. Current build is available for "Lion".

For further details see the MacVim website.

959 questions
0
votes
1 answer

Run vim commands on errors?

Ok so this question is vaguely related to one of my previous questions: I want Vim to be able to save and close similarly to Photoshop in regards to buffers? Basically the solution I found (or gets really close to what I want), is a plugin called…
Rey
  • 3,639
  • 5
  • 33
  • 40
0
votes
1 answer

Why can't a variable be passed into the MacVim :colorscheme function?

I'd like to set a mapping to loop through a list of colorschemes in MacVim. Ideally, I'd have an array of color schemes like this: let s:schemes = ['zellner','ron','morning','murphy','peachpuff','torte'] And in a function set the colorscheme to an…
casaram
  • 474
  • 3
  • 10
0
votes
1 answer

macvim c++ syntax highlight doesn't match .vimrc

I am using macvim 7.3 snapshot 66 on os x 10.8.2 I have following in my ~/.vimrc ( there is no ~/.gvimrc file ) syntax on hi Comment guifg=darkred gui=none hi PreProc guifg=darkgoldenrod hi Type guifg=darkgreen gui=none hi Constant…
0
votes
1 answer

mapping a button to sequence of buttons

I want to map tab to the following button sequence: ctrl+x -> tab to a method call in .vimrc (in insert mode). The method is also in .vimrc I kwow i should use inoremap button-sequence=method() But how should I write the button sequence in…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
0
votes
1 answer

source ~/.vimrc working in file but not automatically source coffee

I have added the coffee syntax and indent plugin for vim. Here is my ~/.vimrc: colorscheme peachpuff syntax on filetype on source /Users/(myusername)/.vim/vim-coffee-script-master/indent/coffee.vim source…
David Hahn
  • 740
  • 9
  • 26
0
votes
2 answers

vim ctrl-O to jump inside the file

:jumps returns a list of the jumps, but when I press < Ctrl-O> or < Ctrl-I> nothing happens. Any ideas of why this is happening?
Sara
  • 833
  • 2
  • 9
  • 21
0
votes
1 answer

How to make the indents by Vim look consistent in other software?(e.g.. Textmate, textwrangler)

I use MacVim to edit my code. The indents look pretty good in Vim,Emacs and textedit. But they look horrible in Textmate2, textwrangler. How to make the indents by Vim look consistent in other software?(e.g.. Textmate, textwrangler)? This is my vim…
code4j
  • 4,208
  • 5
  • 34
  • 51
0
votes
2 answers

vim: is it possible to have new instances in tabs

Is it possible to have a new instance on vim in every tab? Because I want to have seperate buffers in each tab. So I could run one tab for the controllers I'm editing, one for all my views etc.
RedlineR
  • 31
  • 1
0
votes
2 answers

Rails.vim alternate file issues - does not detect RSpec

I can't seem to get Rails.vim to detect that I don't use test/unit, whenever I go into app/models/model.rb and issue the :A command it I get an error: E345: Can't find file "test/unit/model_test.rb" in path There's no test/ directory in my…
Emil Ahlbäck
  • 6,085
  • 8
  • 39
  • 54
0
votes
0 answers

MacVIM 7.3 throwing error

I recently installed MacVim 7.3 on my mac (MacOs 10.6.8) and now when I type Vim, I am getting this error. I also installed this git: git://github.com/akitaonrails/vimfiles.git .vim E254: Cannot allocate color Red E254: Cannot allocate color…
mpora
  • 1,411
  • 5
  • 24
  • 65
0
votes
1 answer

Mac OS X Lion: Window has disappeared and won't reappear

I'm running the latest version of MacVim on Mac OS X 10.7.3. While editing a file the application decided to hide/shrink its window in some way. It happened in an instant. I've tried: rebooting reinstalling right-click in dock -> Show All…
KomodoDave
  • 7,239
  • 10
  • 60
  • 92
0
votes
2 answers

YADR look on Emacs

I just discovered yadr with an amazing look&feel that makes macvim really looks like Emacs: I was wondering if anybody is aware of a way to make emacs buffer bars having a similar look?
Sebastien Varrette
  • 3,876
  • 1
  • 24
  • 21
0
votes
1 answer

PATH variable: how do I put mvim script "in a folder in my path"?

The version of vim on my computer is kind of old (6.2), so I installed MacVim (7.3). It comes with a shell script you can put somewhere to start MacVim from the terminal. The documentation says to "put this script in a folder in your path", and noob…
ivan
  • 6,032
  • 9
  • 42
  • 65
0
votes
1 answer

Get the pos_x and pos_y from screen from screen

I would like to write a special plugin in Vim which open a custom app depending on the positions of the vim cursor. Is any way to get the positions from the screen ? Exemple case: When I call my custom plugin ColorPicker, that's open a ColorPicker…
Goaman
  • 15
  • 1
  • 6
0
votes
0 answers

MacVim doesn't start my rails server vim-ruby-debugger

I tried adding a good debugger for my rails project and I found vim-ruby-debugger to be the best option for my favourite editor VIM. This works perfectly with ubuntu. But when I tried configuring it for my Mac the debugger prompts a started message…
karthikselva
  • 123
  • 8