Questions tagged [vim-plugins]
Package of files providing add-on functionality to the Vi IMproved (VIM) Editor.
107
questions
0
votes
0
answers
97
views
YCM on windows vim can't find python
I would like to be able to use YouCompleteMe plugin on vim (on windows).
I have installed vundle, and followed the installation guide for YCM on Windows. When I run :PluginInstall I see:
Traceback (...
0
votes
1
answer
2k
views
Spawning language server with cmd: `lua-language-server`
I've recently transferred from Packer plugin manager to Lazy.
Utilizing LSP, LspConfig, Mason, MasonLspConfig with several language servers for programming.
The problem is that Neovim is having ...
1
vote
3
answers
6k
views
undefined global 'vim' in lua-language-server - coc.nvim
This snippet gives a warning:
local api = vim.api #Undefined global 'vim'
my CocConfig:
` "languageserver": {
"lua": {
"command": "/home/manas/.config/...
0
votes
1
answer
642
views
TagList vim plugin is not working
I have issues in using taglist. For example if I TlistOpen, it shows an error E117: Unknown function: taglist#Tlist_Window_Toggle
I am using a Ubuntu18.04 , with vimrc looks like as follows;
test@test-...
0
votes
1
answer
177
views
lightline plugin doesn't load on new vim instance
I've trying to do this for a while and it just doesn't want to work. It installs the plugin, it shows the plugin, but upon opening a new Vim instance it just doesn't load the plugin. I think it might ...
1
vote
2
answers
2k
views
How do I resolve a keybinding conflict with coc for vim?
Just as a preface, I'm not a programmer, but I've written a bit of shell to automate things.
This is on MacOS Mojave, but it shouldn't make too big of a difference since neovim's configs should carry ...
1
vote
1
answer
2k
views
ALE not working despite passing correct flags to the enabled linters
I'm using VIM to program in C11.
I'm trying to setup ALE but it seems that the linters can't find the headers, despite the correct flags are passed, such as -I /path/to/include.
I'm using CMake, so ...
1
vote
1
answer
360
views
How do I set the alternate search path for a.vim?
I recently found out about a.vim which I can see can bring a lot of benefit to developing source code in C or C++. Now, for one of my current projects it works just fine out of the box but for the ...
0
votes
1
answer
55
views
My Esc+<left arrow> deletes 3 lines in vim
I am somewhat confused as what can be the cause of it. I disabled everythin in vim (replaced .vimrc with a blank file) and still, when I press Esc+left, I delete the 3 lines above my cursor, and with ...
0
votes
1
answer
58
views
Graphical modification for vim panes
I use vim in a tiling window manager, i3-gaps. I have some aesthetic configuration settings, which do things like alter the opacity of unfocussed windows, change the gaps between windows, and so on. ...
1
vote
1
answer
238
views
Mapping snippets for Vim
I'm struggling with setting up some mappings for Vim. I want to have a mapping to insert a line of text.
I've achieved this:
nnoremap åfox oThe quick brown fox jumps over the lazy dog<Esc>]<...
0
votes
1
answer
105
views
Can I open a split build window in gvim 8.1 that shows the build output live while I can continue looking at code?
I like using gvim but I think its kind of time consuming to have to always watch the build process complete until I can continue editing.
I'd like to just hit a key and have a bottom split open up ...
2
votes
0
answers
781
views
How to make Vim play nice with Python 3.7 on Windows
I want to use Gvim 8.1 with some plugins, but some of those mostly require Python 3.7 Fine, I found one Gvim installation ( https://github.com/vim/vim-win32-installer) that was compiled with Python 3....
1
vote
0
answers
198
views
Fix for a broken Vim/Syntastic/Vundle?
[Vim 8.1 - Syntastic 3.9.0 - Vundle 0.5 on Arch linux]
This morning I started getting error:
syntastic: warning: checker vim/vint: unrecognized error format
(crashed checker?)
The message ...
0
votes
1
answer
172
views
How to fix vim minibufexplorer buffer ordering?
Say I open 4 files in vim with minibufexplorer plugin installed. I get:
[1:file1][2:file2][3:file3][4:file4]
Now I close file 2 with :bd2 (buffer delete 2):
[1:file1][3:file3][4:file4]
And reopen ...
1
vote
0
answers
212
views
Vim session with splits with remote ssh files
I use to use vim session to keep my opened files. I do it remotely, ssh remote machine and do things there.
Today I tried to open remote files in local Vim, I mean with netrw:
:e scp://user@remoteip/...
0
votes
1
answer
277
views
vim airline arrows misaligned
The arrows should look like this:
here's what they currently look like
How do I fix this?
1
vote
0
answers
315
views
Issue with vim setup python ide
Found ale lint on git about vim but the display after clone from git is still shown as classic instead of the one shown on:
The syntax suggestion is not on as well
Do I need to run ale toggle to turn ...
1
vote
1
answer
414
views
Vim no longer calls <Plug> in insert mode?
I have the following configuration in my vimrc file.
inoremap <C-A> <Plug>InsertComment
And somewhere in my vim folder I defined
inoremap <silent> <Plug>InsertComment <...
1
vote
1
answer
2k
views
Spacing between "arrow" symbols in Vim Airline
I have Vim 8.0 running on Arch Linux (last updated 3rd of January) and have installed the package powerline-fonts using pacman as well as vim-airline using Vundle. I have also set let g:...
0
votes
1
answer
413
views
Vim Plugin limelight not working with vim in the gnome terminal
all. I am using the gnome-terminal 3.26.1 and vim 8.0.1176.
Installing Limelight worked, but when i want to start it, i get the error message in the gnome-terminal
Unsupported Terminal. Sorry
...
6
votes
3
answers
2k
views
How can I get a navigable (editable?) buffer with vim's `messages`?
So, if I get an error from a plugin, I'd like to be able to report that error on GitHub or similar.
Unfortunately, it's not mouse-selectable; and after appearing and asking me to hit RETURN, it seems ...
0
votes
1
answer
1k
views
Unknown Function: vundle#begin
I cloned the vundle files into my home directory under cygwin
Then I fallowed the instructions at: https://github.com/VundleVim/Vundle.vim
Since I'm running vim under cygwin i change the runtime ...
1
vote
1
answer
393
views
vim-tagbar doesn't jump to method definitions, at least for ruby
I use the vim plugin tag-bar but it doesn't seem to work for ruby, not completely at least. At first it didn't work at all but by changing the config to use ripper-ctags like so:
let g:...
2
votes
0
answers
521
views
Vim - Detect Caps Lock Status
My question is simple and straightforward! =D
In this thread @OsQu...
Vim - Is Capslock on?
... says that you can use the Automation Hotkey Scripting (AHK) below to detect the Caps Lock (on/off) ...
0
votes
1
answer
1k
views
"Curved" Powerline/Airline status on Vim
I have installed vim-airline plugin for Vim, and I should have had a "curved" "powerline" status line.
But mine is:
The font I use is DejaVu Sans Mono for Powerline from ttf-dejavu-sans-mono-...
0
votes
0
answers
86
views
YouCompleteMe gives continiously error in Vim
I recently started to use ubuntu to learn bash script. I installed vim-addon-manager & YouCompleteMe for auto-completion in Vim. After that, when I run Vim and try to write something, I get this ...
0
votes
2
answers
842
views
Plugins configuration file for Vim
I'm quite new to Vim, and, since I'm writing my very own .vimrc file, I was wondering if there is a way to store all the commands relative to a certain plugin configuration in one external file, in ...
0
votes
1
answer
789
views
How do I disable semicolon warning?
I'm using the JSHint library with YouCompleteMe, but it throws a warning on every line regarding missing semicolons. The semicolons are not required, or wanted. How can I disable this feature?
I ...
8
votes
3
answers
2k
views
Vim slow at rendering the buffer with LaTeX syntax highlighting
After fixing a hard-drive failure, I am installing GVIM on my Thinkpad X230T laptop running Windows 10. Things are working well except for the rending speed of buffers for *.tex files. The problem is: ...
1
vote
1
answer
524
views
Vim airline plugin orange arrow bug
I have the airline plugin installed for vim and no matter which theme I pick there is always an orange arrow in the bottom right corner of the screen. How can I fix this?
2
votes
1
answer
1k
views
Vim Airline - how to disable tabline filename?
When I use Airline's Tabline in Vim, I get the filename twice in my Tabline. Once on the left, and again on the right. I would like to use the extra space on the right for other filenames.
Here is a ...
1
vote
0
answers
1k
views
How to setup in `~/.vimrc` a mapping for `colorscheme` to toggle `solarized` between `dark` and `light`?
How to setup in ~/.vimrc a mapping for colorscheme to toggle solarized between dark and light?
Both background and colorscheme in ~/.vimrc are badly misbehaving!
I have setup solarized to work on vim ...
3
votes
1
answer
98
views
How can I treat a logical block as a text object in Vim?
Here's a situation I'm in every day:
0 .outer_selector {
1
2 .inner_selector {
3 margin: 0;
4 padding: 0;
5
6 input { display: none; }
7 }
8
9 }
Now I want to cut and paste the ....
0
votes
1
answer
54
views
How to combine -p and -o options on VIM
I know how to use both the options:
vim -p bit.c bit.h byte.c byte.h --> it opens these files in 4 different tabs.
vim -O bit.c bit.h byte.c byte.h --> it opens these files splitting the window in ...
1
vote
1
answer
99
views
vim Repeatable Motion that Distinguishes Vertical and Horizontal
I've been looking for a plugin like repmo that can repeat my previous horizontal movement and previous vertical movement separately, and reverse the direction of the motion. (e.g. 5j could be repeated ...
1
vote
1
answer
40
views
vim - update file history more often
I was wondering if it is at all possible to have vim update its file history more often.
For example, if I got into insert mode, and type 20 lines of code, exit, and hit 'u', it undoes everything I ...
0
votes
1
answer
65
views
Vim: Managing multiple wording alternatives
(After reading this, please suggest another wording for the question, because I couldn't come up with a better one)
When writing and editing in Vim, whether texts for humans or texts for humans and ...
4
votes
2
answers
3k
views
Turn off vim's `filetype indent` for a specific filetype
In my .vimrc I have
filetype indent on
Now, the way it attempts to auto-indent yaml files is very confusing for me, so I want to turn filetype indent off, but only for yaml files, not for other ...
3
votes
3
answers
2k
views
Disable vim plugins for large files
I have a custom Vim configuration that I've been putting together. There's a number of cool plugins and features that aid in PHP development. However, when I open a large file (couple thousand lines) ...
2
votes
1
answer
1k
views
gVim: Pathogen not loading plugins properly (Windows)
I'm using gVim 7.4 on Windows 7 x64. When I place a plugin in the bundle folder, the plugin's commands don't seem to be registered. My setup is as follows:
gVim is installed at C:\Program Files (x86)\...
1
vote
1
answer
466
views
`vim` and `YouCompleteMe`
I installed vim with python support from source.
Then I used Vundle to install YouCompleteMe with the option --clang-completer.
No other plugin is additionally installed by me and the clanglib is up ...
0
votes
3
answers
461
views
gVim closes automatically when opening python file
I'm using gVim 7.4 , it was running smoothly before installing Plugins after installing pathogen gVim window closes automatically when opening python files.
It's working fine for other files except ...
2
votes
2
answers
121
views
vim: library of common substitutions without plugins?
I would be wanting to perform thinks like :'<,'>s/^\ \ \ \ // in an abbreviated form, like :'<,'>s_lw (no matter what would actually be that s_lw) using vim base functionality, initially ...
2
votes
1
answer
5k
views
Vim airline plugin bad characters
I'm having issue to display correctly the vim-airline plugin.
Here's what it's supposed to look like
Here's what it currently looks like.
Note the >, which is not displayed properly.
I tried ...
2
votes
1
answer
2k
views
Vim - How Recognize Spaces as Tabs (set listchars=tab)
I wonder if it is possible to use a configuration for that
command "set listchars=tab:▒░,trail:·" to "see" 4 spaces as tabs
and get the effect of the picture below (using real tabs)...
I use the ...
2
votes
2
answers
1k
views
Vim conceal feature is applied to active line
I am using MacVim with the vim-latex plugin. There is a conceal feature turned on by default that converts LaTeX symbols to unicode in vim itself so the source is easier to read. I think this is ...
4
votes
1
answer
220
views
Plugins cause gVim window to move (become "unsnapped") in Windows
I have a couple of Vim plugins that seem to cause aero-snapped windows in Windows 7 (Aero windows, not Vim windows) to pop out of their "snapped" position when certain events occur. I don't know ...
0
votes
2
answers
1k
views
How can I edit the identical part of multiple files at once?
I have multiple HTML files that form a small website. Several lines of code are duplicated at the top of the files (although the <title> differs), and a few lines are duplicated at the bottom.
...
2
votes
1
answer
980
views
Vim Color Scheme Overwritten by a Plugin
I’m trying to set up some prettier highlighting for Vdebug.
I had a look at the source, and it says I need to target a DbgBreakptLine (I don’t know what they are called, but it’s the thing you put ...