The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
2
votes
3answers
176 views

Defining mappings for files of the “null” type through /ftplugin

For files of a certain filetype, specifying "file-type-specific" mappings is simple. If Vim opens a fill and return filetype=python after issuing command :set filetype? through command-line (native ...
2
votes
1answer
52 views

How to trace the origin of an autocomplete feature, in order to turn it off?

Is there any way to trace the source of an auto-complete event within (Mac)Vim? Ie, where within which plugin this is and how it can be turned off? In my case, I type {} in a .tex file and it ...
2
votes
0answers
92 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
222 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
84 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
247 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
116 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
1answer
970 views

How to change Vim's :hardcopy printfont?

I would like to be able to print in other than Courier font using the :ha command. Investigating more closely, I found that it is documented that the Courier font is always used: - 'printfont' - The ...
1
vote
1answer
73 views

ctrl+o and ctrl+i don't work with line skip motion 10j

I was very excited to see the relative line number feature in vim. Now vertical navigation would be a breeze, and instead of typing huge numbers, I can simply do 10j to move 10 lines down. However, ...
1
vote
1answer
169 views

Assign shortcut to a Split window resize Ctrl+w+|

I can expand a vertical split screen to occupy most of the area using Ctrl+w+| Now I would like to map that shortcut to Ctrl+m. I tried the following but it failed. nnoremap <C-m> <C-W&...
1
vote
1answer
120 views

How to let Gvim and Mvim source the same file, shared through Dropbox?

I am using Vim on multiple operating systems (OS X, Windows, Linux Mint) on a daily basis, and I chose to have those directory-free and/or distribution-independent settings synced across the machines ...
1
vote
1answer
314 views

Cut and copy : Blackhole and default register assignment

I currently have something like this in my vimrc. The reason i have this is because I do not want items to be copied to the default register when I delete or change. "Copy the contents of delete to ...
1
vote
1answer
323 views

Integrate MacVim and RStudio

I'm using MacVim, and I want to write codes for R in MacVim. I want to have a hotkey which can: Send a line where the cursor is in MacVim to RStudio, execute the code in RStudio, and back a cursor to ...
1
vote
1answer
47 views

Avoid “write partial file”?

I use MacVim. I write-to-file frequently using ":w". I often have some lines selected visually when I do this, and get an annoying "Write partial file" dialogue (which more annoyingly doesn't tab ...
1
vote
1answer
2k views

NERDTreeTabs error message: E492: Not an editor command

I am using macvim Version 8.0.1098 (137) MacOS Sierra 10.12.6. I downloaded NerdTree tabs from here. I am using pathogen to manage my plugins. All the plugins work except this one. This is the error ...
1
vote
1answer
182 views

Unable to use the clipboard when inside terminal (:term) on macOS

Actually, I am unable to do so when I am using MacVim Application. But inside iterm using Vim (the same MacVim release), I am able to. They also both use the same .vimrc . Both versions compiled ...
1
vote
1answer
500 views

Macvim shell command not working as expected

I recently switched to macvim, Everything work perfectly apart from the :shell command, which produces weird output, I tried few solutions but noting seems to me working out. :shell \n\w\n\u $ [...
1
vote
1answer
329 views

What does Command+s do in MacVim?

Is a Command+s shortcut on a MacVim equivalent to wa ? I know that a wa will save all the data being displayed in all the viewport. Will the Command+s shortcut do the same ?
1
vote
1answer
485 views

YouCompleteMe C++ semantic completion does not work for . operator

For the majority of Semantic triggers in C++ YCM works fine, but I've been unable to make it work for the . operator on a type. (For example, for a vector type I'd like to have the list of its ...
1
vote
1answer
242 views

Macvim - CJK-specific font settings?

Currently in my MacVim, the English font (Source Code Pro Light) is fine, but the Chinese font is being rendered in a very ugly manner. Is there any way to specify what font to use/fontsize for CJK ...
1
vote
0answers
73 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
33 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
85 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
56 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
2answers
115 views

Moving Vim Plugins to a separated file [closed]

I want to separate my Vim Plugins to a separated file since I using more plugins in my .vimrc file. it this possible?
1
vote
2answers
2k views

Youcompleteme on Mac OS X

I'm trying to use the YouCompleteMe auto completion plugin. I have installed MacVim version 7.4. I followed the instructions on the linked page for Mac OS X by making the symlink: ln -s /usr/local/...
1
vote
0answers
57 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
1answer
301 views

Can't get color output in MacVim's command line

When I try and trigger PHPUnit tests within MacVim, I can't see coloured outputs in my command line:
1
vote
0answers
95 views

Permission Error when using vim-geeknote [closed]

I was trying to use vim-geeknote in MacVim (Kaoriya Edition, MacVim modified for Japanese environment). I followed the official way of installing geeknote and it works in terminal (with sudo). I ...
1
vote
0answers
505 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
79 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
1answer
166 views

How do I approach understanding the EasyGrep documentation?

I haven't been coding too long, and I've recently switched over to MacVim. I'm starting to see why doing so has a high "learning curve." I'm not familiar with hardcore Vim commands, and I tried adding ...
0
votes
2answers
50 views

Using different character(s) as linebreak

Given an input file of the form #1. This STUFF Content related to 1 ...and some tips #4. Fouth heading 4para 4para #3. 3para 3para I'd like to be able to sort it to get: #1. This STUFF ...
0
votes
1answer
200 views

How to remove these characters when tabbing on VIM

I'm having this characters '>' when I'm tabbing using VIM. how can I remove this when tabbing? It's very annoying
0
votes
1answer
113 views

Old source code files display unexpected characters

I'm attempting to open the recently released source files of the ancient DeluxePaint on MacVim, however, every file has an unexpected sequence of ^Z^Z^Z^Z^Z... characters at the end: Two questions: ...
0
votes
1answer
113 views

Version conflict between vi and vim

I installed some plugins which is supported above vi version 7.4. When i open files with vi command its will show the plugin not supported with version 7.3. After that i was opened with vim command ...
0
votes
1answer
581 views

Highlighting word by word in “insert” mode?

New to Vim here; did several searches on how to do this in Vim, but without any luck (maybe it's too simple). I'm attempting to highlight words in sequence, in the same way that SHIFT + OPTION + [...
0
votes
1answer
47 views

How to apply a custom highlight file?

I'm playing with Vim highlight, so I made the following (syntax.vim): hi Comment ctermfg=DarkGray hi LineNR ctermfg=DarkGray hi CursorLineNR ctermfg=Red hi String ctermfg=Gray hi PreProc ctermfg=...
0
votes
1answer
2k views

E488: Trailing Characters error after attempting to install vim-hybrid

So I'm trying to use Vim-Hybrid as my native Vim theme but I've been running into a couple issues with it. Everytime I run the vim command now, I've been receiving the following error message: E488: ...
0
votes
2answers
119 views

Is it possible to increase the number of visible tabs in MacVim (without changing the window width)?

The question is more or less in the title, until recently I have the feeling that I got a fairly large number of visible tabs in any window of MacVim. I either updated MacVim or my system or something ...
0
votes
0answers
37 views

has('mac') returns 0, but I'm on a mac? [duplicate]

I am using vim in a terminal on my mac. I understand that the command: echo has('mac') should return 1 (it does on macvim), because it's running on a mac. But it returns 0. Can anyone tell me why ...
0
votes
0answers
34 views

Mapping Buffer Movement [duplicate]

How can I configure Vim and MacVim to respond to control-arrow and meta-{h,l} key-presses? The configuration below is ignored by both. I'm using iTerm2 (version 3.2.7), Tmux (version 2.8), and Vim (...
0
votes
0answers
20 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 ...
0
votes
1answer
83 views

vim is messed up in iterm

I installed both mvim(macvim) and vim through brew. vim was installed using "brew install vim " (with python3, doesn't matter ). The OS is High Sierra. While mvim is completely fine, vim is ...
0
votes
1answer
136 views

neocomplete error when using latest spf13-vim

I have been using spf13-vim for a while now. Recently I have upgraded by pulling down master from GitHub repo. After the updates I see that spf13-vim has neocomplete enabled by default. One of the ...
0
votes
1answer
297 views

How to make <S-A-Left> and <S-A-Right> work in vim within Mac Terminal

I'm using these keyboard shortcuts to navigate/manipulate tabs in MacVim " tab navigation nnoremap <silent> <S-Left> :tabprevious<CR> nnoremap <silent> <S-Right> :...
0
votes
1answer
50 views

Not saving colon commands in MacVim

I am using MacVim on both work and home computers. My colon commands are being saved in my home computers but not on my work computer. My .vimrc on both computers is: set shell=/bin/bash execute ...
0
votes
1answer
681 views

How to make sure every 'echo[msg]' command is visible?

I have a couple of functions chained together to verbose messages in my status line in MacVim. I have noticed that in one particular occasion a line is blank and is not delivering the message it is ...
0
votes
1answer
76 views

Font on Mac Catalina

I just now upgraded to Catalina on Mac (10.15) and immediately ran into an odd font behavior: when I open a file with MacVim (8.1.1722 (157)), the letters with tails (g, y, p...) have their tails cut ...