Questions tagged [plugin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Automatically place closing curly brace on new line

Mainstream editors usually place closing curly brace on the new line automatically while entering function bodies and conditional constructs in languages with curly braced syntactic blocks. Vim/Neovim ...
2
votes
2answers
67 views

Can vim-plug write plugin settings directly to .vimrc?

I am new in using vim-plug. It works fine installing and updating all the plugins configured in .vimrc. But some plugins require some additional settings inside .vimrc to work correctly. Is there a ...
0
votes
1answer
25 views

How do I make Clang Completer Auto-Complete/Auto Show options

I have recently moved to vim and was looking into specific auto-completion plugins and tools to use for C/C++ (after YCM did not work for me). I found and installed Clang Completer and it works like a ...
0
votes
0answers
52 views

jump to line via letters instead of relative numbers

I currently use relative numbers to jump from my current line to another one. But since typing letters is easier then numbers, i wanted to know if there is a way to replace the line numbers with ...
0
votes
2answers
48 views

template plugin?

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 ...
2
votes
3answers
437 views

Select multiple words, one at a time, then replace them all

Goal: Select multiple words, one at a time, then replace them all. I'm new to Vim; I come from Visual Studio. I would like to achieve one important feature that helped me a lot in my productivity: ...
0
votes
1answer
35 views

Manually disable scripts(/plugins) during a session?

Sorry if this is a noob question(I'm new to configuring vim) but I was wondering if it is possible to disable startup scripts manually during a Vim session. I am aware of the :scriptnames command ...
0
votes
0answers
22 views

How do plugins work when providing several custom keys in a plugin-specific window?

I'm referring to plugins like gundo and nerdtree, which offer a whole lot of key bindings only when the cursor is their window. Therefore, I was wandering if there's a common or preferred way to ...
0
votes
0answers
18 views

How to write a function to set nobreakindent when using the Pencil plugin?

I'm trying to get the Pencil plugin to run with the noautoindent and nobreakindent settings. This is what I've tried in my init.vim: + 201 function! s:pencil_enter() + 202 set nobreakindent + 203 ...
2
votes
1answer
25 views

Alternative to Gundo tree that avoid messing up my window layout

There are several plugins which open a window on the left or right side, nerdtree and tagbar being just to examles. And then there's gundo, the functionality of which is invaluable, but lord... it ...
1
vote
1answer
26 views

How to invoke Linux shell env variable into vimrc?

How to invoke Linux shell env variable into vimrc ? I split vimrc configurations into multiple files and included these files in vimrc via :runtime [file]. This works well. :runtime vimrc.d/vimrc....
1
vote
1answer
62 views

Vim-based alternative for Emacs tramp-mode

Disclaimer: this question was posted prior to unix.se but, as recommended by a moderator, was reposted here. The original question was not (yet) deleted since some good comments were posted there. I'...
0
votes
0answers
33 views

why use coc and not only the single plugins providing code completion for a language

currently, I'm trying to wrap my head around the necessity of the coc plugin, since if I have it installed it still needs e.g. for LaTeX support the coc-vimtex plugin (which I get is necessary since ...
0
votes
0answers
34 views

Displaying sloc (source lines of code)

Is there a plugin that can display sloc? I have searched every where and all I get is how to display total lines or how to show line numbers...
1
vote
1answer
48 views

Installed Ale linter using Pathogen, but none of the commands are working

I followed the documentation for installing Ale using Pathogen but when I open a Vim file and type :help ale-fix or :ALEFix I get E149: Sorry, no help for ale-fix and E492: Not an editor command: ...
2
votes
2answers
31 views

vim-fetch install

I downloaded vim-fetch, but the install instructions are not clear to me: Download and source the most current vimball from the releases list, then run :helptags {dir} on your runtimepath/doc ...
1
vote
0answers
90 views

Vim: How to have YouCompleteMe autocomplete shell script variable names and functions from “source”d files?

I use macvim with YouCompleteMe (YCM), which I recently updated and recompiled. I followed the YCM instructions for OSX. I'm also using iterm2, tmux and zsh, all of which are installed with brew and ...
2
votes
0answers
53 views

Unreadable characters in command section and Quickfix window [duplicate]

Good day! Do yo have any idea how to fix this issue? Please refer to the screenshot. I don't have the slightest clue why these characters are appearing. My vim-fugitive plugin was working fine before....
1
vote
1answer
20 views

Removed Plugin still has active keybindings from view/ files

I installed the plugin vimtex. Then I installed the plugin tex-vim (aka Latex suite). The compilation keybinding (<Leader>ll) from vimtex stopped working, since tex-vim takes over it. So I ...
1
vote
1answer
160 views

Vim mapping to auto-indent when entering inside braces, brackets etc

Which vim mapping/ plugin will help me in auto-indenting when entering inside braces, brackets or any similar characters. For example: Input {press enter} Output { cursor here } I want ...
0
votes
1answer
32 views

:Ctags command returns “E492: Not an editor command: Ctags” error

I have vim-rails plugin installed (it's definitely installed as evidenced by good output from :echo rails#app(). I have ctags installed with: brew install --with-jansson --HEAD universal-ctags/...
2
votes
3answers
510 views

How to find plugin vimscript function definition?

Assume I am using some plugin function e.g. For vim-plug, I put this code in my .vimrc at the end call plug#end() How to find out where is this function plug#end() is located? from vimrc directly ...
1
vote
0answers
40 views

GitGutter sign not working

I have airblade/vim-gitgutter installed via Vundle. Somehow even with minimal .vimrc vim-gitgutter signs aren't working. My minimal .vimrc is given below, is there any problem there? Any help will be ...
2
votes
2answers
97 views

How to provide shared variables for plugins?

I've written some Vimscript code* in which it's convenient to have a set of shared color names. To use the names, so far I've had to rely on code like this: execute 'source ' . expand('<sfile>:...
2
votes
1answer
55 views

add quotes around an element of a list with vim-sandwich

I have an array like this ["/api/static/1_lion.wav",/api/static/2_lion.wav], I want to add quotes around /api/static/2_lion.wav. I have vim-sandwich, and I have a vague feeling I should be able to do ...
2
votes
2answers
61 views

Plugin to edit whole datasets/projects

I'm using vim all the time for text editing these days, and have a particular use case: editing a dataset using successive commands. The main problem, as often, is fixing things, ideally rather ...
2
votes
1answer
399 views

Neovim Lua integration

I'm trying to understand how can I use Lua to extend Neovim, following a baby steps approach. Something like: -- ~/.config/nvim/lua/test.lua local api = vim.api local firstmodule = {} function ...
4
votes
0answers
32 views

Convert VIM doc (vim help) to Markdown or vice versa [duplicate]

Suppose you are writing a vim plugin hosted on Github (which seems to be a standard for now). You don't want to maintain two help files: README.md (Markdown) and doc/your_plugin.txt (vim help) with ...
0
votes
0answers
44 views

Plugin(s) to show information on variables and functions

I'm looking for a plugin which exhibits the following behavior: When the cursor is at a variable, a pop-up should show its data type. When the cursor is at a function, a pop-up should show what ...