The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
30 views

MacVim: difference in syntax highlighting in terminal and GUI

I installed MacVim with homebrew, and specified the option to override system vim. It can be confirmed by looking at the version of vim in terminal. However, I don't understand why the terminal ...
0
votes
0answers
14 views

LaTeX PDF Preview in Vim

Is there plugin similar to Emacs LaTeX Preview Pane but for Vim on OSX? I need it to preview the PDF inside Vim, in its own pane/buffer. I don't need to be able to edit the PDF so no pdftotext is ...
1
vote
1answer
25 views

How to change key mapping behavior of macvim

In Ubuntu, if I hit Shift + Alt + A while in insert mode, it moves the cursor to the end of the line and stays in insert mode. Shift + Alt + I does the same for moving to the beginning of the line. ...
1
vote
1answer
335 views

Cannot install MacVim 7.4 on OS X Maverick 10.9.4?

I have brew installed (v 0.9.5) along with Xcode (Version 5.1.1 (5B1008)). When I attempt to install MacVim like so I encounter the following error message: $ brew install macvim ==> Downloading ...
0
votes
1answer
61 views

How to prevent MacVim from inherenting .profile as if it was Bash itself?

I have this guard in my .profile: if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi if [ -f "$HOME/.bash_aliases" ]; then . ...
1
vote
1answer
179 views

How to create Mac OS X global hot key to open .txt file in MacVim.app at vim 'mark'?

Can and how can I create Mac OS X global hot key (possibly mapped to an OS X service, like what OmniFocus and Fantastical offer to make new entries in their inbox/calendar, respectively) to open a ...
3
votes
1answer
101 views

OSX vs Vim: a war for the Function keys

Is there a way to quickly toggle the "use F1, F2, etc as standard function keys" in OSX? I'm a vim user on a MacBook, and I'd like to use at least some of the function keys for vim mappings, but it's ...
1
vote
0answers
51 views

Cannot bring up MacVim 7.4 on Mac OS X 10.7.5

I just installed MacVim 7.4 on Mac OS X Lion through macports, but I cannot bring it up? Typing mvim in the terminal invokes the application but doesn't bring up any window (and doesn't print anything ...
1
vote
1answer
437 views

mvim (MacVim 7.4) opening new windows rather than tabs (Mac OS X 10.8.5)

I am using the above and editing new files using mvim <filename>. The first time after I installed mvim in the /usr/local/bin directory it seemed to open files in new tabs by default, this ...
4
votes
1answer
97 views

Difficulty setting the 'Open with app' to an alias

I am trying to set MacVim, installed via homebrew, to be the default HEX file editor. I started this task by creating an alias to MacVim.app located in /usr/local/Cellar/macvim/7.3-61 and placing the ...
2
votes
0answers
94 views

Strange bug in MacVim 7.4 and some others apps on MacBook Retina

Bug (excuse me for bad quality) Explanation: In full screen mode in MacVim 7.4 i see the background panel. I tried set transparency=0 but it does not work, Is it good to see backpanel in ...
3
votes
0answers
161 views

Vim, MacVim, and Unicode

Unicode characters appear in regular old vim in the terminal (iTerm), but not MacVim. Is there a way to get MacVim to handle Unicode characters appropriately. If it helps, I installed them using ...
4
votes
1answer
805 views

Does Spotlight normally index links in ~/Applications?

I have installed MacVim through homebrew, and this resulted in an alias in ~/Applications that points to /usr/local/Cellar/macvim/7.3-66/MacVim.app. Unfortunately MacVim does not show up in Spotlight ...
1
vote
1answer
361 views

Remap arrow key to different shortcut

I am used to vim and like to move with H, J, K, L. I would like to avoid switching to the arrow keys when I am in a text field for example. Is there a way to remap the following keys in all ...
2
votes
1answer
715 views

vim does not accept syntax in vimrc

