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
2 answers

Make some functionalities work only in MacVim, but not on Vim from within Terminal

I use Vim mostly through OS X's MacVim application, but I also use it from within Terminal. However, since I use the following vim code in order to make use of session to keep previous files always open in next session: In ~/.vimrc: function!…
Blaszard
  • 30,954
  • 51
  • 153
  • 233
0
votes
1 answer

Opening files in tabs in Macvim

I am using Macvim with Janus build. I have installed it just now. I have opened a project by mvim But problem is that while I am double clicking a file on left hand side project explorer window, it keep on opening in the same window…
Joy
  • 4,197
  • 14
  • 61
  • 131
0
votes
1 answer

tern_for_vim (ternjs) returns 403 access denied

Trying to get JavaScript completion working in MacVim, using YouCompleteMe + TernJS. I've followed the install instructions for both plugins (I use Vundle to manage vim plugins), which included running ./install.sh script inside the YCM plugin…
Scott
  • 1,518
  • 1
  • 15
  • 23
0
votes
1 answer

Macvim space indent using Markdown

I am editing Markdown using Macvim and may I know is there anyway that I can set it, so that whenever I enter, the space indent on the previous line is maintain. I don't want to use TAB for every single line. Thanks.
drhanlau
  • 2,517
  • 2
  • 24
  • 42
0
votes
2 answers

macVim: line continuation in python creates unnecessary tab?

Whenever I want to use line continuation in my python script using macVim, I receive the following format: a = one,\ two,\ three instead of: a = one,\ two,\ three I've rifled through help, and was unable to locate what…
Brandon Mercer
  • 403
  • 1
  • 4
  • 10
0
votes
2 answers

MacVim not downloading ./vim file?

Im trying to download plugins for my macVim but there is no ./Vim folder? when I download macvim all I get is the application file which works.....am I downloading it from the wrong place?
user2476540
  • 9,265
  • 4
  • 15
  • 9
0
votes
1 answer

Why my spf13 based vim looks terrible

I am pretty much new to vim. After using it for some days I decided to install spf13. Unfortunately after installing vim looks much bad than without it. Am I doing something wrong or does it really looks like the way it is looking in the image.…
user26732
  • 3,686
  • 3
  • 14
  • 18
0
votes
1 answer

Difference between gvim and macvim syntax highlighting

This is purely a curiosity-only question. I have noticed a difference between that when Macvim has syntax highlighting on, for python files, it makes a distinction between else and else:. The former it will recognoze as a keyword and highlight but…
pbhowmick
  • 1,093
  • 11
  • 26
0
votes
1 answer

Vim imaps stopped working on Mac?

I was using an older version of vim on Windows, then I switched to a Mac computer and MacVim and brought over my imap files and vimrc, but the imaps no longer work. When I open a file it gives me an "Error detected while processing .. etc.…
aris
  • 22,725
  • 1
  • 29
  • 33
0
votes
1 answer

Can vim command history store commands that produce an error?

I'm new to vim (for the seventh time) so this may not be something that makes sense for vim style but: The command history in the command window has up-arrow mapped to history and this has been very helpful in learning, except that it does not seem…
Dave
  • 7,589
  • 12
  • 36
  • 42
0
votes
1 answer

vim, mapping > to $

I'm editing a file, part of which looks like: The quick brown fox jumped over the lazy dog. ^ With the cursor under the "q". In normal mode, I want to type ">" to obtain The quick brown fox jumped over the lazy dog. …
joelwatsonfish
  • 103
  • 1
  • 1
  • 5
0
votes
1 answer

When I press enter and create a new line in vim while editing CSS, it gives me two tabs instead of just one

I debated with myself whether to post it on SuperUser but I did it here. When I have this in CSS, editing it in VIM: #container { then I press Return at the bracket to give me a new line, it sends the cursor two tabs to the left on the next…
BitLion
  • 103
  • 1
  • 18
0
votes
3 answers

(Mac)Vim always does autocomplete (even whitelines)

Somehow my macvim/vim instance is expanding every tab to the autocomplete menu, this prevents me from tabbing my code.. I really dont have a clue about the why. My vimrc is here: https://github.com/jvanbaarsen/dotfiles/blob/master/vimrc a screenshot…
jvanbaarsen
  • 339
  • 2
  • 12
0
votes
1 answer

recompiled ruby - now "mach-o, but wrong architecture" macvim error

I am recieving the following error when trying to use MacVim: ~$mvim index.php dyld: Library not loaded: /usr/lib/libruby.1.dylib Referenced from: /Applications/MacVim.app/Contents/MacOS/Vim Reason: no suitable image found. Did find: …
Dr. Frankenstein
  • 4,634
  • 7
  • 33
  • 48
0
votes
4 answers

Edit save history in vim

Let’s say I’m editing a file in vim, and I save (1). I continue editing, and I save again (2). Is it possible to “delete” this last save — meaning that vim would leave the file in its current state, but thinking the last save was 1? To clarify, I…
user137369
  • 5,219
  • 5
  • 31
  • 54