Questions tagged [macos]

For questions specific to the macOS (formerly OS X) operating system.

Filter by
Sorted by
Tagged with
2
votes
1answer
164 views

Some umlauts and extended Latin characters are shown as fullwidth

In Vim, I find each of ü and ß takes up fullwidth, i.e. twice as fat as ASCII characters. I am writing some German-learning notes, and find this to be very confusing, since I have been mistaken that ...
8
votes
3answers
8k views

How do I run Homebrew vi on macOS instead of the older version Apple provided?

I have recently upgraded to Vim 8 using Homebrew, but my vi commands still load the OS-provided version 7.4 of Vim. I could add an alias to vi, but is there another way?
4
votes
1answer
196 views

When using macvim with symlinks, is opening vim just calling mvim -v?

I've installed macvim on OSX 10.11.6 using brew install macvim --with-override-system-vim. This worked fine. I now have some new aliases/symlinks (I'm not too familiar with the differences): . #in ...
3
votes
2answers
1k views

Emulate Apple “option” and “command” key text motions?

I mostly use Vim (or MacVim) to edit text, but occasionally (such as in writing this question), I use the Mac OS text editing keybindings built in to all text entry fields accessed through a Mac. I ...
1
vote
2answers
2k views

Solarized color scheme doesn't work Mac Terminal.app

I want to use the Solarized Light theme in both my Terminal and VIM. I seem to have got it working in Terminal, I downloaded the entire package from their website, tree output, and then in my ...
0
votes
2answers
841 views

Make neovim background the same colour as the terminal background

In addition to what was asked above, is there also a way for (neo)vim background colour to change when the terminal background colour is changed? It's running in OSX in the default terminal app.
-1
votes
1answer
106 views

How do I evenly distribute GVim windows started from a key-binding? [closed]

Code % http://vi.stackexchange.com/a/7627/2923 if has("win32") || has("win64") :vnoremap <Leader>gf :<C-U>'<,'>g/^/silent! exec "!START /B gnvim " . shellescape('<cfile>') &...
5
votes
2answers
6k views

How to Start Graphical Neovim from OS X Terminal?

I have installed the terminal neovim which starts by nvim, and the graphical neovim. I cannot find the keybinding to start the graphical neovim in Terminal. I installed the neovim by following ...
1
vote
1answer
79 views

How do I make key mappings for both OS X and Linux?

command! -nargs=0 -bar UpdateBuff if empty(bufname('%')) \| browse confirm write \| else \| confirm ...
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 ...
5
votes
2answers
304 views

Properly restore terminal title after suspending vim

I'm using Vim 7.3 on OS X Terminal version 2.6.1 (OS X version 10.11.2). If it's relevant, my version is compiled without X11. When I open a file in Vim, the terminal title bar changes to show the ...
0
votes
1answer
501 views

vi or vim: Mac/Iterm 2 highlight-paste [closed]

When editing with Vim on Macbook Pro with Iterm2 interface I can copy text by highlighting text with left-button double click on mouse, paste text by pressing center wheel on mouse. Instead of (2) I ...
5
votes
1answer
564 views

Problems with paths that includes swedish characters

Update I've now also tried this on my Arch setup and everything works fine there. vim --version on that machine says: VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 28 2015 08:49:36) Included ...
3
votes
1answer
1k views

How to uninstall NeoBundle in OS X?

I was trying to revamp the vim editor so I installed NeoBundle but I didn't like it. How can I uninstall it completely? I followed the installation instructions given in the readme: $ curl https://...
4
votes
0answers
297 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 ...
1
vote
1answer
445 views

Terminal in Mac OS X Yosemite gets messed up after exiting vim

This happens with either stock Yosemite terminal, or iterm2. When I exit vim, this is my terminal. As you can see, colors are messed up in my terminal after exiting vim and it doesn't come back ...
4
votes
2answers
396 views

Why is the cursorline always showing after the cursor moves over a line?

Can anyone can help me, my vim always shows the cursorline, like this: I have set nocursorline in the ~/.vimrc, but it has no effect. vim version is: 7.4.622 vim is run on OSX 10.10.3, how to ...
6
votes
1answer
857 views

Clipboard sharing broke under MacOS X

I'm using (roughly) the same config for my mac and my ubuntu machine. I use set clipboard=unnamed,unnamedplus To conveniently share vim's clipboard with the system clipboard. However, lately the ...
2
votes
2answers
147 views

PDF viewer syncing

The Mac latex editor 'TeXShop' has a great feature -- I can right-click anywhere in my tex and it shows me the corresponding character of the generated PDF. Similarly I can click on PDF and jump to ...
2
votes
1answer
467 views

CtrlP searches entire machine

I use CtrlP with vim, installed it with Plug and have it set up mostly to default settings. Whenever I use the plugin though, it seems to search through all my files on my entire machine. So instead ...
3
votes
3answers
116 views

How to map CMD+Alt alone to the command?

I am trying to map Cmd+Alt to start searching in vim (/). The only question is: how would I do this? I know to map Alt in vimscript is by typing <A> but I do not know how to do Cmd. I also want ...
4
votes
2answers
3k views

I can't get 256 colours to work with Vim in iTerm2 on MacOS X

I am having a rough time getting the colors right with my vim setup and the color scheme I want to use. Using: OSX 10.10.2 Vim 7.4 iTerm2 (Set to report terminal type as "xterm-256color") gruvbox ...

1
2