1,250 questions
Advice
1
vote
1
replies
57
views
In vim how can I redo the last command, including those done by key-map
What do I want:
I set "<leader>gd" as the key to "go to definition"
vim.keymap.set("n", "<leader>gd", ":Lspsaga goto_definition<Enter>&...
0
votes
0
answers
39
views
create symlink from within vim NerdTree plugin
Inside NerdTree when I am on a file by the line cursor, I can hit m and choose s, which for my understanding should provide symbolic link creation.
It provides a command line (bash), so what to type ...
0
votes
0
answers
86
views
Is it possible in coq_nvim to configure autocomplete behaviour like vscode
In VS Code when I typing something like var. and press ctrl+space, I can continue typing some prefix with opened autocomplete menu and it will filter it's list. In coq_nvim when I use vim.g....
2
votes
0
answers
70
views
How to delete till end of line in operator-pending mode mapping in vim
I'm implementing a vim plugin that moves the cursor within current line. It extends the function of f. Think of it as something similar to notable-ft. Here is a simplified illustrative example of the ...
0
votes
0
answers
84
views
How do I install the tagalong plugin with vim-plug?
I am unsure if I followed the steps correctly when trying to install the plugin tagalong.
The problem is its functionality is not working after I installed it. Here are the steps I took.
Per https://...
2
votes
0
answers
868
views
Neovim LSP disable vim.lsp.buf.signature_help() default key binding CTRL-S
I use the vim-rails plugin to edit .erb files.
In VIM in the insert mode, I could use a shortcut CTRL-s + = to insert <%= %> block, as shown here. But in NeoVim this keymapping CTRL-s is used by ...
1
vote
1
answer
89
views
can't build cpp files using "*.cpp" in vimspector
I have this config for cpp, but when i use vimspector#Launch, error appears, it's connected with this string "shell": "g++ -o ${workspaceRoot}/test -g -std=c++2a ${workspaceRoot}/*.cpp&...
1
vote
2
answers
681
views
.clangd file add multiple CompileFlags
I am currently trying to setup a .clangd file to use for my lsp ...
how can i add multiple compile flags?
my file is autogenerated and looks like this:
CompileFlags:
Add:
- -IC:\Users\adria\...
0
votes
1
answer
216
views
ipython + vim-jukit, import sys command not escaping double quotes
Using neovim on windows 10 + powershell. vim-jukit plugin installed with lazy. My intention is to have a jupyter notebook-like experience thru (neo)vim
when pressing <leader>os to output split, ...
0
votes
1
answer
213
views
How to hide the specific warning hint from vim plug ALE supported by clangd in cpp file?
Problem Details:
I download the clangd for vim plug ALU to support the cpp syntax autocompletion, but in C++ code, there is a warning message that always appears as below:
'new' of type 'Vmux41' with ...
2
votes
1
answer
192
views
Problem with rendering text objects in nvim on Linux Mint 21.2 MATE 64-bit
I've installed neovim v.0.10 and the latest NvChad on Linux Mint 21.2 MATE 64-bit:
$ nvim --version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more ...
0
votes
1
answer
100
views
Properly Tokenize R language in VS Code Vim
In the VSCode Vim plugin, there are various normal mode commands that depend on the boundaries of the word/token under the cursor (e.g. *, w, e, etc). These don't work well with the R language which ...
1
vote
1
answer
204
views
How do I fix the current line color using solarized vim dark mode using Termdebug?
I'm using solarized with vim and when I'm debugging (using Termdebug), the current execution line is missing:
I've been working around the issue by switching to light mode:
If I go back to dark, ...
2
votes
1
answer
797
views
neovim not autoformatting as expected
I'm using neovim, vim-autoformat, and have a .editorconfig setup like so:
root = true
[*]
indent_style = spaces
indent_size = 2
This is what I expect:
however, when I run :Autoformat, this is what ...
0
votes
0
answers
53
views
vim syntax highlight match group doesn't match with all cases
I try to create a syntax highlight match group that match all words only with capital letters with underscores (constants in Java).
My definition:
syn match javaConstants "[A-Z_]\{2,}"
...
-4
votes
1
answer
1k
views
vim PluginInstall not working in linux how to install plugins
this is my vimrc file in ~/ folder
Note : i use linux (kali linux)
https://pastebin.com/i37cPUSK
i installed vim plug using this
curl -fLo ~/.vim/autoload/plug.vim --create-dirs
https://raw....
0
votes
0
answers
416
views
Could not find a valid MSVC version when install YouCompleteMe
I've been trying to install YouCompleteMe to set up for my vimtex, but I encounter some problem here. I've been install python3, Cmake and Visual Studio 2019. but when I follow the instruction to ...
0
votes
1
answer
90
views
"E119: Not enough arguments" error with -nargs=+
These are my commands and functions that get name and address for app or url to launch em withing vim. They store the value in .txt files. Problem is that both commands give me "E119: Not enough ...
0
votes
1
answer
628
views
Is there any way to make ycm's(Youcompleteme) diagnostics for python more convenient in vi
Ycm build-in in Jedi doesn't support diagnostics. I tried some ways, like YCM's LSP and Syntastics, but various problems appear when using other plugins.
For ycm, lsp, and pyright, it works well ...
0
votes
1
answer
343
views
Variables in Vim Plugin
I write a vim plugin to learn some vimscript.
I set the variables in the /autoload/plugin.vim like this:
let g:configpath = '~/home/username/.vim/bundle/testplugin/templates/'
let g:config = '/config....
-1
votes
2
answers
200
views
What is the name of this type of Android Studio popup windows or ideaVim action so i can navigate in it using IdeaVim?
I want to be able to navigate in this kind of windows in Android Studio using IdeaVim. For that I need the name of propper action or the name of this type of popups so I can search further.
Examples ...
2
votes
1
answer
105
views
Vundle plugin lingers after uninstall
I had previously installed the mkdx markdown plugin for vim, via Vundle. I later decided to switch to vim-markdown, and uninstalled it. Initially, everything seemed fine, but when I attempted to ...
1
vote
1
answer
780
views
Vim: how to start vim with a command without opening new buffer?
I recently upgraded to neovim & I love it. One of things I start to use is the Fugitive plugin, which I really like.
In order to use it as a replacement for git gui, I created a bash alias, to run ...
2
votes
3
answers
9k
views
YouCompleteMe unavailable: requires Vim compiled with Python (3.8.0+) support
I would like to install the vim plug-in YouCompleteMe but after installing, when I launch Vim I get the warning:
YouCompleteMe unavailable: requires Vim compiled with Python (3.8.0+) support.
I know ...
1
vote
0
answers
272
views
In nvim, how can I I make it so the mouse will select a split, but not select any text. I only want the mouse to control window focus
I want to be able to toggle on and off this potential feature too. Sometimes, I don't want to change the cursor position, but I want to use my mouse to select a split to focus on.
I tried disabling ...