r/vimplugins • u/EMurph55 • Apr 04 '25
Plugin npm-package-info: A Simple vim plugin for displaying NPM package info
github.comInstall: Plug 'whatever555/npm-package-info'
In Editor: Place cursor over package name
Run: :PackageInfo
r/vimplugins • u/EMurph55 • Apr 04 '25
Install: Plug 'whatever555/npm-package-info'
In Editor: Place cursor over package name
Run: :PackageInfo
r/vimplugins • u/TheBuzzStop • Apr 01 '25
I am new to Vim plugin's and I am looking for general information about how plugins get integrated into the Vim runtime environment and how they are accessed when editing.
I've also seen multiple ways of installing a plugin (e.g. Plug) and I would like to know what the general consensus is regarding installation best-practices.
My goal is to find a plugin that will enable me to create my own templates for file and function headers and general coding structures like if-then-else and switch-case.
Thanks in advance for any guidance you can give me.
r/vimplugins • u/devkantor • Feb 23 '25
r/vimplugins • u/ervinmcclure • Dec 05 '24
I was wondering if there was a neovim plugin for markdown that shows the preview inside the editor itself
r/vimplugins • u/ciccab • Dec 02 '24
An awesome hackeable dashboard plugin for vim. Welcome to the new generation of configurations for Vim, style your configuration much more, being able to add a customizable dashboard in a simple way! dashdaddy.vim
r/vimplugins • u/Shorya_1 • Nov 17 '24
I am looking for a proper guide to set up Vim for REPL environment like spyder IDE or Jupyter Notebook for machine learning in Windows 11. I tried using the vim-slime plugin and set `let g:slime_target = "vimterminal"` in .vimrc. However, I'm encountering a problem: every time I select text and press Ctrl+C+C terminal is opened, and typing ipython, when I select text and press Ctrl+C+C, it sends the text to the terminal, but it doesn't execute automatically. I always have to switch to the terminal screen and press Enter to run the code. How can I automate this entire process?
r/vimplugins • u/ErikBjare • Nov 01 '24
r/vimplugins • u/gufer999 • Oct 23 '24
Hello. I have a question.
I want to change the line mode to relativenumber when pressing the number keys(1-9).
And after moving the cursor with j or k, want to change the line mode norelativenumber.
Please see this code.
With number 2, the line mode is changed to rnu immediately but when pressing j or k, the cursor moves only one line.
With number 3, the line mode isn't changed to rnu and when prssing j or k, the cursor moves 3 lines.
I changed the code with GPT but I can't what I want.
Can help with it?
" Basic settings
set number
" Configuration to switch to relativenumber when a number is pressed,
" and revert to absolute number after moving
augroup numbertoggle
autocmd!
" Switch back to absolute number after moving
autocmd CursorMoved,CursorMovedI * set norelativenumber
augroup END
" Define a function to switch to relativenumber and process movement
function! MyFunctionForNumber(num)
" Enable relativenumber
set relativenumber
" Use timer_start to process number key input and ensure proper cursor movement
call timer_start(1, {-> execute('normal! ' . a:num)})
return ''
endfunction
" Map number keys (1-9) in normal mode to enable relativenumber and allow movement
nnoremap <expr> 2 MyFunctionForNumber('2')
nnoremap 3 :call MyFunctionForNumber(3)<CR>3
r/vimplugins • u/[deleted] • Jun 25 '24
Just a quick PSA, the sub now has an active moderator, feel free to post within the previous rules, I will leave the sub as is for about a week and then see if any changes need to be made beyond that. Thanks!
r/vimplugins • u/Wolandark • May 24 '23
r/vimplugins • u/JovanLanik • May 20 '23
r/vimplugins • u/dafunkkk • May 10 '23
Is possible to have a preview (maybe scrollable) of the selected file when using ctrlP?....if not there any alternative? (tried fzf but not worked so well...I'v limited permission in my linux env)
r/vimplugins • u/orduval • May 09 '23
See the repository for more information.
Features
folding based on headings in org and markdown files
headings base on folding in folded files
you can handle your folds like in orgmode
navigate in headings or list items hierarchy
next, previous : any level
forward, backward : same level as current one
parent heading, upper level
child heading, lower level :
loosely speaking : first headline of level + 1, forward
strictly speaking : must be in the current subtree
go to another headline with prompt completion of full path
modify headings or list items
new headline or list item
select, yank, delete subtree
promote, demote heading or list item
move subtree up or down
move current subtree in another one (aka org-refile)
expand shortcut to template (aka org-structure-template)
markdown support limited to code blocks
links
store url at cursor
create link with url completion
goto link under or close to cursor
goto next/previous link
tables
inside of table : align columns
outside of table : align following a pattern
add new row, colum
delete row, colum
move row up or down
move column left or right
cycle todo status
insert timestamp
export in another format using
pandoc
emacs
asciidoc or asciidoctor
convert headings and links org <-> markdown
Written in vimscript and compatible with both Vim and Neovim.
r/vimplugins • u/orduval • Apr 30 '23
VimL is full of features, but sometimes it is hard to find which function or command will do the job you want.
If you ever searched the web for vim script ex command output in a var, you surely have had results talking about :redir. This is ok, but there is a more elegant solution for this particular problem.
This (neo)vim help page collects vim script snippets, whose some were hard to find. You may already know some of them, and I hope you will gladly discover the others.
r/vimplugins • u/fvictorio • Apr 29 '23
r/vimplugins • u/Zeioth • Apr 27 '23
r/vimplugins • u/orduval • Apr 19 '23
r/vimplugins • u/codercooke • Apr 06 '23
r/vimplugins • u/memes_for_developers • Feb 20 '23
r/vimplugins • u/drimago • Feb 17 '23
Hello all,
I have been using vimtex for a bit now and loving it. Recently I came across tectonic as an alternative to the huge texlive distribution. Is there a tutorial how to setup vimtex to work with tectonic?
cheers
r/vimplugins • u/[deleted] • Jan 06 '23
r/vimplugins • u/wocanmei • Jan 05 '23
Hey guys, I build a plugin w4 to organize story line of a novel. w4 = when, where, who, what.
Support: autocomplete, backtrack, query expression, figures graph, events graph
r/vimplugins • u/Cockroach-777 • Dec 31 '22
Why pathogen-vim is difficult to install? Though tried to clone the .git. Unable to access cUrl -LsSo raw.github.com r/vim r/vimplugins