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

How do you remove the space at the bottom of Vim?

I recently started using MacVim and was wondering how I can change the scroll behaviour of Vim so that when the scroll bar reaches the end of the code, it doesn't go any further (just something that irks me since other text editors I've used aren't…
u3l
  • 3,342
  • 4
  • 34
  • 51
0
votes
1 answer

aText not replacing Snippets in MacVim

I used aText to fill in snippets for different functions across my computer, but it doesn't seem to be working with MacVim. If I add shortcuts in System Preferences -> Keyboard -> Text, they work, but often they aren't very consistent. Sometimes I…
lawdawg
  • 121
  • 6
  • 13
0
votes
1 answer

Issue in vim-rspec - not mapping the right path

The vim-rspec mapping is only getting the right path for one test. Somehow all the other tests are not loading with the right path. When I do the command inside vim on the file that works, it gives the right command: rspec…
0
votes
1 answer

How to correct the style of the status bar in vim?

I'm using vim-airline in order to style my status bar, but I can't have it as it should be. This is how it's looking now: This is how it should look: You can see that purple areas are not 'sharp-pointed' to the right or the left. What do you think…
goerwin
  • 1,231
  • 10
  • 20
0
votes
1 answer

MacVim unable to load settings from custom gvimrc or vimrc files

Ok so I'm setting up MacVim on my new macbook with Yosemite, using a homebrew installation. To start off with I have no ~/.vimrc or ~/.gvimrc files setup at all. Also I'm already familiar with links on stackoverflow which have explained that the…
Ben Franklin
  • 626
  • 6
  • 21
0
votes
1 answer

Vim plugin for browsing through Rake or Capistrano tasks

I'm looking for a plugin for Vim that lets me browse through all my Rake tasks and Capistrano tasks in a file. Does this exists or could Ctags be extended easily to make this work in Taglist or NERD_tree? I'm using MacVim with Janus
mipmip
  • 1,072
  • 1
  • 10
  • 24
0
votes
1 answer

iTerm don't save 'set' parameters to use vim

I'm using iTerm2 with vim to work with python files. When I create or start editing a file using 'vi', I always have to introduce all the configuration values like ':set number', ':syntax on', etc. I have edited '.vimrc' from MacVim to save this…
coyr
  • 659
  • 6
  • 9
0
votes
1 answer

vim add custom color for angular code

I'm completely new to vim and I'm using macvim at the moment. I have installed a color scheme but it's not very good for angularjs code. I wanted to modify it to made any $scope a color and anything that follows as .function another color. Current…
tonyarash
  • 55
  • 10
0
votes
0 answers

mac open vim under tmux will casue vim Huaping

Computer:Mabbook Pro retina 2012 late OS: OS X 10.9 and 10.10 all have this problem terminal: iTerm and terminal all have this problem vim version: Macvim 7.4.258 tmux version: stable 1.9a (bottled) HEAD my dotfiles: .vimrc .zshrc .tmux.conf when I…
mualucky
  • 1
  • 1
0
votes
1 answer

How can i prevent my vim plugins being overridden by older ones?

I have installed MacVim via homebrew, and pathogen via downloading the pathogen.vim file to my ~/.vim/autoload directory. I have got cloned the vim-perl plugin into ~/.vim/bundle directory. However, when i open a perl file, it uses the syntax…
cubabit
  • 2,527
  • 3
  • 21
  • 34
0
votes
1 answer

Vim: How to turn off splitting

Is there a way to permanently turn off window splitting? I want all buffers to open in full windows. Can it be turned off permanently somehow?
0
votes
2 answers

Vim: Hide all code around selected code

I want to be able to hide all code around the specific section of code that I am working with. Now I am wondering if this is possible in Vim somehow. I have experimented with it a bit already and have been successful at hiding lines above and below…
0
votes
1 answer

How to fold the class block in Vim?

I know zR/zM/za are used to fold/unfold everything or blocks. But are there any ways to fold the specific class in Vim if there are several classes in same file?
Peterxwl
  • 1,023
  • 3
  • 16
  • 24
0
votes
1 answer

setting EDITOR variable for macvim

seems like it would be a trivial thing. Does it matter if it's .profile or .bash_profile or .bashrc or something else? And what to put in it? I have tried export "EDITOR=vim" and export EDITOR=vim and export EDITOR="/usr/bin/vim" and export…
sivanes
  • 713
  • 1
  • 13
  • 22
0
votes
1 answer

Macvim does not show colors in the command line

I cannot get macvim to show color in my terminal for cucumber or rspec. The output looks like this: 14[0m [32mGiven I have a post with name "[32m[1mSample Post[0m[0m[32m"[90m # features/step_definitions/posts_steps.rb:1[0m[0m …
Sam
  • 2,761
  • 3
  • 19
  • 30