Questions tagged [macos]
Questions specific to the macOS operating system.
128 questions
1 vote
1 answer
93 views
Mapping does not work in "Press ENTER or type command to continue" screen only on macOS
Assume this setup: Start Vim via command vim -u NONE -N. Execute nnoremap <C-e> :!echo hello<CR> to create a mapping. This mapping means, when I press Ctrl-e, it runs the shell command ...
2 votes
1 answer
253 views
Is there a way to enable Python on Vim installed via MacPorts?
I'm on macOS Monterey, most of my apps (including Vim and Neovim) are installed via Homebrew. Unfortunately, Homebrew just started stopped supporting Monterey, which means more packages will have to ...
1 vote
0 answers
239 views
From vim to nvim LazyVim - plugins help needed
moving from my vim setup to LazyVim I have troubles to setup some plugins. Most important would be a working plugin for surround like mini-surround, vim-surround (which I am used to) or nvim-surround. ...
0 votes
2 answers
327 views
Homebrew Vim not sourcing ~/.vimrc after iTerm, MacOS updates
I am using vim installed via homebrew: > which vim /opt/homebrew/bin/vim > vim --version VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 09 2024 07:15:02) macOS version - arm64 Included ...
0 votes
1 answer
130 views
When text is selected in Neovim on macOS, that selection isn't added to the primary clipboard. Can it be?
When using neovim on macOS (at least macOS), text that is selected isn't automatically added to the primary selection for the operating system. One must use the terminal's selection utilities, or yank ...
2 votes
1 answer
184 views
How do I prevent/remove/delete temp files?
When I create .txt files using Vim the following files are also created. How do I prevent/remove/auto-delete the files ending in ~?
1 vote
1 answer
151 views
How to find out what's happen between switching from insert & to normal mode? [closed]
When I type something on insert mode and press escape to get normal mode, the cursor goes away and the Neovim does something behind the scenes for a couple of seconds. I can stop this behaviour with ...
0 votes
0 answers
93 views
Why is the buffer being overwritten with the commands I use in normal mode?
I am using Alacritty terminal on MacOS and when I am type commands in Normal mode sometimes it writes them over the text. For example, when moving with l, it prints the l in an empty space it finds in ...
2 votes
1 answer
817 views
Neovim shows python related error after installing semshi
I'm currently in the process of setting up my configuration for my Neovim environment and I'm struggling with some Python related issues. I'm on macOS with nvim 0.9.4, installed over brew (if that ...
0 votes
1 answer
210 views
MacOS - Vim overriding my highlight config in ~/.vimrc
~/.vimrc: set backspace=2 set nocompatible set clipboard^=unnamed,unnamedplus syntax on set expandtab tabstop=2 shiftwidth=2 set smartindent set hlsearch set incsearch set ignorecase set number ...
0 votes
1 answer
478 views
Resizing split panes in vim with {n}Ctrl-W +/- not working as described on MacOS
I am using vim on MacOS. I have one vertical split down the middle and two panes split horizontally on the left side ( :Vex Ctrl wh :Sex ). From my understanding nCtrl w +|- should resize the focused ...
-1 votes
1 answer
189 views
Does Vim Cache the Output of system()?
Does it? I'm not sure. I'm getting this error, and it seems to be looking for a nonexistent cache folder: E282: Cannot read from "/var/folders/yh/z3ydby_56qz7mltrddsv3lqw0000gn/T/vi3voZp/0" ...
5 votes
1 answer
3k views
Mapping a "Command" key in Neovim / alacritty
I am failing to map Command+T, Command+[ and Command+] keys in Neovim under macOS / Alacritty. I've reduced my Alacritty to be minimal: env: TERM: xterm-256color font: size: 16 key_bindings: - {...
0 votes
2 answers
450 views
Syntax highlighting with only some allowed colours
In my ubuntu gnome-terminal I have vims default syntax highlighting color scheme + some color-tuning made in my gnome-terminal to filter out most colors with green except red, purple and brown. ...
-1 votes
1 answer
367 views
What is the Vim shortcut on Mac to expand emmet snippet? [closed]
I am in newbie to Neovim. I have tried CMD Y but it is not working.