Questions tagged [neovim]

Neovim is a fork of Vim that aims to improve upon Vim's out-of-the-box experience and allow for more powerful plugins and GUIs.

Neovim is a refactor, and sometimes redactor, in the tradition of Vim. It is not a rewrite but a continuation and extension of Vim. Many clones and derivatives exist, some very clever, but none are Vim. Neovim is built for users who want the good parts of Vim, and more.

Goals

  • Enable new contributors, remove barriers to entry.
  • Unblock plugin authors.
  • Deliver a first-class Lua/LuaJIT scripting alternative to Vimscript.
  • Target all platforms supported by libuv.
  • Leverage ongoing Vim development.
  • Optimize out of the box, for new users but especially regular users.
  • Deliver consistent cross-platform experience.
  • In matters of taste/ambiguity, favor tradition/compatibility...
  • ... but prefer usability if the benefits are extreme.

Non-goals

  • Vim9script (or anything later than Vimscript v1)
  • Turn Vim into an IDE
  • Limit third-party applications (such as IDEs!) built with Neovim
  • Deprecate Vimscript
  • POSIX vi-compatibility

Resources:

1852 questions
80
votes
6 answers

How do I install Plugins in NeoVim Correctly

Does NeoVim have it's own config file just like vim's .vimrc ? If so where can I get that file in the home directory to make my own custom changes.
Philip Mutua
  • 6,016
  • 12
  • 41
  • 84
80
votes
5 answers

How do I search in all files of my project using VIM?

There are a couple of things I do not yet understand the VIM way. One of these is searching in a project like so (using VIM in Atom): I use CtrlP currently for file names, but what about the contents? How can I search with a string, and then look…
Sem
  • 4,477
  • 4
  • 33
  • 52
50
votes
6 answers

Can't find init.vim

I can't seem to find my init.vim. I believe it is supposed to be under ~/Neovim/share/nvim but the only folder there is runtime. Do I have to make a file called init.vim? If so, where do I put it? If anyone is still reading this, I have not fixed…
Bigbadboybob
  • 928
  • 2
  • 11
  • 18
42
votes
3 answers

Clipboard failure in tmux + vim after upgrading to MacOS Sierra

Yesterday, I upgraded to MacOS Sierra and it broke my clipboard functionality in my tmux + neovim setup. Here is the behavior: I can use the standard ctrl+c, ctrl+p to copy/paste between system <-> vim I can yank/paste between two VIM instances…
doremi
  • 14,921
  • 30
  • 93
  • 148
40
votes
7 answers

Is it possible to not display a ~ for blank lines in Vim/Neovim?

Is it possible to not display a ~ for blank lines in Vim? This confuses Mac Vim's scrollbar, and I quite don't like these tildes.
Ecco
  • 1,323
  • 1
  • 11
  • 15
34
votes
7 answers

VIM textwidth has no effect

This feels like a dumb question, but I can't find an answer on the Internet (or in VIM help). I'm using VIM 7.2 on Mac OS X. All I want to do is wrap my lines at 72 characters, but doing :set textwidth=72 has no effect. The textwidth is being set…
Aeonaut
  • 1,267
  • 3
  • 14
  • 18
31
votes
3 answers

Search vim help for subject under cursor

While working with some Vim scripts, I found myself typing :help {subject} quite a bit. I want CTRL+] (jump to definition of keyword under cursor) functionality, but instead of running :tag {ident} I want it to do :help {subject}, where {subject}…
Doug Richardson
  • 10,483
  • 6
  • 51
  • 77
29
votes
3 answers

Working solution for FZF most recent files in Vim?

I have a problem with finding a proper solution for most recently used files with the FZF Vim plugin. This plugin should have features like: show files opened in current vim session(like buffers) filter files like NERD_tree, fugitive I tried two…
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
26
votes
6 answers

How to solve treesitter/highlighter: Error executing lua problem in neovim config

I'm currently using Neovim 6.0. And I also use the following neovim-config : https://github.com/rafi/vim-config. After installation, I created a python program to test and a problem encountered which are as follows: treesitter/highlighter: Error…
Mitchell
  • 421
  • 2
  • 5
  • 6
26
votes
2 answers

How to fix buffer in a window in vim?

Can I fix a buffer so that the only way to remove it from vim window is closing it? For instance, I'm using the NERDtree plugin, which displays the filesystem in a vim window. Sometimes I forget to change focus to other window before using the…
freitass
  • 6,542
  • 5
  • 40
  • 44
26
votes
9 answers

How to change Neovim font?

VIM contains a 'set guifont' option to change the font. Neovim does not support this option, so I am wondering if it's possible to change the font Neovim uses in the Terminal?
mbdev
  • 6,343
  • 14
  • 46
  • 63
20
votes
3 answers

Coc.nvim how to disable auto complete suggestions in markdown files?

I am trying to setup Neovim with Coc for writing markdown. I have Coc working with javascript and other file types. What I am trying to do is disable the autocomplete suggestions only for markdown files. I have found that if I run :CocDisable that…
Eugene Grechko
  • 303
  • 2
  • 6
20
votes
7 answers

Support doesn't work

I'm trying to use neovim with deoplete and UtilSnips. Both requires Python support from nvim. I followed the instructions in :help nvim_python to set the support but the output of :echo has('python') or :echo has('python3') are both 0. On…
hueby
  • 331
  • 1
  • 2
  • 5
19
votes
3 answers

How do you source neovim config file without restarting nvim?

Is there a way to source the ~/.config/nvim/init.vim file from within nvim? With vanilla vim you can source .vimrc with :so % : Is there an equivalent method do with similarly in neovim?
alrob
  • 735
  • 1
  • 8
  • 16
19
votes
2 answers

How to change coc.nvim floating window colors?

I'm using coc.nvim plugin for C++ in my vim editor, here it's showing error but its colors hurt my eyes, I've been searching for solution but still don't know how to customize the colors cocnvim floating window color
Hoang Minh
  • 193
  • 1
  • 1
  • 5
1
2 3
99 100