8
votes
Accepted
Neovim-Qt: environment variable TERM not set
The TERM environment variable is generally set by the terminal emulator you're running in, and it tells programs using curses (like Vim and Neovim) what sequences to send to the screen to do things ...
5
votes
Accepted
How to override ftplugin set commands in Neovim
You can use a BufWinEnter event instead.
That's a late event, which should happen after all the filetype detection and setup is finished.
au BufWinEnter * set formatoptions-=o
The docs in :help ...
5
votes
Ctrl-6 doesn't switch to the last buffer (Neovim)
justinmk (current neovim leader?) states
ctrl-6 only works by accident in some terminals. The actual builtin mapping is <C-^>.
https://github.com/onivim/oni/issues/2002#issuecomment-...
5
votes
Accepted
Can I configure nvim-qt to look like a terminal?
Popup menu in neovim-qt is controlled by GuiPopupmenu command.
You should add it to you ginit.vim:
GuiPopupmenu 0
PS:
It is not documented that well, I've found it somewhere in github issues.
...
3
votes
Git bash / Neovim not working
Got it working and found two solutions.
Reinstall bash and set Neovim as a default editor during the installation (Git has a test feature to make sure your editor is working even during installation)
...
3
votes
Accepted
How do I install Neovim with GUI and msgpack support in Ubuntu?
Instructions can be found on the Neovim Wiki
As of the posting of this answer, the site's current instructions are as follows:
Ubuntu
Neovim has been added to a Personal Package Archive which ...
3
votes
FileType autocommand not working in Neovim
In the Neovim FAQ Here it explains by default Neovim has shortmess+=F, which turns off messages during file operations. Add shortmess-=F and then it will perform the same as original Vim.
3
votes
Accepted
FileType autocommand not working in Neovim
It was a long, winding road to reach the root cause. Jump to "Final Update" below if you're only interested in the destination, not the journey.
Per :h FileType the FileType event doesn't do ...
3
votes
Accepted
Can I use local .swp files with neovim-qt?
One of the goals of Neovim is to provide defaults that work for the majority of its users, and to avoid users disabling swap files, they changed their default location. You can go back to the Vim ...
3
votes
Accepted
How to set the size of the Neovim-qt GUI?
Oh look, --geometry is a QT GUI application's main settings thus
nvim-qt --geometry 500x320
will create a windows just big enough to have 24 lines of 80 characters.
2
votes
Accepted
Portable NeoVIM configuration / Folder confusion
Neovim supports a sysinit.vim file whose location usually is $VIM/sysinit.vim (see :help sysinit.vim). From Neovim execute :echo $VIM to get it's value, and from there construct the right path. I don'...
2
votes
Can I debug marks being deleted?
As far as I'm aware, Vim does not include any features that will help you track down what's causing this issue, so you have two options, neither of which are very appealing.
You can follow statox's ...
2
votes
Ctrl-6 doesn't switch to the last buffer (Neovim)
I am using Neovim both on Linux, Mac and Windows. For terminal Neovim, it seems that ctrl + 6 works as expected for me. On Windows, Ctrl-6 does not work. FYI, the terminal I am using for different ...
2
votes
How to set the size of the Neovim-qt GUI?
you can create a shortcut for nvim-qt.vim and change the target to something like C:\tools\neovim\Neovim\bin\nvim-qt.exe -qwindowgeometry 1030x608
and the window becomes the size you specified.
2
votes
neovim-qt : Is it possible open files in the existing window?
According to neovim Wiki FAQ and Issue #1750, client-server / remote feature was removed in Neovim.
Instead, neovim-remote can be used. After installing it (pip3 install neovim-remote), launch ...
2
votes
Accepted
Why vim creates an extra last line when importing a template?
:r inserts the contents of a file. It does not overwrite existing contents. Since a new file opened in Vim can't have zero lines* you'll be adding the file's contents to one blank line.
Simplest thing ...
1
vote
How can I close only one tab in tabufline?
On NvChad, you can just do <leader>x.
It's in the cheatsheet (<leader>ch) which is pretty helpful.
1
vote
Accepted
How can I close only one tab in tabufline?
On NvChad you can do:
:lua require("nvchad_ui.tabufline").close_buffer()
Maybe should you bind it to a Bd custom command.
command! Bd lua require("nvchad_ui.tabufline")....
1
vote
Accepted
Why is my AppData folder not indexed by Telescope and how can I fix it simply?
Telescope is indexing the files under the current working directory. To make sure :Telescope find_files shows you the file of ~\AppData you have first to change the working directory:
:cd ~\AppData
1
vote
Make `%!` work in windows
Your question is confusing. You talk about powershell not working with json.tool, but then you say your shell is set to cmd.exe. With cmd, you should have no problem working with :%! (I checked just ...
1
vote
Git bash / Neovim not working
Create an alias by editing the .bashrc file with the following command:
vi .bashrc
Then create an alias by placing the following text into the editor:
alias nvim="winpty nvim"
Go to normal ...
1
vote
Portable Neovim. How to change default data folder? How to avoid registry entries?
The Windows environment variable %APPDATA% contains the path to a folder (%USERPROFILE%\Appdata\Roaming) intended for application specific data in a Windows domain environment (Windows computer ...
1
vote
Portable NeoVIM configuration / Folder confusion
You can put all your personal config under a single directory (use :echo stdpath('config') to see where that directory is on your system). On Linux and Mac, the directory is $HOME/.config/nvim, and on ...
1
vote
Accepted
Integration between vrapper (Eclipse) and nvim-qt
Ralf had the correct intuition regarding the other parameter gvimargs.
This does not work with nvim-qt. If you to pass argument from "nvim-qt" to the neovim implementation you have to separate them ...
1
vote
Neovim-Qt: environment variable TERM not set
Typically when you launch a graphical application, you're making use of a .desktop file which does not require any terminal specific environment variables like TERM to be set, so unless you invoked &...
1
vote
Tilde (~) paths do not work in windows neovim
Running :echo $HOME (suggested by muru) returned c:\, which showed that the problem was a rogue HOME environment variable. Deleting this variable fixed the problem.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
neovim-qt × 31neovim × 26
microsoft-windows × 4
vimrc × 2
autocmd × 2
font × 2
lsp × 2
vimscript × 1
key-bindings × 1
gvim × 1
terminal × 1
colorscheme × 1
vim-windows × 1
macos × 1
git × 1
shell × 1
startup × 1
installing × 1
plugin-airline × 1
color × 1
plugin-coc × 1
linux-ubuntu × 1
environment-variables × 1
signs × 1
lua × 1