Questions tagged [neovim]

40 questions
5
votes
3 answers

Can't install neovim v0.8.0+ on Ubuntu

I can't intstall neovim 0.8.0+ on KDE neon (based on ubuntu). I need neovim 0.8+ for LunarVim. apt says the next: ➜ ~ LV_BRANCH='release-1.2/neovim-0.8' bash <(curl -s…
Vladyslav Rehan
  • 71
  • 1
  • 1
  • 5
5
votes
1 answer

Coc nvim suggestion selection

I have installed the plugin and also I can see the suggestions. But I am unable to select it I have tried enter, tab, space but still I can’t select it. I have to complete it myself and it is really hard. Please help.
Atul Kundaria
5
votes
2 answers

How can I always yank text to clipboard?

I'm currently switching to NeoVim using Mac, and unfortunately the yank key doesn't always work as I expect. I currently use :%w !pbcopy to copy entire documents. Is there any problem if I remap the yank key to something like !pbcopy? Do you have…
Davi Areias
  • 51
  • 1
  • 1
  • 3
3
votes
3 answers

NeoVim coc.nvim enter key doesn't work to autocomplete

Recently I rewrote my NeoVim config file from vim script to lua and everything is working fine, but I have one issue. When I'm using coc.nvim for autocompletion and I select something, hit enter, NeoVim makes a new line and doesn't autocomplete. I…
jihndoc
  • 31
  • 1
  • 1
  • 2
2
votes
0 answers

Easiest way to switch NeoVim Control key shortcuts to command key

tl;dr Searching for a way to replace all shortcuts in neovim that use the control key with the command key on Mac -- I just got started in using neovim as my main code editor However I find hitting the control key way harder than the command key and…
2
votes
0 answers

How to run a Windows executable (exe) from WSL with root privileges?

The title might not be totally accurate, as my goal is to launch an .exe from a WSL2 shell which itself starts a Linux process inside WSL, and I want said Linux process to be ran as root Goal: Use a Neovide (Neovim GUI that [in my case] runs on a…
Richard
  • 21
  • 3
2
votes
0 answers

Neovim keybinding for LSP "code action" with options

I use neovim and neovim-lsp-config with clangd. The default keybind for code actions is ca, after pressing which a menu pops up. Usually there is just one option, so having to choose it from the menu feels laborious. Luckily, the…
Phastasm
  • 121
  • 2
1
vote
2 answers

How to copy word length in to clipboard?

i have a few words and need to copy word length in to clipboard. Tried :!wc or g and Gv but don't work
serii
  • 11
  • 1
1
vote
1 answer

Open a new NeoVim window using Windows terminal

I am currently using NeoVim by running it from the Windows terminal (Windows 10), using the nvim command. For the moment, if I type Neovim in the Windows search bar and open the app, it opens in the default ugly black window. Is there a way to tell…
Droidux
  • 13
  • 4
1
vote
1 answer

nvim error on :so in Ubuntu WSL2

I have Ubuntu over WSL2 and I was following this video tutorial on how to configure vim. My nvim installation didn't have the .config folder, so I created it and followed the video. I placed an init.lua with a print("hello"), just like in the video,…
mFeinstein
  • 294
  • 4
  • 14
1
vote
2 answers

In [Neo]Vim, how do I display error messages from an external command used as a filter on the visual selection?

Summary In [Neo]Vim, if I call an external command on the current visual selection (expecting that command to transform the selected text, which Vim then updates in the buffer), and the command fails with a nonzero exit value, then the error message…
Jonathan Hartley
  • 1,006
  • 13
  • 25
1
vote
0 answers

Neovim Slow Cursor Blinking

I'm trying to switch from Macvim to Neovim, but running into an issue that I can't figure out. I can't get guicursor to fully work. I say fully work because some of it does, e.g. setting ver25 or hor25, changing colors, or setting blinkon0 to…
Brian Ray
  • 111
  • 3
1
vote
0 answers

Applescript cannot find file that exists

Big picture, I am trying to create an applescript that allows me to open files in neovim from Finder. Though I have found several resources for doing this, none work exactly as-is, so I have to do some modifying of my own to make it work. This is…
Catyre
  • 11
  • 1
1
vote
1 answer

Is it that bad to use Homebrew on an outdated macOS?

I had problems on macOS Monterey and had to downgrade back to Catalina due to performance issues (found out it was just my MBP 2016 needing some hardware cleaning, so I'm considering going back to Monterey). Now I can't install neovim or vim. On…
1
vote
0 answers

How to set neovim's lua module search path?

I found a very useful file browsing plugin: nvim-tree But I think this plugin can also add a template function to create files using templates. I'd like to develop this functionality myself, but I'm running into a plugin debugging problem. I want to…
aszswaz
  • 187
  • 1
  • 5
1
2 3