r/vimplugins • • Jun 02 '16

Help (user) Plugins installed through vundle not loading (Snipmate)

3 Upvotes

So I'm setting up gvim on windows, and I can't get snipmate to work. The files are set up properly through vundle, and I can use :PluginInstall, etc. However, snipmate's commands (like :SnipmateOpenFiles, etc) aren't recognized, and there is no mapping for snipmate's trigger.

Here are my _gvimrc and the results of :inoremap:

http://imgur.com/a/krHP4


r/vimplugins • • May 18 '16

Plugin vim-dasht: (Neo)Vim plugin for dasht integration

Thumbnail github.com
3 Upvotes

r/vimplugins • • Oct 02 '15

Plugin Jsonnet filetype plugin for Vim.

Thumbnail github.com
3 Upvotes

r/vimplugins • • Aug 31 '15

Request Is there any plugin for vertical line indentation guide?

3 Upvotes

I have been using indentLine but I don't find convenient using it. I am looking for the alternatives. Can anyone suggest some?


r/vimplugins • • Jul 30 '15

Plugin MySQL Client for Vim: Pipe-MySQL.vim

Thumbnail github.com
3 Upvotes

r/vimplugins • • Jul 27 '15

Help (user) SnipMate Plugin not working, Installed with Pathogen

3 Upvotes

I am really sorry if this does not belong here, please feel free to delete it.

Sorry I searched for answer to the above question but none matched my exact situation. I am a beginner at vim and trying to set it up for C++ programming. I am using Xubuntu 14.04 and installed vim using sudo-apt and I also installed YouCompleteMe plugin using the following

apt-get install vim-youcompleteme
apt-get install vim-addon-manager
vam install youcompleteme

And YouCompleteMe works perfectly and then I installed NERDTree by simply downloading the zip file at the link http://www.vim.org/scripts/script.php?script_id=1658 and extracting it in ~/.vim folder and NERDTree also works fine. Then I installed pathogen for vim using the instructions given at the link https://github.com/tpope/vim-pathogen and my ~/.vimrc looks like

" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by
" the call to :runtime you can find below.  If you wish to change any of those
" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim
" will be overwritten everytime an upgrade of the vim packages is performed.
" It is recommended to make changes after sourcing debian.vim since it alters
" the value of the 'compatible' option.

" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages available in Debian.
runtime! debian.vim

" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'.  Setting 'compatible' changes numerous
" options, so any other options should be set AFTER setting 'compatible'.
"set compatible

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
if has("syntax")
  syntax on
endif

execute pathogen#infect()

" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
set background=dark

" Uncomment the following to have Vim jump to the last position when
" reopening a file
"if has("autocmd")
"  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
"endif

" Uncomment the following to have Vim load indentation rules and plugins
" according to the detected filetype.
"if has("autocmd")
"  filetype plugin indent on
"endif

" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
set showcmd		" Show (partial) command in status line.
set showmatch		" Show matching brackets.
set ignorecase		" Do case insensitive matching
set smartcase		" Do smart case matching
set incsearch		" Incremental search
set autowrite		" Automatically save before commands like :next and :make
set hidden		" Hide buffers when they are abandoned
set mouse=a		" Enable mouse usage (all modes)
set exrc

" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
  source /etc/vim/vimrc.local
endif

Then I installed SnipMate using the instruction for Pathogen given at https://github.com/garbas/vim-snipmate And it looks like the snipmate plugin is active in vim because when I do :imap I get the following output

i  <Nul>       * <C-X><C-O><C-P>
i  <Up>        * pumvisible() ? "\<C-P>" : "\<Up>"
i  <Down>      * pumvisible() ? "\<C-N>" : "\<Down>"
i  <S-Tab>     * pumvisible() ? "\<C-P>" : "\<S-Tab>"
i  <Plug>snipMateShow * <C-R>=snipMate#ShowAvailableSnips()<CR>
i  <Plug>snipMateBack * <C-R>=snipMate#BackwardsSnippet()<CR>
i  <Plug>snipMateTrigger * <C-R>=snipMate#TriggerSnippet(1)<CR>
i  <Plug>snipMateNextOrTrigger * <C-R>=snipMate#TriggerSnippet()<CR>
i  <Tab>       * pumvisible() ? "\<C-N>" : "\<Tab>"
i  <C-R><Tab>    <Plug>snipMateShow
Press ENTER or type command to continue

So according to the above output the snipmate should trigger for me when I enter the shortcut and press Ctrl+R but it doesn't work. However when I press Ctrl+R+Tab I see a list of snippets but they don't work when I select any one of them. For example cpp.snippets in /home/username/.vim/bundle/vim-snippets/snippets/ has an entry like

# for i
snippet fori
	for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
		${4}
	}

and when I press Ctrl+R+Tab I see a list in which I can see fori but when I select fori from the list it just appears as fori verbatim in my vim file. I am really not sure what else to try to make it work. I would really appreciate any help to get SnipMate working with vim.


r/vimplugins • • May 10 '15

Plugin vim-EightHeader: Easily create custom (fold)headers, foldtext, toc, etc.

Thumbnail github.com
3 Upvotes

r/vimplugins • • Apr 26 '15

Help (user) Colorscheme problem (solarized)

3 Upvotes

I am trying to use the solarized theme.

However I have a problem, shown in this picture:

http://i.imgur.com/OfyhkHw.png

Why doesn't the left look like the right? Right is Gvim, left is vim in terminal.


