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

Vim Syntastic plugin not working for coffeescript 1.6.0+

I have the following syntastic settings inside my .vimrc: "------------SYNTASTIC----------- let g:syntastic_enable_signs=1 let g:syntastic_mode_map={ 'mode': 'active', \ 'active_filetypes': [], \…
Dannalieth
  • 257
  • 1
  • 4
  • 13
0
votes
1 answer

Vim clang_complete auto popup

After using XCode for a while (couple years), I'm attempting to move to MacVim for development/code editing. Mostly, I'm doing this because I'm starting up some non-obj-c projects and I don't want to keep switching between code editors. I've…
Aaron Hayman
  • 8,492
  • 2
  • 36
  • 63
0
votes
0 answers

vim does not see lib directory in projects

Learning Ruby, using MacVim on Mountain Lion. Installed Command-T (same problem if I used CtrlP) and a file search is not finding the lib directory. That's how I noticed it, but it's not seen anywhere by anything vim related. If I go to a project…
Bob
  • 3,283
  • 3
  • 20
  • 14
0
votes
2 answers

Vim's (MVIM) Local Leader, BackSlash Only Beeps

I'm new to VIM, using MacVim, and I'm trying to use Backslash as local leader. It seems like that is the default. If I do: :let maplocalleader = "\\" I just get a beep when I try to use local leader key \ If I do :let maplocalleader = "-" Then it…
newUserNameHere
  • 17,348
  • 18
  • 49
  • 79
0
votes
2 answers

Different syntax highlighting on mvim/vim when using console

Using MVIM on GUI I get the syntax on the right. Using mvim -v\ or vim on the console, I get no syntax at all, but after a :syntax on if becomes the image on the left, which is still not the coloring I'm used to. What's going on?
MaiaVictor
  • 51,090
  • 44
  • 144
  • 286
0
votes
1 answer

How to map already being used shortcuts in CLI vim?

I am a vim user. I like to use CLI vim rather than GUI MacVim. I usually use vim in iTerm2 terminal which has already a lot of shortcuts using Command Key. I want to map my custom shortcuts but it's impossible because of those already mapped…
breadmj
  • 185
  • 11
0
votes
1 answer

Ignore vim java warnings

I am using the janus distro of vim and started to editing some java files.. I have some errors on the left, saying that it can't locate my packages.. Where are those errors are coming from? and how do I ignore those errors?
Yosi
  • 2,936
  • 7
  • 39
  • 64
0
votes
0 answers

MacVim doesn't load $PATH env variable from .bash_profile

When I run MacVim from the command line, it has the environment variable PATH set correctly as I specify in my .bash_profile file. However, running MacVim from the shortcut has a very stripped down PATH variable, which is making it impossible to use…
Christian Oudard
  • 48,140
  • 25
  • 66
  • 69
0
votes
0 answers

how to jump with ctags and not to change the PWD in macvim

I used ctags + vim-project in macvim, and the project config like that src=/user/home/src CD = . filter="*.cpp *.h"{ xxx.cpp xxx.h } so when I open the xxx.cpp,then PWD set to the path of the /user/home/src ,and I make the project's tags…
0
votes
1 answer

MacVim Replace All Issue

I have an html file that I need to replace some characters with html entities. Right now I'm trying to replace — with — but when I use the Replace All button, the result is that all of those instances of — are replaced with —mdash; I thought…
paul smith
  • 1,327
  • 4
  • 17
  • 32
0
votes
1 answer

no python3 support for brew macvim

For some reason macvim installed with brew doesn't have the python3 support. Here is how I installed it: brew install macvim --with-cscope --with-python3 Whenever I run :echo has('python3') The result is 0, meaning there is no python3 support.…
flashburn
  • 4,180
  • 7
  • 54
  • 109
0
votes
1 answer

How to remap Esc to Caps Lock in Janus (VIM)

How do I remap the esc (escape) key on my Mac (Mountain Lion) for Janus (VIM). What is the command? And in what file do I insert this code?
AdamT
  • 6,405
  • 10
  • 49
  • 75
0
votes
1 answer

Unable to compile MacVim with filedrawer on OSX 10.7.5

I am unable to compile Alloy's fork of MacVim on OS X 10.7.5. I have Xcode 4.6 installed, with up-to-date command line tools. (I am aware that there is a Homebrew formula for this version of Macvim, but I am a MacPorts user, and I would rather not…
MothOnMars
  • 2,229
  • 3
  • 20
  • 23
0
votes
3 answers

Surrounding in vim

Is there a simple way to surround text, I know about this plugin But too much keys. I tried my approach vmap ' i'i' vmap " i"i" But this does not work. Anyway if this way is fixed how could I extract this behaviour to…
sites
  • 21,417
  • 17
  • 87
  • 146
0
votes
1 answer

When I execute :sh in a terminal vim it exits macvim

I want to execute :sh to do some quick things while in a macvim session within the terminal. When I am in the GUI application(not in terminal) this works perfectly. However, when I run it within the terminal it quits macvim, and executes the…
richsoni
  • 4,188
  • 8
  • 34
  • 47