Questions tagged [plugin]
The plugin tag has no usage guidance.
75
questions
7
votes
4
answers
795
views
Vim plugin where the first lines in the editor show the first line(s) with less indendation that are not visible
I would like to either find or write a plugin that does the following:
Assume I have this python code:
def foo(a,b,c):
# comment
[100 lines that do stuff]
for i in range(N):
[100 ...
7
votes
1
answer
6k
views
How do I use github copilot in NvChad?
I've written the following in my custom folder, and I've run :PackerSync followed by :Copilot setup, but I get an error: E492: Not an editor command: Copilot setup.
Do I need to clone github/copilot ...
6
votes
2
answers
127
views
Advice on the use of :exe "norm!" vs. built in functions when writing vimscipt and plugins
I've been using vim for about 3 years and am starting to write my first
plugin. I've noticed when
looking at the code of other popular plugins that the functions very rarely
seem to achieve their aim ...
6
votes
0
answers
494
views
How to get bold comments in vim
I am trying to add bold comments to my vim files. What i mean, is to be able to get something like this:
I saw other articles like this that allow to toggle bold comment.
The proposed solutions from ...
3
votes
1
answer
2k
views
nvim (plugged with coc, coc-clangd) is showing parameters for every function. How do disable it?
my nvim (plugged with coc + coc-clangd) is showing the paramters for every function, how do I disable it ?
I'm using a common vimrc for vim and neovim, but this problem only happens in neovim.
FILE *...
2
votes
1
answer
790
views
Is it possible to execute Ex Commands (colon commands) in VimScript (vimrc/init.vim)?
First off, just an FYI: I am not that experienced with writing VimScript
I have a plugin that I want to have enabled using its custom Ex command (:RainbowParentheses). Putting that inside my init.vim:
...
2
votes
2
answers
1k
views
how to navigate to a file or a function using neovim or vim?
All,
I am pretty new to NeoVim or Vim and i have setup vim for scala development. Everything else seems to be working fine. The only hiccup i have is i am not able to navigate to a file or function.
...
2
votes
1
answer
163
views
How do you pass options to a lua plugin?
In many Neovim plugins these days, configuration is done in a new way, and the readme just says to "pass option_name = someval to enable some behaviour". For example, archibate/nvim-gpt, ...
2
votes
1
answer
53
views
Is there a plugin that comments by putting the comment symbol at the line beginning?
Consider the following snippet,
def foo():
do_something()
do_something_else()
print('Hello!')
return 0
is there a plugin able to comment it as illustrated below
def foo():
...
2
votes
1
answer
472
views
Minimap config in lua
Sorry if the question looks dumb, is it possible to set the config file of minimap in lua ?
I test the following, but the plugin is not found (the package command works wheel eg. Minimap or ...
2
votes
1
answer
117
views
Separate virtualenv for vim plugins and application code
I have multiple vim plugins (ropevim, taskwarrior etc.) which depend on python libraries. These libraries are installed in system python3
When I am working on a python project, the virtual environment ...
2
votes
2
answers
65
views
Is there a plugin for saving/loading registers' contents to/from files in a convenient way?
tl;dr
Is there a Vim plugin that allows me to save/load registers to/from files with minimal typing, preview of registers, and other amenities?
Long version
Vim has a lot of registers. However, the &...
2
votes
0
answers
42
views
Plugin for tips on startup screen
Many of the IDEs I've tested throughout the years feature a sort of startup dialog, showing beginner to intermediate tips to become more proficient at it.
While ways to customize Vim startup screen ...
2
votes
0
answers
64
views
Make Lightspeed work with Repmo
I'm trying to make the EasyMotion-like (cursor jumping) Lightspeed plugin work with Repmo which repeats a previous motion.
So far, (and after many hours), I've come up with the following:
let g:...
2
votes
0
answers
486
views
Does vim-easymotion only work in neovim?
I was wondering if the easymotion-overwin was compatible with vim, or does it only works in neovim?
I have my .vimrc's keymaps setup like this for easy-motion
"----- Easy-Motion -----
map <...
2
votes
0
answers
58
views
Tagbar with asciidoc doesn't work
I have problem with configuration the tagbar plugin in nvim for asciidoc. I don't see headers in tagbar's sidebar. I have universal ctags installed, when I run:
ctags -R --languages=asciidoc --kinds-...
1
vote
2
answers
150
views
Is there a Vim plugin for testing VimScript patterns?
I'm new to VimScript and trying to learn how to construct patterns.
Is there a Vim plugin like RegExr.com for testing patterns?
1
vote
2
answers
131
views
Follow mode in ViM?
Emacs has a neat built-in feature called Follow mode, which splits the screen an then lays out the current buffer linearly across these splits (and follows along when scrolling). As such, one may ...
1
vote
1
answer
253
views
Add a Semicolon Automatically in C With a Vim Plugin
I am a C programmer and I am looking for a plugin that automatically adds semicolons when necessary before writing changes to a file.
For example, look at the following example.
printf("%s\n"...
1
vote
1
answer
293
views
How can we know if we can intall a plugin on both Vim and Neovim?
I find in noevimcraft a list of Neovim plugins
Can we install them inside Vim or gVim?
It seems that the plugins in vimawsome can be installed on Neovim but not always in Vim.
Is that correct?
How can ...
1
vote
1
answer
400
views
Is there a way to restore a previous version of file in vim
I had a swp file with old content, to which I restored and wasted much cleaning it. So I would like much such feature.
Jetbrains's IDEs have feature local history:
Which preserve history for ...
1
vote
1
answer
66
views
Remove/hide control characters in the vim-fireplace preview window
When the vim-fireplace plugin prints an error stack into the preview window, it includes a bunch of control characters. Example:
I tried set nolist but it had no effect. Does anyone know how to get ...
1
vote
1
answer
102
views
How to fix RGB / RGBA colors not being shown as colors in neovim nvChad lazy.nvim colorizer plugin?
I can see color on those:
#000000
red
But not on those:
rgb(0,45,65);
rgba(2,45,23,1);
Here is C:\Users\user\AppData\Local\nvim\lua\plugins\init.lua file colorizer code that comes preinstalled with ...
1
vote
2
answers
112
views
Gvim Python loading issue (despite being correctly installed)
I found a lot of questions about it, some problem was about 32 or 64 bit, other was about python support compiled in vim, etc.
None was my case.
Preamble: Software installed
I installed Python on ...
1
vote
1
answer
72
views
bind/map a call to win_gotoid with script level argument
I'm trying to set a nmap bind to make the focus change from Window B back to Window A. Both Window IDs are store at the script level: s:win_id_a and s:win_id_b.
The current snippet I've is the ...
1
vote
1
answer
414
views
SQLComplete:The dbext plugin must be loaded for dynamic SQL completion
I use vim 8.2.3458 without any SQL specific plug-ins. Whenever I try to edit a SQL file the following error message keeps popping up:
SQLComplete:The dbext plugin must be loaded for dynamic SQL ...
1
vote
1
answer
171
views
Citations in VIM: the fzf-Bibtex PlugIn
I try to use the plugin fzf-Bibtex to insert citations in a scientific paper.
I have installed all dependencies and plugins.
These have been added to my .vimrc:
Plug 'msprev/fzf-bibtex'
Plug '...
1
vote
1
answer
26
views
vim logfile reviewer auto file follower
I am sure this has been solved, but I cannot find a matching question.
I have a log file with the format:
<LOG SEVERITY> <FILENAME> (<LINENO>) @<TIME> <MESSAGE>
Where <...
1
vote
1
answer
28
views
How to change color scheme in a csv plug-in?
I learnt from this post that there is a csv plug-in. I tried this plug-in and it indeed arranged the csv file well.
However, the color scheme is horrible on my screen.
Is there anyway that I can ...
1
vote
1
answer
119
views
Cannot make vim-markdown conceal the formatted text
I am quite new to Neovim, just installed some of the important plugins and now I wanted to make it really good for writing Markdown files. I installed vim-markdown for that, and followed the ...
1
vote
1
answer
465
views
How to install nvim-html-css neovim plugin in NvChad
Neovim plugin: nvim-html-css
I don't know lua but I need this plugin installed for bootstrap classes. I have Neovim NvChad lazy.nvim setup. Copy pasting didn't worked so I tried to cut out maybe ...
1
vote
0
answers
267
views
Help setting up init.lua in Neovim, I'm a new user and don't understand the structure for plugins
First of all, I'm not a programmer, but a musician. I just happen to (kind of) know how to use the terminal, and I use a music notation/engraving program called LilyPond that works in the terminal.
...
1
vote
0
answers
32
views
What vim plugin is hijacking my session to give me grep information I don't want?
I'm not sure how better to phrase this question. I have not recently installed anything new—in fact I'm a bit overdue to upgrade my three-year-old Linux Mint install—but in the last couple months I ...
1
vote
1
answer
1k
views
How to configure Neoformat to use Prettier?
Installed Neoformat with Plug in init.vim for Neovim 0.7.2 on Linux Mint 19.3
I can't figure out how to get Neoformat to work with Prettier.
I installed Prettier as a snap package in --devmode, so ...
1
vote
1
answer
45
views
AutoPairsDelete() noise with vim plugins
I have been a vim user for years... I recently added a lot of plugins (see my ~/.vimrc) and I keep hitting a problem where I type a word (in this case, a string called cisco) and vim a) sees an ...
1
vote
0
answers
157
views
How to split view all buffers in vim with equal distribution vertical horizontal
How can I split view all buffers in vim with a distribution between vertical and horizontal? Is there a plugin?
I know how to make all buffers appear in either horizontal or vertical splits:
:ball
:...
1
vote
1
answer
527
views
Pasting via "p" not working in normal mode in Telescope
If I open Telescope for file or text search and switch to normal mode within the Telescope prompt and press p, nothing happens.
Does anyone know how I can enable pasting via p in normal mode in ...
1
vote
0
answers
682
views
Autoloaded vs lua functions: which is faster/more efficient?
I'm creating a neovim plugin written in Lua, and I have to react to the BufAdd and BufUnload events with a function call. I have 3 options:
write the function in Lua (like the rest of the plugin) and ...
0
votes
1
answer
1k
views
Data storage for a plugin
I would like to make a plugin for Neovim that does some pretty expensive processing for a text in a file. I would need to keep processed data as well as a hash signature of a file (to avoid
processing ...
0
votes
1
answer
46
views
Using marks in custom functions/plugins without changing user's marks
I am looking for a way to save and restore marks at the beginning and end of my custom Vimscript function. I am writing a plugin and I don't want my plugin to change any of the user's marks, so I ...
0
votes
1
answer
161
views
Why is Vim telling me that 'no plugin to install' when I have installed a plugin manager (vim-plug)?
call plug#begin()
plug 'https://github.com/AndrewLockVI/dark_ocean.vim'
plug 'https://github.com/ErichDonGubler/vim-sublime-monokai'
plug 'https://github.com/rafi/awesome-vim-colorschemes'
call plug#...
0
votes
1
answer
222
views
Syntax highlighting with bogado/file-line and slim-template/vim-slim (e.g. when doing `vim app/views/sessions/new.html.slim:20`)
when I edit a slim file by line, e.g. vim app/views/sessions/new.html.slim:20 I don't get the syntax highlighting :(, other types of files work fine (e.g. ruby files).
I use slim-template/vim-slim and ...
0
votes
1
answer
1k
views
Run a command that is from a plugin in a function
There is a file browser plugin called fern and I would like to open a split with the fern file system explorer open. This is what I have so far:
function File_tree()
execute 'vert sb'
execute '...
0
votes
1
answer
684
views
pylint default filepath in ALE
I am trying to set up my pylintrc file in vim, but am having some difficulty getting it to read from the correct path. It seems to work when I have the file in the directory that contains the vim file ...
0
votes
2
answers
62
views
template plugin? [closed]
do you have any simple and working template plugin to use for programming ?
I have tried this but to be honest I didn't understand how to use it. I have found this but I didn't understand how to ...
0
votes
1
answer
908
views
"Error detected while processing TextChangedI Autocommands for "<buffer=4>":" ParInfer Neovim [closed]
I'm setting up parinfer plugin for lisp development in neovim.
I've installed neovim plugin using below code -
use 'gpanders/nvim-parinfer'
And I've also setup below configuration
-- parinfer options
...
0
votes
1
answer
153
views
Go to file with gf from :terminal
I often keep a :terminal open on the right of a vertical split, and on the left keep a window open for files:
------------------------------
| | |
| file buffers | :terminal ...
0
votes
1
answer
523
views
How can I install fzf in vim without using a plugin manager? [duplicate]
I have fzf installed in manjaro (/usr/bin/fzf, /usr/share/fzf), but I can't seems to figure out how to install fzf for vim. I'm having trouble following these instructions: https://github.com/junegunn/...
0
votes
1
answer
440
views
Vim editor entities tagging/annotation tool
I'm looking for a word/sentence annotation tool/plugin to be used INSIDE vim editor. Specifically I'm looking for a cli tool NER (named entity) tagging. Any idea/suggestion/tip?
By example, I would ...
0
votes
1
answer
124
views
Can you have relative numbers, but for characters/words in a line?
This is relativenumber. It shows the line numbers, relative to your cursor:
1 one line before your cursor
0 your cursor is here
1 first line after
2 second line
3 third line
4 and so on
It's super ...