Questions tagged [macvim]

Vim modified to run as a native OSX ("Cocoa") application. This is NOT the Vim that's included on OSX by default.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
2k views

Collapse all directories in NerdTree by default

I recently restored my computer to a clean install and copied over my dot files. MacVim behaves quite a bit differently than my previous install. One main thing is that NerdTree no longer collapses ...
4
votes
0answers
314 views

Encoding issue with filename in MacVim

Question In MacVim I type :tabe jäderberg.txt to open a buffer for that file. The file does not yet exist. My status line displays the file name jäderberg.txt. I do i<C-r>% to put the file name ...
3
votes
0answers
83 views

Why did MacVim try to connect to Vimium server?

So, I have installed Vimium today, and when I first relaunched MacVim, my Little Snitch showed that it tried to connect to vimium.github.io, which it never did before. Why did it do that and how has ...
2
votes
0answers
100 views

Manual fold issue on both Mac & Ubuntu

When I set foldmethod=manual and then I'm typing <zc> E490: No fold found is raising. Same story with set foldmethod=marker. The behavior is the same on Mac Sierra and Ubuntu 16.04. I ...
2
votes
0answers
250 views

syntastic not working on macvim, but works perfectly fine on the terminal

I have an issue where in MacVim, I don't get any syntastic/eslint related functionality. When I run !which eslint in macvim, I get "eslint not found" - eslint is definitely installed. If I run !...
2
votes
0answers
89 views

:!make is at least 10times slower compared to terminal on MacOS X

I am using MacVim version 7.4. I am authoring a large LaTeX file and I use a GNU Makefile to compile the documents along with lots of figures and other targets. The command make generates lots of ...
2
votes
0answers
301 views

Send SIGINT to iTerm from vim

I'm using vim-rspec on a mac with macvim and iterm. I'm using this command to clear the iTerm screen and run the test in iTerm. let g:rspec_command = "clear && rspec {spec}" let g:...
2
votes
0answers
128 views

Explore command causing errors

I open vim and then use the command :Explore. Then I got these errors: Error detected while processing function netrw#Explore..netrw#LocalBrowseCheck..<SNR>16_NetrwBrowse..<SNR>...
1
vote
0answers
71 views

Alternative to screen/tmux for window management, that can survive a restart

I just bought a new macbook and I want to start my dev environment fresh. [I've been using the same sorta broken setup for about 5 years now] Currently, I use vim, in a screen session, in a terminal. ...
1
vote
0answers
47 views

What are the acceptable values for termwinkey?

What are the acceptable values for termwinkey? From VIM's documentation, it appears that any single keystroke (multi-byte or not) should be valid. However, setting it to <D-'> (my first choice) ...
1
vote
0answers
217 views

Vim: How to have YouCompleteMe autocomplete shell script variable names and functions from “source”d files?

I use macvim with YouCompleteMe (YCM), which I recently updated and recompiled. I followed the YCM instructions for OSX. I'm also using iterm2, tmux and zsh, all of which are installed with brew and ...
1
vote
0answers
33 views

How do I navigate using tags in a personal copy of the vim documentation?

As background: I am a beginner in VIM and I want to go through the built-in vim manual, but with my own copy (not the system copy) so that I can practice in the manual text as I go along (I also ...
1
vote
0answers
172 views

Simple .vimrc takes a very long time to save

Saving a file with :w takes several seconds for me, and I can't figure out the culprit. This is my .vimrc " Specify a directory for plugins " - For Neovim: ~/.local/share/nvim/plugged " - Avoid using ...
1
vote
0answers
42 views

Why does MacVim crash on Zoom

If I open Macvim, everything works fine, unless I zoom in (using Cmd+"+"). If I do that, then I get a strange black boarder around the added bit of the window and the whole thing freezes. This is ...
1
vote
0answers
108 views

macvim does not recognize math latex symbols anymore

I am running Macvim 8.0.1633 (146) on macos 10.13.3 Weirdly, even with syntax on, the math highlighting is plain wrong: Here, I didn't search for end{equation} Does anyone know what is going on?
1
vote
0answers
63 views

Display issue: Vertically center in line when using linespace 20

I have set linespace 20 in my .vimrc and I quite like the clarity it provides. The only issue I see right now is: Notice how the spacing at the top end of the line is more than the bottom end of ...
1
vote
0answers
60 views

MacVim current tab goes black when closing another tab

I am currently having an issue with MacVim: If two tabs are open say tabA and tabB. When I am on tabA and then close tabB, the tabA goes black and I need to refresh it. I do the refresh with command +...
1
vote
0answers
663 views

vim youcompleteme not working

Currently i'm working on Node.js and I wanted some additional plugins which can help me learning this new technology. I installed tern_for_js and YouCompleteMe from Vundle. I also compiled YCM, but I ...
1
vote
0answers
25 views

Parentheses off the page stop being recognized

I am using a recorded macro to manually wrap an extremely long string in a python script, like this: blah = ('blahblah ... blah blah') to blah = ('blahblah...' 'blahblah...' ... ...
1
vote
0answers
92 views

How do I prevent MacVim from automatically starting Terminal.app on OSX 10.10?

I have a laptop with latest OSX 10.10.4 and have tried to install latest MacVim via homebrew, cask and "releases" section in github page. All works fine, but starting MacVim also opens Terminal.app, ...
0
votes
0answers
13 views

iterm2 vim closes after I run current (python) file

I am using iterm2 and enjoy using vim terminal vim within it. A really annoying issue i'm having is that when writing python .py files and compiling using commands like: :!python % The code compiles ...
0
votes
0answers
299 views

YouCompleteMe installation-problem with Vim, Vundle on macOS 10.4.6/hombrew

I tried to install YCM. After some faults, Vundle shows that the install is complete, but YCM-Server is down. When I ran install.py I allways get this kind of error ... ' fatal error: '...
0
votes
0answers
17 views

Why is visualbell failing to work in Macvim?

I start Macvim without any .vimrc (by the simple method of deleting the .vimrc file) The system beep works (testing by hitting the escape key a few times) I run :set visualbell and smack escape a ...
0
votes
0answers
136 views

Ultisnips stopped working this morning

I've been using Vim for about a year now (so still a newbie), but this morning UltiSnips stopped working for me. Any help would be really appreciated! When I run :UltiSnipsEdit! the console returns ...
0
votes
0answers
88 views

What is the [0/0] that pops up in corner of tmux vim if I try to scroll up?

When I'm in vim on tmux with terminal and I scroll up, the cursor will jump to where my mouse is and show a [0/0] on the right corner of my window. When that happens, I can't type or move the cursor ...