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
-1
votes
1 answer

Macvim replaces throughout file without /g option

When I do something like :%s/orig/new in macvim, not :%s/orig/new/g, it still replaces all occurences of orig throughout the file. I only want it to replace all the occurences in the current line. Is this normal for macvim? Might this be an option…
Mattias
  • 715
  • 1
  • 6
  • 19
-1
votes
1 answer

How to remove macvim left side menu

I want to know to how remove left part which I don't know how to name it using macvim. I have tried below code in .vimrc. :set guioptions-=m "remove menu bar :set guioptions-=T "remove toolbar :set guioptions-=r "remove right-hand scroll…
Peter Tsung
  • 915
  • 2
  • 10
  • 20
-1
votes
1 answer

Which vimrc should I edit to add plugins

After running :scriptnames, I found that I have the files gvimrc, runtime, and vimrc in the path /Applications/MacVim.app/Contents/Resources/vim From my knowledge, I should be adding my plugins into a .vimrc file in my home directory. Does adding in…
JeanieJ
  • 328
  • 3
  • 10
-1
votes
1 answer

Difference between using has and !has in vim?

What is the difference between using has() and !has() in vimscript?
Brandon Mercer
  • 403
  • 1
  • 4
  • 10
-1
votes
2 answers

Symlinking gvimrc file?

I wanted to keep all files related to vim in one folder under my $HOME directory, more specifically my gvimrc file. I've moved the original .gvimrc file to $HOME/vim/.gvimrc and created a symlink under my $HOME directory. However, when I run…
Brandon Mercer
  • 403
  • 1
  • 4
  • 10
-1
votes
4 answers

Why isn't this file being copied to my $PATH?

I was trying to add the mvim shell script to /usr/local/bin form bash as per this question and everything seemed to work; however, I am still getting "command not found" whenever I try to execute the script. From the directory where my mvim file is…
bqui56
  • 2,091
  • 8
  • 22
  • 40
-2
votes
1 answer

How to get rid of ">>" on vim shows after modification

">>" would show up on the sidebar of the vim editor every time I press (i map them to esc) This happens in both zsh shell and MacVim app. Even a deleting my .vimrc would not help can anyone please help me
-2
votes
1 answer

How to enable the vim arrow keys in insert mode on a Mac?

After working with vim in environments other than Mac I find myself missing the ability to use the arrow keys while in insert mode to navigate around. I know what I have to change is in ~/.vimrc but I don't know the syntax for it: inoremap
-2
votes
1 answer

UltiSnips plugin does not working on MacVim

I installed UltiSnips plugin on MacVim using vundle. When I run :UltiSnipsEdit command, I got error below: Error detected while processing /Users/arya/.vim/bundle/ultisnips/autoload/UltiSnips.vim: line 7: E319: Sorry, the command is not available…
Aryabhima A. Rahman
  • 375
  • 1
  • 5
  • 10
-2
votes
1 answer

Snippet plugin for MacVim does not working

I installed UltiSnips plugin on MacVim using vundle. Below is .vimrc call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle, required Plugin…
Aryabhima A. Rahman
  • 375
  • 1
  • 5
  • 10
-2
votes
1 answer

How to make sure MacVim runs stable in terminal

I have been using MacVim for a while. It has always been the non-terminal version. Recently I started using tmux and I would like to be able to use vim inside a tmux session. Only when I started to tweak my settings, I realised that the terminal…
mbilyanov
  • 2,315
  • 4
  • 29
  • 49
-3
votes
2 answers

Difference between vi, vim and macvim

Could anyone help me in strongly understanding in detail between these three things vi, vim, and macvim. I read a lot on these 3 things separately, but i couldn't got an overview on all these. I need detail understanding on these 3 things on this…
skyler
  • 742
  • 1
  • 10
  • 24
-5
votes
4 answers

Python Development [Type Error]

I am a beginner and recently started python development. The code i was working on: import random import textwrap def show_message(dotted_line,width): print(dotted_line) print("\033[1m"+ "Attack of clones:" + "\033[0m") message = ( …
Desmond
  • 29
  • 2
  • 7
-8
votes
2 answers

Vim is a pain to use - I'm just not getting it

I'm really frustrated with vim (I'm using macvim). The frustration comes when I want to enter the insert mode. I click in an area and sometimes it goes into another mode, visual insert or something like that. Sometimes when I click to select text…
Sarah
  • 19
  • 1
  • 3
1 2 3
63
64