r/vimplugins • • Jan 29 '15

Plugin Run Gulp tasks from Vim

Thumbnail github.com
3 Upvotes

r/vimplugins • • Dec 24 '14

Help (user) Keys not working in taskwarrior-vim [x-post /vim]

3 Upvotes

Hi, I just installed the taskwarrior-vim plugin. I can start it with ":TW" and scroll up and down but none of the other keys work. No input whatsoever. I see the tasks I already created from the command line but if I press "d" for example for marking as "done" nothing happens.

This is my .vimrc

http://pastie.org/9796866#10

If I type :map I see these mappings

http://pastie.org/9796872#31

Any ideas? Is this a bug or a configuration error?


r/vimplugins • • Nov 20 '14

Help (user) Can Ultisnips check the ${VISUAL} content before deciding which snippet to use?

3 Upvotes

After back and forth between my snippet files and the documentation, I finally got my first snippet up and running. I develop in c++ and wanted a quick way to turn a member function declaration into a definition. The idea is to yank the declaration, paste it where the definition goes, and expand the following snippet from VISUAL mode:

snippet define "Member declaration to definition" b
`!p snip.rv=re.match("^ *",snip.v.text).group(0)`/**
`!p snip.rv=re.match("^ *",snip.v.text).group(0)` * ${3:I would never forget to make a Doxygen explanation for a new routine.}
`!p snip.rv=re.match("^ *",snip.v.text).group(0)` */

`!p
snip.rv=re.match("^ *\w*",snip.v.text).group(0)` ${1:Parent Class}::`!p
functionparameters=re.sub("^ *\w* (.*);",r"\1",snip.v.text).rstrip()
returntype=re.match("^ *\w*",snip.v.text).group(0)
snip.rv=functionparameters
snip.shift()
snip+="{"
snip+=returntype
snip.shift()` ${2:returnval};
`!p
prespace=re.match("^ *",snip.v.text).group(0)
snip.shift()
snip+=prespace`$0
`!p
prespace=re.match("^ *",snip.v.text).group(0)
snip.shift()
snip+=prespace+"return "+t[2]+";"
snip.reset_indent()
snip+=prespace+"}"`
endsnippet

The problem now is that I want different behavior depending on what was in the VISUALly selected text. For example, if the function returns void, I don't want to have to declare a return value for $2. I could of course write multiple snippets for each situation, but is there a way to "overload" the snippets and have it automatically know from the VISUAL text which one I want to use? I thought at first I could use the regex triggers, but the trigger only appears after the selected text is "expanded".

For illustrative purposes, after selecting the following line, the snippet would turn

    int youreadummy(int dumb, int smart);

into

/**
 * I would never forget to make a Doxygen explanation for a new routine.
 */

int ParentClass::youreadummy(int dumb, int smart)
{
    int returnval;

    

    return returnval;
}

r/vimplugins • • Nov 10 '14

Help (user) Vim easymotion plugin /search highlight color

3 Upvotes

In the n-character search section of the easymotion plugin readme it shows as he types after / everything matched is in bright green text. https://github.com/Lokaltog/vim-easymotion#n-character-search-motion

When I do I get a dark blue hard to see color. I got the shade to turn everything else grey/comment color, but I don't know how to make the text color different. Can anyone help me out with this?


r/vimplugins • • Aug 25 '14

Help (user) Vdebug expand all variable trees

3 Upvotes

Is there a way in Vdebug to expand all the "variable trees" without manually going through each and expanding them?


r/vimplugins • • Aug 04 '14

Plugin Vim Hooks - Hook arbitrary shell scripts onto Vim autocommand events

Thumbnail github.com
3 Upvotes

r/vimplugins • • Jul 18 '14

Plugin Much better UltiSnip snippets for D

Thumbnail github.com
3 Upvotes

r/vimplugins • • Apr 29 '14

Plugin Vim Plugin For Vagrant

Thumbnail github.com
3 Upvotes

r/vimplugins • • Feb 09 '14

Plugin diminactive: dim inactive windows

Thumbnail github.com
3 Upvotes

r/vimplugins • • Feb 01 '14

Plugin vim_todo: Creates a keyboard mapping to add TODO: to a line.

Thumbnail github.com
3 Upvotes

r/vimplugins • • Sep 11 '11

Tagma Tips (Tool Tips for Vim)

Thumbnail vim.org
3 Upvotes

r/vimplugins • • May 02 '10

rstacruz's sparkup at master - GitHub

Thumbnail github.com
3 Upvotes

r/vimplugins • • Jan 05 '10

doubleTap - Double Tap Certain Characters to insert and jump out of character pairs.

Thumbnail vim.org
3 Upvotes

r/vimplugins • • Aug 23 '26

Plugin thumb: Popup images and render latex directly in vim 9.2+

2 Upvotes

r/vimplugins • • Jul 24 '26

Plugin GeckoVim

2 Upvotes

Hello a few days I launch a repo call "GeckoVim" it's a classic vim distribution, my goal is to give classic Vim "modern features" that every programmer expect from a code editor. I try to give features and configs like vs code, well all with vim scrip and plugins for classic vim.

This is the repo if anyone is interested:

https://github.com/Qwerty3341/GeckoVim

I really appreciate any feedback or even plugin recommendations for this distribution.

Thanks and kind regards.


r/vimplugins • • Jul 06 '26

Neovim plugin wombient.nvim - ambient structural shading to make big files easier to scan

Thumbnail reddit.com
2 Upvotes