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

learn more… | top users | synonyms

2
votes
3answers
2k 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
162 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.
0
votes
2answers
172 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 ...
1
vote
1answer
93 views

MacVim doesn't display on El Capitan

I just upgraded to El Capitan installed MacVim 7.3. When I start it there is no display just the menu bar. Is there some magic incantation I need to perform?
1
vote
1answer
30 views

How can I treat a logical block as a text object in Vim?

Here's a situation I'm in every day: 0 .outer_selector { 1 2 .inner_selector { 3 margin: 0; 4 padding: 0; 5 6 input { display: none; } 7 } 8 9 } Now I want to cut and paste the ...
1
vote
1answer
99 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
482 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
1k 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
458 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
28 views

“Cmd”+“Shift”+“N” works in MacVim but not terminal VIM

I use iTerm2 on Mac OS X 10.10 (Yosemite) and I installed YADR and that comes with all its configurations and mappings. One of the mappings maps Cmd+Shift+N to NERDTreeToggle. This however works in ...
0
votes
1answer
1k views

Compiling vim with python support - installing powerline

I spent all day yesterday backing up my hard drive, clean installing Mac OSX Yosemite, and now I'm trying to get all my stuff in order like it was before. I have powerline installed properly (it ...
0
votes
1answer
91 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
634 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
353 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 ...
4
votes
0answers
151 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
84 views

MacVim switching tabs & El Capitan split screen

Using El Capitan's split screen feature, I'd like to have MacVim open in the left half and Terminal open in the right half. This works fine, until I try to switch tabs in MacVim via the keyboard ...
1
vote
0answers
17 views

How do I get Dash Doc App to respect indentation on MacVim?

Couldn't do the same as the answer in the question below. How do I get Dash Doc App to respect indentation? Has someone run into the same problem with Vim? -- Edit: I can't reuse the question ...
1
vote
0answers
32 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
301 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
340 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
41 views

change the font style only for attributes in MacVim

I have the font called Operator Mono Light and I am using it in Macvim. My question is in Vim, can I get the font changed to the italic version of Operator Mono ONLY for attributes like in this ...
0
votes
0answers
20 views

MacVIM not displaying tab/buffer line in Fullscreen mode on OSX Captain

I used :Fullscreen command to send the MacVIM to full-screen mode. (This is a function in "vim-shell" written by xolox, available on Github through the author.) Everything worked fine (I started Vim ...
0
votes
0answers
13 views

Installing MacVim issue with 'src/' directory and ./configure command

The MacVim Readme_mac says I need to cd to a directory called 'src/', but it doesn't exist by default. Should I just create it or does it absence raise a flag? also when I do $ ./configure --help it ...
0
votes
0answers
9 views

MacVim cmd+a (select all) no longer works

I haven't tweaked my .vimrc for MacVim in a while. But I notice recently cmd+a no longer works. Instead it clears the buffer and types a g instead: When I go: :verbose nmap <D-a> It says: no ...
0
votes
0answers
188 views

MacVim.app doesnt open any edit windows

i installed macvim with brew install macvim brew link macvim brew linkapps i am on os x el capitan, but had same problem on yosemite if i go to /usr/local/Cellar/macvim/7.4-80/bin and execute ...
0
votes
0answers
156 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
74 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
102 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
120 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 ...