Questions tagged [plugin]
The plugin tag has no usage guidance.
75
questions
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 ...
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 ...
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
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.
...
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 ...
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
0
answers
32
views
Is is possible to include other behaviour in a keymapping which would normally invoke a <Plug>?
I am working with a plugin which exposes mappings via <Plug>. For example, let's say it has a mapping for <Plug>XYZCommand. Then, I can put the following in my ~/.vimrc:
nmap a <Plug>...
0
votes
0
answers
21
views
When I run :LanguageToolCheck, the output is the java -jar command in a new buffer
I've been trying to utilize Vim to do more writing so I tried to install LanuageTool and a related vim plugin: https://github.com/dpelle/vim-LanguageTool/
However, even after specifying the location ...
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
0
answers
35
views
Is there a plugin to show (maybe in the status line) the (unprocessed) keystrokes?
To understand what I'm referring about, think of screenkey.
As for why I'd like such a plugin, here's a plugin of mine (well, my only plugin so far). As you can see there's a screencast to show the ...
0
votes
0
answers
110
views
Is there a way to disable plugins during macro recording and execution?
Is there a way I can disable specific (or all) plugins when recording a macro and then when playing back the macro?
I've had an issue where a plugin that automatches ( with ) that stops a macro that ...
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 ...
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 <...
0
votes
1
answer
78
views
Handling multifile projects using portable bookmarks
I am trying to manage multiple projects each with multiple files so:
project1
----src
file1.cpp, ..., file10.cpp
----include
incl1.h, ..., incl10....
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 ...
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():
...
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 ...
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 <...
1
vote
0
answers
683
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
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
0
answers
843
views
Getting Rust Language Server to work with vim
I'm trying to get tab completion support for rust programs in vim going. There are many descriptions on the net how to this and none of them work out-of-the-box in my environment. The first major ...
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-...
0
votes
0
answers
226
views
inoremap doesn't work
Question summary
Currently I'm writing a pull request for this vim plugin which should set commas and semicolons automatically.
At the moment it looks if it should set a comma/semicolon/double point ...
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 ...