vim-snippets
vim-vinegar
Our great sponsors
vim-snippets | vim-vinegar | |
---|---|---|
17 | 38 | |
4,742 | 2,184 | |
- | - | |
6.4 | 1.8 | |
about 1 month ago | over 2 years ago | |
Vim Snippet | Vim Script | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-snippets
- How to I find default snippets
-
JavaScript and CSS in HTML files
Also, I'm using vim-snipmate style snippets in LuaSnip. How can I import snippets in javascript.snippets in html.snippetswithout having to copy everything.
-
Can anybody give me some review of coq_nvim :>
cmp works fine and I was able to trivially make it only suggest lsp completion for me by only including lsp sources. The setup is significantly more complicated with having the install 7ish plugins instead of just 3 for coq. I don't think I would've had the patient to go through the setup when I was just starting to use neovim. cmp also have much nicer UI (e.g. it shoulds documentation and sometimes function signiture as you browse through the suggestion.) With snippet you can find something like https://github.com/honza/vim-snippets which have more than what I need. You also need to choose a snippet engine so that's more decision to make.
- Closing brackets are highlighted in red when in the init.vim file
-
Is There a Snippet Collection for LuaSnip?
Since LuaSnip also supports snipmate I'm using vim-snippets since it's offering a lot of snippets I'm using often without having to write my own. But as @eliizaak said: it's not Lua and perhaps I'll find the time and energy to learn a bit more about LuaSnip and write my own snippets ... ;)
-
Snippets
It includes the snippets from honza/vim-snippets and my own snippets.
-
Multiple templates for same filetype?
vim-snippets as you've already mentioned.
-
Do Vim Snippets work in Obsidian?
Skimming over the blog post you linked, it appears that the author uses Vim plugins to get some of the snippets working, which I'm near-certain is impossible with the Vim features available to Obsidian. I don't think installing Vim plugins with vim-plug (as used by both myself and the author of the linked blog) is possible in Obsidian, for example. Without some way to manage installing Vim plugins, you won't be able to get plugins which enable vim snippets as used in the blog post.
-
[vimtex, vim-sandwich] How would you surround visual selected text with \emph{...} or \textbf{...} via a macro?
Sorry does it?
-
How to automatically include C headers in vim?
Auto adding include files or a specific non-static function is generally a bad idea, but I use yasnippet on Emacs for copyright/licensing info, this seemingly has the same purpose but oriented towards vim users, which makes file templates trivial (on Emacs at least, I don’t usually use vim unless I can’t use Emacs or mg for some reason).
vim-vinegar
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
I just recently got into the "plugin frenzy", and since I was already using netrw, I ignored all the tree-style options and just installed the tpope's vim-vinegar to extend it.
-
Best way to manipulate files inside neovim?
Netrw + vim-vinegar works for me. In conjunction with harpoon and a bufferline and maybe vim-eunuch, it works out pretty well
-
main file explorer plugin replacement?
I think you might be looking for netrw (:Ex brings it up). It is the default file explorer and can be used in many cool ways. There are extensions for it, like (vim-vinegar, and :help netrw is your friend :)
-
What plugins do you use to manage work across multiple files?
Plain `netrw` with a few options changed and tpope's vim-vinegar for easy access
-
Which file explorer do you use?
I use Vinegar but should try Oil. https://github.com/tpope/vim-vinegar
-
Nvim-tree or ??
Hijacking netrw to prevent disruptive "project drawer" style plugins as mentioned in the vim-vinegar readme is important to me.
-
Managing your files. How do you do it?
When you understand the default file explorer, you'll probably appreciate https://github.com/tpope/vim-vinegar
-
Neovim config from scratch (Part I)
ThePrimeagen suggests pv as the mapping to see the folder, but - comes from me being used to https://github.com/tpope/vim-vinegar some time ago. Choose your's to your liking.
-
Using neovim without a file tree plugin
Netrw, vim’s built in file explorer is pretty solid if you’re looking to understand the topology of a project. I really like the pattern of browsing the file tree in the window pane where the file will open. vim vinegar is a great plugin for refining the netrw experience and making it a little more seamless. Takes a minute to learn the keybindings, but I find it much lighter and less intrusive than nerd tree or it’s offshoots.
-
netrw.nvim - It's not because we use netrw that we cannot have nice things!
This one is for the vinegar workflow enjoyers. Netrw is good enough for my needs but it was missing a bit of *bling*. This plugins adds basic icon supports and custom keymappings.
What are some alternatives?
obsidian-vimrc-support - A plugin for the Obsidian.md note-taking software
nvim-tree.lua - A file explorer tree for neovim written in lua
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
nerdtree - A tree explorer plugin for vim.
emmet-vim - emmet for vim: http://emmet.io/
vim-devicons - Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
neo-tree.nvim - Neovim plugin to manage the file system and other tree like structures.
snippets.nvim
denite.nvim - :dragon: Dark powered asynchronous unite all interfaces for Neovim/Vim8
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
fff - 📁 A simple file manager written in bash.