The name given to the OS X port of gVim, the popular editor.

learn more… | top users | synonyms

2
votes
3answers
1k views

Vim + iTerm2 color issues

I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2. I try to get the solarized colorscheme working, but without luck so far. ...
0
votes
3answers
118 views

How to send custom command to terminal?

Say, I want to run "echo hello" when I press <leader>T How can I write the script? Is there any way to do it nicely? I'm thinking about creating a custom command.
2
votes
1answer
579 views

How can I stop MacVim showing a whole screen of extra scroll?

Whenever I load files into MacVim it seems to retain the full screen full of ~ lines. This means that scroll is always out by a complete screen which is fairly annoying. Is there a way to avoid this ...
1
vote
1answer
74 views

macvim highlights everything opening a file

When I open a file with MacVim, It highlights everything in red. I am not sure how to get rid of this permanently. How can I do this in .vimrc?
1
vote
1answer
307 views

Make vim plugin Syntastic mark more than the first error in php

I'm using vim on mac (both command line & MacVim) and installed the syntastic plugin for syntax error checking. I'm now using it and its standard php syntax_checker for php coding, but if there's ...
1
vote
1answer
947 views

Homebrew error with MacVim on OSX Lion

I am trying to install Macvim with Homebrew on an OSX machine running Lion. After installing iconv at /opt/local/bin/iconv I get the following error in the log: Error: Can't run ...
1
vote
1answer
358 views

How to create maps for the fn key in MacVim

I've been having some pains in my left little finger, and I'd like to try to alleviate it's task by using the Fn key in Mac keyboards as the Ctrl key in MacVim, since that's where 90% of my action ...
0
votes
1answer
69 views

Vim conceal feature is applied to active line

I am using MacVim with the vim-latex plugin. There is a conceal feature turned on by default that converts LaTeX symbols to unicode in vim itself so the source is easier to read. I think this is ...
0
votes
1answer
87 views

How can I make the active MacVim tab more obvious in fullscreen mode?

When I use MacVim normally and have multiple tabs open, it's easy to see which tab is active because it's much lighter than the others. However, in fullscreen mode, they are all the lighter color and ...
0
votes
1answer
75 views

Going to CSS class in vim

In Sublime Text 2 I used to hit command + t and type in the CSS class I had to go to. How can I do that in vim?
0
votes
1answer
581 views

How to make Vim open existing buffers with NERDTree

I recently discovered NERDTree and Command-T but when I open files that has already been opened I get the really annoying "VIM - ATTENTION Swap file already exists" popup and I click abort and then I ...
0
votes
1answer
344 views

NERDTree does not open in the directory from which macvim was opened

I upgraded my macvim to 7.3 recently and I can no longer open nerdtree or netw in the directory in which macvim was opened, it always opens in my home directory. For example, If I open macvim in ...
3
votes
0answers
115 views

Multiple linked sessions/instances of Vim and R with Vim-r-plugin

OSX 10.8. MacVim + Vim-r-plugin = Vim sends commands to R. Awesome! (Note I'm here asking about using MacVim and R.app (i.e. w/ Gui), not either in a terminal, since for this purpose I need both to ...
1
vote
0answers
30 views

MacVim Replace All not working properly

I have an html file that I need to replace some characters with html entities. Right now I'm trying to replace — with &mdash; but when I use the Replace All button, the result is that all of ...
1
vote
0answers
148 views

MacVim does not open new windows

This happened right after I removed some folders on my system ruby, the more I have reinstalled the xcode. But even so, it opens new windows, only the icon appears and the toolbar of the software. I ...
1
vote
0answers
321 views

Is anyone using pysmell for vim with luck?

I'm trying to get pysmell (https://github.com/orestis/pysmell) to work - looks like a nice code completion tool for django development in vim. I'm on Mac OS X 1.7.1 (Lion) with MacVim 7.3 (snapshot ...
0
votes
0answers
21 views

Vim not loading ftplugins files

I added java_getset.vim as ~/.vim/ftplugins/java_getset.vim, but when I run :scriptnames I don't see it listed. I pared my .vimrc file down to: set nocompatible filetype plugin on to remove ...
0
votes
0answers
13 views

Seeing output of `make` in MacVim GUI

I recently switched to using MacVim gui and I'm really enjoying it. One of the issues I'm currently facing, however, is that when I run a command (such as make), I see the output of the command in ...
0
votes
0answers
11 views

Keep window size when resizing font in MacVim

When changing the font size in MacVim on OSX (Cmd +,Cmd -), the window is resized as well. Is there a setting that makes MacVim keep its window's size, when the font is resized?
0
votes
0answers
76 views

vim and macvim are not reading my .vim directory

I have installed vim and macvim using macports, and tried copying over my .vim directory from linux. Neither seems to read anything from that directory: my customizations for folding and indenting ...
0
votes
0answers
56 views

Vim uses system ruby and python

I have installed Python and Ruby using Homebrew and RVM respectively and they work fine in terminal, but Vim (both system and MacVim from Homebrew) launches system ones for some reason. :! which ...
0
votes
0answers
93 views

How to ignore changes made in a NERD_tree windows when closing MacVim?

I'm using MacVim with the NERD tree plugin. When I close MacVim I get a model window saying There are several documents with unsaved changes. and asking me if I want to save those changes. That's ...
0
votes
0answers
106 views

MacVim prints 'ls' output whenever run via the 'mvim' command

Whenever I launch MacVim via the mvim command, I get the output of ls ~ printed to my terminal repeatedly for as long as I'm using MacVim: $ mvim base.theme.bash $ ActiveGSLocalData Music ...