When I put the following in ~/.vimrc and save it, syntax on vim get errors while opening. I think there are some vim configuration conflicts. Herewith the errors: Error detected while ...
1
vote
0answers
252 views

iTerm2 and MacVim - how to make them play nicely together

I use vim with this wonderful plugin which constantly changes my colorscheme in order to let me find my perfect one. I use iTerm 2 too, which is themed itself. Now, when I use the non-GUI version of ...
2
votes
2answers
55 views

How to make icons appear at top of MacVim again

I just upgraded to a new version of MacVim. There used to be a row of icons at the top of every MacVim window with buttons for opening/saving files, cut/paste/delete, etc. Now that row of buttons is ...
3
votes
1answer
35 views

Where VIM keep its recordings?

I was trying to use VIM and it kept blinking "recording" all the time. Now I know that it means VIM was recording what I was typing. Where does it keep these recordings? I would like to delete these.
9
votes
5answers
589 views

How to share .bashrc files between two mac user accounts

I have set up two user logins on my computer, one for home and one for work. I would like to be able to share any of my bash and vim settings between the two users. Is there anyway to do this? Thus ...
3
votes
2answers
363 views

Vim/Emacs keybinding for `Preview.app`

Does anybody have ideas about using emacs/ vim key binding for Preview.app to browser pdf files and how?
3
votes
1answer
415 views

Sharing mac clipboard with vim inside terminal

I use vim inside terminal and trying to share the mac clipboard with vim. Compiled vim with xterm_clipboard support and installed XQuartz. MacBook-Air:web-ui nagakirank$ vim --version | grep ...
7
votes
4answers
2k views

Set macvim as default application after homebrew installation

I've installed macvim via homebrew. This is working fine. But when it commes to choose a default application for a new file type I cannot see MacVim. How can I set MacVim as the default application ...
12
votes
2answers
11k views

How do I install MacVim?

