Questions tagged [neovim]

58 questions
9
votes
4 answers

Can't install neovim v0.8.0+ on Ubuntu

I can't intstall neovim 0.8.0+ on KDE neon (based on ubuntu). I need neovim 0.8+ for LunarVim. apt says the next: ➜ ~ LV_BRANCH='release-1.2/neovim-0.8' bash <(curl -s…
8
votes
2 answers

How can I always yank text to clipboard?

I'm currently switching to NeoVim using Mac, and unfortunately the yank key doesn't always work as I expect. I currently use :%w !pbcopy to copy entire documents. Is there any problem if I remap the yank key to something like !pbcopy? Do you have…
6
votes
1 answer

Coc nvim suggestion selection

I have installed the plugin and also I can see the suggestions. But I am unable to select it I have tried enter, tab, space but still I can’t select it. I have to complete it myself and it is really hard. Please help.
Atul Kundaria
6
votes
2 answers

NeoVim coc.nvim enter key doesn't work to autocomplete

Recently I rewrote my NeoVim config file from vim script to lua and everything is working fine, but I have one issue. When I'm using coc.nvim for autocompletion and I select something, hit enter, NeoVim makes a new line and doesn't autocomplete. I…
jihndoc
  • 61
3
votes
0 answers

Easiest way to switch NeoVim Control key shortcuts to command key

tl;dr Searching for a way to replace all shortcuts in neovim that use the control key with the command key on Mac -- I just got started in using neovim as my main code editor However I find hitting the control key way harder than the command key and…
3
votes
0 answers

How to run a Windows executable (exe) from WSL with root privileges?

The title might not be totally accurate, as my goal is to launch an .exe from a WSL2 shell which itself starts a Linux process inside WSL, and I want said Linux process to be ran as root Goal: Use a Neovide (Neovim GUI that [in my case] runs on a…
Richard
  • 31
3
votes
0 answers

Neovim keybinding for LSP "code action" with options

I use neovim and neovim-lsp-config with clangd. The default keybind for code actions is ca, after pressing which a menu pops up. Usually there is just one option, so having to choose it from the menu feels laborious. Luckily, the…
Phastasm
  • 131
3
votes
1 answer

Avoid indenting the next line of a list in a markdown file

NVIM version v0.6.1 Suppose I am writing a list in markdown and let's say that the cursor is on the item3. Now, doing o in normal mode or Enter in insert mode automatically indents the next line. + item1 + item2 + item3 | First, I don't know…
amitoz
  • 203
2
votes
1 answer

Neovim: Any way to create a higher-level split?

Say I have a window with 3 stacked panes: ┌──────────────────┐ │ │ │ │ ├──────────────────┤ │ │ │ │ ├──────────────────┤ │ │ │ …
Dan Li
  • 121
  • 2
2
votes
0 answers

Is there any way to display CPU, memory information in vim's status bar?

Is there any way to display CPU, memory information in vim's status bar? I use vim mostly on my own computer, so I don't want to use tmux. My vim is neovim and the version is v0.6.1. My OS is Manjaro Linux.
aszswaz
  • 277
2
votes
2 answers

How can I configure shortcut keys in all modes of vim?

I want to configure a shortcut key that can be used in both edit mode and normal mode, usually two commands are required: :nnoremap :w :inoremap :wa Is there any way to combine them into one instruction that can act on…
aszswaz
  • 277
1
vote
0 answers

How can I remove CR (carriage returns) from Windows clipboard pasted into Neovim running inside a Docker container running in WSL2?

I am using Neovim inside WSL2 running on Windows 11. When running Neovim, I have found that I can use clip.exe and powershell.exe respectively to copy/paste from the system clipboard: o.clipboard = "unnamed,unnamedplus" if utils.is_wsl() then …
1
vote
0 answers

Switching keymap between insert and normal mode in Neovim (NvChad)

I have an alernative keyboard layout which I like to use in Insert mode in Vim, however I would like to use my ordinary Qwerty mapping when in Normal mode. I attempted to achieve this effect by manually remapping keys for normal mode in my init.lua…
Tom888
  • 173
1
vote
1 answer

Why is Neovim, vim, lunarvim, every vim based terminal editor is very slow

First thing first, I am on ubuntu 23.10, with nvidia RTX 2060 core i5-8400 24 GB RAM and OS on SSD, using "oh my fish" as shell but tried on good old bash too. neovim config is done by lazyvim. But All vim based editors are slow for me, Keystrokes…
1
vote
0 answers

Trying to get tab in normal mode(VSCode using the vscode-neovim extension) to move to new cell in a markdown table

I'm seeking assistance with the VSCode-Neovim extension to enhance navigation in markdown tables. The current markdown extension that I am using is takumisoft68/vscode-markdown-table, which has this setting in the settings.json file: { "key":…
1
2 3 4