Questions tagged [neovim]

A project that seeks to refactor Vim. Use this tag for questions specifically regarding Neovim-only features (i.e. features not found in Vim and other Vi-like editors).

Filter by
Sorted by
Tagged with
1
vote
0answers
88 views

NeoVim : Can we "insert literally" every ASCII symbol with `<c-v>` ? (including delete `^?` )

In insert or command mode, the printable ASCII chars, like a can be insert with just a (we don't need <c-v> for those ones, but most of them will still work with <c-v>letter ). If I type, ...
0
votes
0answers
40 views

Nerdtree is slowing down neovim in basic config

I am currently trying to create a neovim environment to see if it can be my primary text editor. But I am already facing a problem with Nerdtree which is making neovim way too slow. I don't understand ...
1
vote
1answer
135 views

Using vim-vinegar or trying to use :e . will crash nvim [closed]

I have recently transitioned from vim8.X to nvim0.4.4 and so far I've been extremely impressed with the development experience. One feature I'm really missing is using vim-vinegar to exit the current ...
1
vote
1answer
371 views

How to customize the name of each tab in Vim/NeoVim?

I have patched my own nerd-font and I want those cool icons for each file-type to be shown in the name of tab in Vim/NeoVim. I guess this can be done easily like I have customized my zsh command ...
1
vote
0answers
82 views

Ctrl-o u in insert mode blocks for a few seconds

If I press ctrl-o u while in insert mode, vim (correctly) does an undo and then the status bar changes to something like 1 change; before #x yy seconds ago and stays so for about two seconds, unless ...
0
votes
2answers
199 views

Possible to increase cursor move speed when holding down (h/j/k/l)?

Is it possible to increase cursor move speed when holding down (h/j/k/l) ? If so, how?
0
votes
0answers
92 views

Increment or Decrement font in a neovim GUI?

I have crawled around forums and didn't found an answer which suits my needs. I want to use Neovim in a GUI, but not being able to change the font size on the fly with a keypress is a complete ...
1
vote
3answers
117 views

How to Create Sublime-Like Build Systems in Vim?

I am currently new to neovim. Something that has me a bit stuck is being able to easily run my code. The text editor I used before trying out vim was Sublime Text 3, and, in that text editor, all I ...
0
votes
0answers
24 views

Attaching audio spoken word "escape" to Esc key stops escape key escaping to normal mode in nvim. How to fix?

I am running the latest versions of: Arch, nvim, and the Openbox window manager. I often don't know whether I have actually hit the escape key or not, when exiting another mode to normal mode. If I ...
0
votes
1answer
40 views

How to run internal (Neo)Vim ":Command" from external Terminal?

I'm using MacOSX, and I have script on Terminal, and since I will probably forget how to update everything inside Vim/NeoVim, is it possible to pass command, e.g. :PlugUpdate, to nvim/vim so that I ...
0
votes
2answers
67 views

How to make neovim cmdline-completion suggests common matched substring?

I've installed vimspector. When I type :Vim in the command & hit tab, I get all matched autocomplete suggestion like VimspectorAbortInstall, VimspectorEval, Vim.... etc. I'm tired to iterate that ...
0
votes
1answer
94 views

VimPlug#begin in both vimrc and init.vim?

I'm new to neovim settings. I'm migrating from vim to neovim. My question is described in the comment below, (*). In ../init.vim I have: set runtimepath^=~/.vim runtimepath+=~/.vim/after let &...
0
votes
0answers
15 views

What is wrong with this errorformat for pdk test unit messages?

Imagine :make outputs the following messages: error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'dupa' (file: /home/kamil/ncbj/...
0
votes
0answers
115 views

Can't use <Tab> in insert mode

I installed neovim on my mac and use the config I have from my Ubuntu laptop but I can't use Tab in insert mode (not indent). I press the tab and nothing happened. Everything is fine on my Ubuntu ...
0
votes
3answers
103 views

How can I make vim check for vimrc updates on startup?

My vimrc file is hosted on github. I update it once in a while, and use it on many different computers. Is it possible to make vim asynchronously check the github repo for a new version of the vimrc ...
0
votes
1answer
169 views

What is the term of feature used by on-the-fly checkers?

Here are two screenshots, with vim and neovim, both with configured language server protocol and showing same file: Neovim: Vim: I want to configure neovim to have same style as vim -- I do not like ...
2
votes
1answer
60 views

Function keys and <Home>, <PageUp> etc are dead in neovim TUI

I decided to give neovim a try and things mostly work with my vim8 configuration. However, function keys are dead in the text user interface (ok in nvim-qt), i.e. with :map <F1> iFoo!<esc> ...
-1
votes
1answer
36 views

Run action on file write in local vimrc

I'd like to make it so that in my current project, when I write the file :w, if the file is *.cpp then also automatically run the substitution :%s@^\( \)\+@\=repeat("\t", strlen(submatch(0))...
0
votes
0answers
84 views

Neovim freezes when opening a folder in WSL2

When I open neovim with to show a folder it completely freezes. When opening a folder from the command line: nvim . I see a completely black screen When having a file open, navigating to parent ...
1
vote
0answers
80 views

Vim ALE seems to be "ignoring" pyright

I'm having issues with setting up ale and pyright. According to the documentation on both repos, everything should work out of the box, but that doesn't seem to be the case for me. I'm guessing it's ...
1
vote
2answers
941 views

How to modify only the background colour of a colourscheme in neovim using lua

I am slowly switching my neovim configurations to Lua. I am currently using the colour scheme https://github.com/nightsense/snow. It sets the background colour to a light-grey, while I want it to be a ...
0
votes
0answers
48 views

How to scroll neovim terminal buffer automatically

With chansend function I can send any keys to neovim terminal buffer and execute any commands. ex: chansend(<job_id>, 'ls\n') But the buffer doesn't scroll automatically...(Of course, I can ...
1
vote
1answer
371 views

Git bash / Neovim not working

I'm trying to get Neovim to work in Git bash. When I type nvim in cmd, everything works as expected and it opens Neovim, when I do the same in the Git bash, the whole editor just turns blank until I ...
0
votes
0answers
55 views

How to make tabs in vim work like they do in windows notepad

In notepad, whenever you hit tab, it will take up all the space up until the next "column". | | | | | # lets say these are the columns sdf f # Pressing "...
0
votes
1answer
166 views

Start vim with NERDTree like we do Visual Studio Code/Sublime

I have decided to learn vim and want to give it a go for a month. I am about a week in, and it has been OK. I say "OK" because I do run into the usual frustrations that a n00b might run into....
0
votes
2answers
160 views

Multiple or divide number under cursor with given amount and replace it with the result

I can increment the number under the cursor (by e.g. 10) by doing 10<C-a> But how do I multiply the number under the cursor with x amount and the replace it in the same way I do when ...
-1
votes
1answer
16 views

Automate joining lines in text blocks (perhaps with SHIFT+j) but do not join blocks [duplicate]

I have the lastest versions of arch and nvim which I am using. I have a text that looks like this the slow brown fox jumped over a bridge the blind brown fox stumbled upon a badger ...
-1
votes
1answer
64 views

Vim-Plug uses wrong directory for plugins

I decided to switch from vim to neovim on a new system. I downloaded nvim, copied my .vimrc to ~/.config/nvim/init.vim and installed vim-plug to ~/.config/nvim/autoload/. At the start of my init.vim I ...
1
vote
1answer
493 views

How to run terminal command in interactive mode from NeoVim?

I have a terminal command which runs code with a breakpoint in it. When I run this command in NeoVim the code execution does not stop at the breakpoint, instead I get an error, that its not a TTY ...
-1
votes
2answers
269 views

How does one install a VIM plugin without a plugin manager?

I am new to vim, I watched this video and wish to give it a good try for a month to see how I like it. I want to add the NERDTree plugin to my vim, I'm actually using NeoVIM: NVIM v0.4.4 Build type: ...
0
votes
1answer
145 views

Neovim: Select an autocomplete option with <tab> instead of <return>

In the example below, how do I use <tab> to select HttpResponse the item instead of <enter>? I'd like to make this change permanent. This is using Kite within vim in case it matters.
0
votes
1answer
509 views

How to install neovim with +clipboard extension?

I have NVIM v0.4.3 installed on Debian 10. When I run: :echo has('clipboard') I get 0, which means that this extension is not available. I cannot copy to OS clipboard using "+y and "*y ...
1
vote
1answer
38 views

How to make neovim use the same colors as vim

I am trying to make neovim use the same coloring as vim. Currently neovim is getting its colors from my 8 bright colors I have set in my ST configuration. While vim uses the normal colors from my ...
1
vote
1answer
27 views

Can you call highlight more than once? Need different colors for different matches

I am working with text files and Goyo. I'd like to highlight two different kinds of notes delimited by brackets (one called "NOTE:" and the other "TODO:") in different colors. I ...
1
vote
1answer
179 views

What does multiple key combinations over a paragraph in the manual mean? That they're synonyms?

Searching for i(, and got a paragraph with these combinations above: v_i), i), i(, vib, v_ib, v_i(, and ib. Are all these synonyms?
0
votes
1answer
99 views

How to color VIM ":!{cmd}" output

I'm trying to get the same setup as the guy in this video, so that when :!pytest % gets called, the output is colored. I've tried with various vanilla colorschemes, with no luck... I'm using NVIM, ...
0
votes
0answers
42 views

Tool for convert multi files vimrc into single file

i try to collect my .vimrc files into single file is there anyway to generate single file using vimscript depending on source vimscript keyword or python code example of my .vimrc if isdirectory($HOME....
2
votes
1answer
649 views

Shared neovim/nvim and vim config-file, issue with coc.nvim: "(coc-definition)" works in vim - but not in neovim, why?

Noob, please bear over with me: I'm trying to share my ~/.vimrc config by sourcing it from ~/.config/nvim/init.vim. I try to use coc.nvim and it works for vim, but not for neovim/nvim (using a sourced ...
0
votes
0answers
36 views

Trying to run a python file and having the output take up the entire window (similar to Vim behaviour)

To illustrate I have vim and neovim open side by side in tmux, both with splits. I have a file called test.py open with "print("test")" in it, which I want to run. then I use the ...
0
votes
2answers
40 views

cannot find debugger.py

I have migrated from vim to nvim and everything seemed to work fine. I'm trying to figure out how to enable xdebug on nvim (it used to work fine before). So I ran to an issue when I tried to install ...
-1
votes
1answer
32 views

Neovim - vim-grepper shows no result

I use Vim daily and use vim-grepper (https://github.com/mhinz/vim-grepper) as my grep plugin. But since last week, it doesn't work anymore and every request I do result in... nothing found. I tried to ...
2
votes
0answers
113 views

<ESC> does not exit command-line mode. Neovim on tmux on WSL

nvim is not exiting command-line mode when the ESC key is hit. E.g., the key sequence :ff<ESC>ff gives :ffff at the command-line prompt. The expected behavior is that the first :ff be discarded ...
0
votes
1answer
84 views

synIDattr returns nothing in function

I have this part of code: function! Test() echom synIDattr(synID(line('.'), col('.'), 1), 'name') endfunction autocmd TextChangedI <buffer> call Test() I expected that every time I change ...
0
votes
1answer
37 views

vim-wiki mapping <leader>ww causing delay in another mapping

I'm using Neovim and my init.vim has a quick save mapping as below nmap <leader>w :w!<cr> Since i installed vim-wiki, there's a noticeable delay in the execution of w because of vim-wiki ...
0
votes
0answers
102 views

How to use / install NVIM nightly version correctly? (Issue with PlugInstall not working in 0.5 [but will work in 0.4.4])

I have scoured the internet trying to figure out how to get NVIM nightly (0.5) running correctly. The furthest I've been able to get is downloading the appimage, putting it into my bin directory, and ...
0
votes
0answers
43 views

Cannot understand how to group autocommands in this case

I downloaded a program called calcurse and it allows me to make notes by making temporary files in /tmp folder. The note files are named as calcurse-note.[some random alphanumeric characters after ...
0
votes
2answers
1k views

How to tell NeoVim to use “python” instead of “python3”?

Im using pyenv to administer my python versions (Im on Manjaro Linux) and the command for python on my system is python but nvim wants to use python3. How can I change it? Error: [coc.nvim] Error on ...
-1
votes
1answer
39 views

How to pass custom arguments to the shell invoked by :terminal?

I would like to specify the startup command to run on the :terminal shell. E.g. bash -c ls. The shell can be specified with set shell=bash, but how to specify the arguments? In another use case, I ...
0
votes
2answers
57 views

How do I manage the activation of vim abbreviation?

I defined an abbreviation in vim like this: ab is Input() I know it is not good to use is as the abbreviation of Input(); here it is just an example. So every time when I type is followed by space, ...
1
vote
1answer
45 views

Partial abbreviations

Pretty new to vim so this might be a basic question. I am trying to construct an abbreviation such that only part of a word gets corrected. For instance abcPRops gets corrected to abcProps defPRops ...

1 2 3
4
5
16