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
0
votes
0answers
8 views

How to open a file with terminal running a multi argument command in a vertical split?

How can I configure following behavior in nvim through ftplugin file, as soon as I open a specific file (eg .clj files), I wish to automatically in vertical split on RHS start a terminal buffer ...
0
votes
0answers
28 views

How do I prevent theme loading issues with transparency?

I just installed the jellybean theme and when I opened a random cpp file I got a black area that disappears when a new line is added, like in this picture: How do I prevent the black area from ...
0
votes
0answers
11 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 ...
2
votes
1answer
26 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 ...
-1
votes
0answers
17 views

Set granular extension configurations globally in coc-settings.json

After setting up coc.nvim and adding the extension coc-pyright, I'm getting the following import warnings/errors: reportMissingModuleSource reportMissingImports As stated here it's possible to add a ...
0
votes
0answers
34 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 "...
1
vote
1answer
50 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
28 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
9 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
45 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 ...
0
votes
1answer
27 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
61 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: ...
-1
votes
1answer
37 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
37 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
27 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
22 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
votes
0answers
22 views

Change terminal-emulator buftype to nofile

I'd like to use :terminal in a way that mimicks the following behaviour: some_command my_script | nvim -c 'set buftype=nofile' - For now, I have this: map <leader>r :split \| terminal ...
1
vote
1answer
172 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
46 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....
0
votes
1answer
75 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 ...
-1
votes
0answers
36 views

Coc.nvim Go To Definition doesn't work with private repo

I use coc.nvim with my nodejs project and it works as a charm. But it doesn't work when it comes to using private repo, despite code is downloaded to node_modules with npm install: [coc.nvim] ...
0
votes
0answers
20 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 ...
-1
votes
0answers
16 views

Find localleader mapping [duplicate]

I have both leader and localleader mapped to space. If I type space + t, the fzf file browser opens (it's using the leader). If I'm however in a clojure file, there is a small delay, which I assume is ...
-1
votes
0answers
51 views

Config coc.nvim into lua

Did anyone have an idea how to configure coc.nvim on Lua files? I was using nvim nightly, but I want to use coc instead of built-in LSP. Here some option I think: Create vim script files, then ...
0
votes
2answers
32 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
17 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
58 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
43 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
22 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
35 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
34 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
128 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
23 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
42 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
30 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
votes
1answer
45 views

Black Borders in Neovim when using Windows Terminal

Why are these black borders generated when I open Neovim in Windows Terminal?
0
votes
1answer
20 views

possible to search two form of hex string in one time?

Some text file contains lots of hex strings, a same string presents multiple times in two formats like: 00000000 aa bb cc 25 41 f3 d9 ed 58 5c ed a0 3c 61 60 ce ...%A...X..<a`. and ...
-1
votes
1answer
45 views

Adding Additional Syntax Highlight to nvim; cannot get .config/nvim/after/syntax to load .vim file

I'm trying to add additional syntax highlighting to a plugin I'm using for syntax highlighting. I've tried adding the additional syntax file fstrings.vim to the ~/.config/nvim/after/syntax folder but ...
-1
votes
1answer
44 views

What is 3kA in this mapping?

I'm trying to understand how to make mappings in vim (particularly neovim). Searching, I’ve managed to do some of the things that I want, but I can't learn what everything means. Example: a latex ...
0
votes
1answer
32 views

Automatically load & save folds of files - except for help files

My current solution to automatically load & save views of a file is the following: " automatically saves & loads folds when closing or opening a file set viewoptions-=options augroup ...
-1
votes
1answer
40 views

make appending strange folder to my makeprg on Windows

I recently came to use NeoVim and I was trying to configure my vim to run a single file using :make command (My g++ is from MinGW), I tried to use :let &makeprg = 'g++ -Wall -Wextra -std=c++17 -o %...
0
votes
0answers
42 views

Delete buffer only when a specific buffer is deleted

I've configured Vim to look like this: +------------------------------------+ | N | Code | | E | | | R | | | D |...
1
vote
1answer
45 views

clicking on a line with concealed characters

Let's say I have a latex file with a line $\nabla_Y Z = \nabla_X Y$ If I set conceallevel=2 this becomes ∇_Y Z = ∇_X Y which is nice. If I have my cursor on another line and want to change the Z I ...
2
votes
2answers
66 views

Why does system(cmd) append ^@ to its output?

I want to set node's executable path for neovim. So I have added this line in init.vim. let g:coc_node_path = system('which node') But when I open nvim I get this error. [coc.nvim] "/home/akash/....
-1
votes
1answer
317 views

VIM vs NEOVIM vs SpaceVIM [closed]

I am giving Vim a go using WSL. But should I go for Vim or NeoVim or SpaceVim? What are the differences in these, are there any other such variants, and which one should I choose as a starting point?
0
votes
1answer
69 views

nvim-completion-manager: neovim shows a Python syntax error in cm.py when opening a new file i despite no actual syntax error in file

In ~/.config/nvim/plugged/nvim-completion-manager/pythonx/cm.py, line 151 is self.nvim.call('cm#complete', name, ctx, startcol, matches, refresh, async=True) I'm using Python 3.8 and copying ...
1
vote
1answer
139 views

Dracula theme not recognized in init.vim

Here is the tutorial I am trying to follow Here is the init.vim file I have written. I just don't understand why I am getting the error Cannot find colorscheme 'dracula' This error is occurring in ...
0
votes
1answer
81 views

Set the color scheme for current window only?

How can I set the color scheme manually for the current window only ? colorscheme affects all windows when I use it. My use case is that I am using neovim and I have a terminal session in one window ...
-1
votes
1answer
54 views

Neovim window rolls up when dividing screen horizontally with tmux

When I'm coding, I like to have neovim window up and command line window down to run my code on the screen. When I save a neovim file and divide the screen into two horizontally using tmux, the neovim ...

1
2 3 4 5
13