How do I install MacVim on Mountain Lion? I want to get the MacVim application, as well as the new command-line vim. I see there are several ways to do it (a snapshot from Google Code, via ...
3
votes
3answers
612 views

MacVim — switch to tab where file is opened if trying to open an already-opened file

Over the course of the day, I often open many tabs/windows open in MacVim, I forget exactly which files I've opened etc. Then when I try to open a file I have already opened somewhere, I get ...
3
votes
1answer
319 views

Assign a key to switch to fullscreen instance of MacVim

I have MacVim running full screen in Mac OS X Lion, and I want to switch to the MacVim screen when I hit e.g. F15. Is there a way to accomplish this?
3
votes
2answers
724 views

MacVim — how to make Ctrl+A go to beginning of line, Ctrl+E to the end of the line

I'm trying to switch to MacVim as my main editor, and I'm liking it so far, except for one issue: I got really used to the Mac shortcuts control-A to go to the beginning of a line, and control-E to ...
3
votes
1answer
337 views

Annoying blank window in MacVim - how to get rid of it?

Whenever I start MacVim, a window opens that is not a buffer and doesn't seem to do anything - it doesn't react to any input at all, even - and that is the annoying part - the Mac OS X close button ...
3
votes
1answer
335 views

Has anybody used Dragon Dictate on OS X with MacVIM

I'm a Ruby on Rails developer and I've seen a very intriguing video of a developer using Dragon Dictate on Windows to do software development. I'm a long-time OS X / VIM user and I am wondering if ...
1
vote
1answer
613 views

Saving files on lost focus in console Vim

I have been trying to setup the console version of vim to save any changed files when the Terminal window loses focus. Following these instructions does not work. Am I to assume that maybe the ...
5
votes
2answers
520 views

Is it possible to make all text fields in OS X editable with Vi keybindings?

What I'm looking for is a way to use Vi-style keybindings throughout OS X, similar to how invoking: $ set -io vi in a Terminal will give Vi-style keybindings when using the shell. I'm guessing this ...
2
votes
1answer
211 views

Activity process does not terminate?

I am using a Mac and I use Macvim for programming. If my program happens to go into an infinite loop and I have to quit Macvim and restart it due to this the program will restart but the program ...
2
votes
1answer
739 views

How to make MacVim remember its zoom level

Every time I open the MacVim, the font size of its contents are just too small to read. So I have to zoom in (with Command + +) several time before editing stuff. The problem is it doesn't remember ...
3
votes
1answer
3k views

where is ~/.vim folder? and how to install themes?

I downloaded color sample pack from http://vim.sourceforge.net/scripts/script.php?script_id=625 it says i should unzip and place it into ~/.vim but where is this folder? I tried unzip it to my ...
7
votes
4answers
8k views

Where does macvim keep it's themes?

I'm using MacVim and am attempting to change the default theme. I have the following in my .vimrc file (and in .gvimrc as well): colorscheme macvim But the theme remains unchanged. What am I doing ...
2
votes
2answers
1k views

How to update PHP syntax file for vim?

I notice the syntax file for PHP for vim is quite out-dated. Does anyone know where is these syntax file located in Mac so I can do the upgrade?
2
votes
2answers
241 views

How do I update the Icon of a program running from /usr/local/bin on the Dock?

I often run mvim from iTerm, and it pops up on the Dock with the default vim icon. A friend gave me a nice icon for mvim, how do I go about updating the icon for mvim launched from a console?
0
votes
3answers
914 views

Can't switch theme in MacVim

I recently installed MacVim along with Janus. When I'm inside macVim I can change my color scheme with :color freya but if i restart MacVim the them is reverted back to ir_black. I've added freya to ...
1
vote
0answers
452 views

Is there a vim bundle for Textmate?

If i want to edit a vimrc file using Textmate I always get this non highlighted flat file. To have a little bit of colors I select the Shell (Bash) bundle but this is far from perfect for editing ...
2
votes
2answers
179 views

What are the control keys available when working in a text field?

I know that ctrl-e will move to me to the end of a line, and ctrl-a to the start. I also know that ctrl-n will move down a line. What other ctrl-key combinations are there? Is it possible to move ...
3
votes
4answers
622 views

How do I jump to a topic in vim under Terminal for a French Keyboard

I'm on a French keyboard and I'm unable to jump to a topic in vim: If I go ':help' the instructions say: Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-]. I've ...
4
votes
1answer
5k views

How to enable Syntax highlighting on Vim in Mac OS Terminal?

Is there a way to let Vim on Mac OS highlighten syntax of different languages in Terminal? I would guess for vim it is a .vimrc thing, right? (But I cannot find this file in my home folder).
6
votes
4answers
2k views

Replaced /usr/bin/vim - now I get error messages

I tried to upgrade from the default vim install on Mac OS X (vim 7.2) to the one used by MacVim (vim 7.3) by creating a symlink: ln -s /Applications/MacVim.app/Contents/MacOS/Vim /usr/bin/vim ...
5
votes
3answers
6k views

Use MacVim as standard Terminal?

I used to love the terminal.app for many reasons. I especially liked the way I could navigate to a file and edit using vim it all in one app, without having to leave the keyboard. But, since the ...
5
votes
1answer
620 views

Vim mappings / plugin for Xcode

I'm a developer who mostly does web stuff in Ruby and C#, and I'd like to start tinkering with iOS and Mac development. Over the last few month I've been trying to get fluent in one set of key ...
1
vote
2answers
861 views

How to get MacVim to autoload ~/.vim/syntax

This might be something quirky about MacVim, so I'll ask here. I put a syntax file in ~/.vim/syntax, but it doesn't load. I have syntax on in my .vimrc. When I open the editor, :scriptnames doesn't ...
4
votes
3answers
1k views

Espresso Libre theme for MacVim?

I recently changed editors from TextMate to MacVim. Thanks in part to vimtutor, things are going pretty well. But I miss the Espresso Libre color scheme: Is there a place where I can get Espresso ...