Questions tagged [vim-plugin]

The Vim text editor is extensible through plugins, which can be categorized into general utilities, color schemes, file type-specific settings, and syntax definitions.

If your question is not about programming, consider posting Vim related questions at the dedicated Vim Stack Exchange site.

The Vim editor can be extended through plugins, which are (at least partly) implemented in Vimscript.

Plugins may add a new color scheme, syntax highlighting for a new language, or settings and commands specific to a particular file type. But most plugins offer general add-on functionality that either enhance the use (like the various buffer and file explorers), or integrate with related tools (like revision control systems).

The main repository of Vim plugins is at vim.org. There's a prolific community of plugin authors and a wealth of different plugins. Some plugins are only available on sites like Github or Bitbucket.

1236 questions
-1
votes
2 answers

What should be the first argument for repeat#set function if I want to use repeat.vim along with surround.vim?

As per the site https://github.com/tpope/vim-repeat, the procedure to enable repeat.vim is as follows: silent! call repeat#set("\MyWonderfulMap", v:count) But I don't understand the first argument of repeat#set function. Can you please…
Ken Russell
  • 2,348
  • 5
  • 24
  • 39
-1
votes
2 answers

Regex find first 2 characters of every word in vim

In Vim, how do you find the first 2 characters of every word in a file and replace it. I'm actually looking to use matchadd for a plugin, but I'm struggling with vim's particular regex. I have tried: \w\{2} But this gets the next set of 2…
David
  • 2,715
  • 2
  • 22
  • 31
-1
votes
2 answers

SnipMate in Vim on Windows

What is wrong with my install of snipMate? I cannot get it to work. I even tried installing Pathogen as noted in the other answer. I am running vim7.4 on a windows XP. The _vimrc is noted below - set nocompatible set textwidth=80 set…
shparekh
  • 820
  • 10
  • 20
-1
votes
2 answers

why i failed to use omni auto complete when i edit source code?

vim a.py input: impo then press: Cx Co omin autocomplete just failed with the following message, why? Error: Required vim compiled with +python …
hugemeow
  • 7,777
  • 13
  • 50
  • 63
-1
votes
1 answer

Recommended Vim plugins for Java coding?

Are there any other plugins except for javacomplete javabrowser? It has to support: auto import getter/setter maker global refactoring, change file/class/method name
l4rmbr
  • 1,227
  • 7
  • 22
-2
votes
1 answer

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.githubusercontent.com/junegunn/vim-plug/master/plug.vim iam…
MdNihal05
  • 1
  • 2
-2
votes
1 answer

Unable to install plugins in vim via PlugInstall

I use windows. When I try to install nvim-comp using vim-plug it's giving me this error: Cloning into 'C:\Users\ASUS\AppData\Local\nvim\plugged\nvim-comp'... remote: Support for password authentication was removed on August 13, 2021. Please use a…
Dhruv Makwana
  • 61
  • 1
  • 7
-2
votes
1 answer

How to go to parent class in Vim coc-java

I’m using neoclide coc-java plugin in my vim config. https://github.com/neoclide/coc-java Let’s say I have some interface and its implementation. I have opened implementation, my cursor is on implementation of a interface’s method and I want to go…
Cunuu Kum
  • 161
  • 1
  • 2
  • 9
-2
votes
1 answer

Snippet plugin for MacVim does not working

I installed UltiSnips plugin on MacVim using vundle. Below is .vimrc call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle, required Plugin…
Aryabhima A. Rahman
  • 375
  • 1
  • 5
  • 10
-2
votes
1 answer

Syntax highlight works for gvim (GUI version of vim) but not for vim (terminal-based vim)

I am new to vim and I want to code in vim. I have installed the necessary plugins for syntax highlighting JSX in TypeScript and everything works fine for GUI version of Vim but not for terminal-based Vim. Please help me figure out the issue. below…
Bhasky93
  • 59
  • 1
  • 8
-2
votes
3 answers
-2
votes
1 answer

why :w filename is not working to write file in vim

I was watching a tutorial in which instructor using vim for ruby on rials development. He writes code on blank screen and then uses command :w hello.rb the whole code behaves like ruby code... when i try to use this command it gives an error…
Rana Zubair
  • 189
  • 1
  • 3
  • 15
-2
votes
1 answer

vim plugin with python gtk, works in gvim but hangs in terminal

I wrote this colorpicker vim plugin hosted in this repo. It works as in intended in gvim (open dialog with and input the color). But when I run vim in a terminal, the gtk window hangs after clicking the ok or cancel buttons (although it inserts the…
-2
votes
2 answers

Checking syntax when enter is pressed in Vim

I've added some vim configurations and I've lost the ability to check for syntax errors when pressing enter. I think this worked by default and I used it with PHP. Does anyone know which configuration should I implement in order to make this work…
rfc1484
  • 9,441
  • 16
  • 72
  • 123
-2
votes
1 answer

Vim and php: how can I know which function I'm in?

is there any plugin or other stuff to know in which function I am currently in? For example: let's say I have a function called my_long_function($arg1, $arg2) 400 lines of code long; I'm in the middle of it (so I can't actually see the name): is it…
Carlo
  • 4,016
  • 7
  • 44
  • 65
1 2 3
82
83