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
0
votes
1 answer

Can anyone tell me what the following [Pyright reportGeneralTypeIssues] error means, because when I run the program it runs normally

Can anyone tell me what the following [Pyright reportGeneralTypeIssues] error means, because when I run the program it runs normally... import pandas as pd obj = pd.Series([4, 7, -5, 3]) obj.index = ['Bob', 'Steve', 'Jeff', 'Ryan'] [Pyright…
n30vIM
  • 1
  • 2
0
votes
1 answer

In a vim expression, how can I return back to normal mode?

I'm using the CoC plugin for which works great. This command remaps the enter key so we can use enter to confirm selection of the suggestion popover. This mapping works great, except that it stays in insert mode after accepting the…
Jamis Charles
  • 5,827
  • 8
  • 32
  • 42
0
votes
1 answer

BufRead,BufNew keymaps modify current buffer instead of opened buffer in Neovim and Vim

I can't scratch my head around why my keymaps in C++ file buffer are getting overwritten by rules for in file. I though BufRead executes after opening new file, right? I have the following vimrc configuration: autocmd FileType cpp \ nnoremap…
Drdilyor
  • 1,250
  • 1
  • 12
  • 30
0
votes
1 answer

nvim started as desktop application | :checkhealth - commands not available

When I start neovide from my applications and run :checkhealth I get errors that node and other commands are not available. But when I start it from my terminal there is no error for those commands. I tried to copy and modify the neovide desktop…
bravisimoe
  • 73
  • 4
0
votes
1 answer

How to create a lua function that gets called for a vim (neovim) motion

Vim has the concept of actions, which can act on text objects via motions. For example diw will delete (the action) the inner word (the motion). I want to create a function that can be applied/executed with those motions. For example, if my function…
Danielo515
  • 5,996
  • 4
  • 32
  • 66
0
votes
1 answer

neovim: Error detected while processing function 29_on_window_changed[22]..29_ini t[29]..29_on_colorscheme_changed:

I recently was looking into nvim, and was Downloading the vim-airline-gruvbox-git from the AUR, which resulted in this error, even after multiple tries of uninstalling the package/plugins and reinstalling everything: Error detected while processing…
AbrA_K
  • 1
  • 2
0
votes
0 answers

neovim launched to edit command line doesn't use default configuration

I use zsh, oh-my-zsh, neovim, alacritty, and zsh-vi-mode oh-my-zsh plugin. My EDITOR is set to /usr/local/bin/nvim -u /Users/aleksander/.config/nvim/init.lua When I try to edit a command line via vv in normal mode neovim launches but not reading the…
sumek
  • 26,495
  • 13
  • 56
  • 75
0
votes
1 answer

NeoVim terminal support

This is my config init.vim : https://github.com/NeuralNine/config-files/blob/master/init.vim when i do :TerminalSplit bash i get the terminal in this process which works fine. but when i do :TerminalSplit bash on this process terminal just looks…
dopller
  • 291
  • 3
  • 13
0
votes
1 answer

NeoVim terminal plugins don't work after arch/manjaro update

recently I had a system update on my manjaro system. Generally I don't do system updates (not just because in linux they are generally unecessary but also because of things like these), and my plugin to emulate the bash terminal in vim just stopped…
Healer_hg
  • 3
  • 3
0
votes
1 answer

Cannot get coc-java to work offline with gradle

I am trying to get coc-java to work in an environment where I don't have internet access. I generated my setup with internet access and transferred it to the offline environment, but when I open a java file and do :CocCommand workspace.showOutput…
tubensandwich
  • 128
  • 1
  • 1
  • 7
0
votes
1 answer

How to make an abbreviation that expands without pressing space

I am trying to replicate the behavior of beg abbreviation shown on the page https://castel.dev/post/lecture-notes-1/ with vimscript. That means I want to make it so that when I type "beg" in insert mode at the beginning of the line, it calls a…
0
votes
1 answer

Send register name to mapped command

I made this command to send my current buffer's file path into the + register: :nmap yp :let @+=expand("%:p") I'd like to extend it so that the user choose the register to send to when calling yp, but I'm not sure how. If…
Oragon Efreet
  • 1,114
  • 1
  • 8
  • 25
0
votes
1 answer

How can I undo the command # and * of VIM

Once I got the word with # or * how can go backward that command to not highlight the words.
0
votes
1 answer

:hi Vertsplit doesn't run on autocmd from init.vim

I've been setting up my init.vim file to use NeoVim on Windows 10, and ran into an issue I'm struggling to understand. At the start of my file, I set up a couple of :hi(ghlight) autocmds, and only the VertSplit seems to be ignored on starting. Even…
e_nicolai
  • 108
  • 5
0
votes
2 answers

Place the rows of two blocks of text after each other alternatively

I have the following two blocks of text abc abc cdz zer sdf bfd dss azr vvf ezr I want to know how I can place the rows of these two blocks alternatively so that I get the final block of text as…
Shawn Brar
  • 1,346
  • 3
  • 17