vim-snippets
obsidian-vimrc-support
Our great sponsors
vim-snippets | obsidian-vimrc-support | |
---|---|---|
17 | 9 | |
4,742 | 925 | |
- | - | |
6.4 | 3.9 | |
26 days ago | 11 days ago | |
Vim Snippet | TypeScript | |
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).
obsidian-vimrc-support
-
How to create a completely new line using enter without bringing previous lines text
with vim mode enabled in settings, from normal view you can create a new line below with 'o' or a new line above with 'shift+o'. you can rebind with the vimrc plugin.
-
Note taking options?
Another thing I was considering was using this: https://github.com/esm7/obsidian-vimrc-support
-
Vim binding for turning word into link
The vimrc-support plug-in comes with a built-in surround command which you can bind to.
-
What's missing in Vim mode?
The one thing that immediately comes to my mind is that you need an extension in order to be able to use a .vimrc. I also don't think you can use any vim plugins.
-
Working mouse free?
The plugin esm7/obsidian-vimrc-support and the built-in vim support is the closest we can get for a mouse-free experience.
- How can I make my own keybindings instead of learning VIM keybindings?
-
Add Your Vimrc to Obsidian
" .obsidian.vimrc " " A small .vimrc for Obsidian vim bindings " " To enable this file, you must install the Vimrc Support plugin for Obsidian: " https://github.com/esm7/obsidian-vimrc-support " _________________________________________________________________________ " ; (semicolon) - same as : (colon) nmap ; : " (space) - same as : (colon) nmap : " j and k navigate visual lines rather than logical ones nmap j gj nmap k gk
-
Note taking
You can extend the built in features with your own config using this plugin: https://github.com/esm7/obsidian-vimrc-support
-
Do Vim Snippets work in Obsidian?
Obsidian's Vim functionality is just using whatever is available to the codemirror editor, it doesn't actually have all of the features of Vim. It's possible to get a plugin which allows for loading a .vimrc but again, the supported functionality is limited (i.e. there are lots of vim settings and features that do not work despite being valid in a regular .vimrc). It's not hard to find an example of this either; in actual Vim the movement dj will delete the current line and also the line below it. In Obsidian with Vim features enabled, it will only delete the current line. This is a simple example that has nothing to do with getting snippets working, but it is indicative that the actual Vim text editor and the Vim features available to Obsidian are not the same.
What are some alternatives?
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
termux-archlinux - You can use setupTermuxArch.bash 📲 to install Arch Linux in Termux on Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/termux-archlinux/
emmet-vim - emmet for vim: http://emmet.io/
Templater - A template plugin for obsidian
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
orgmode.nvim - Orgmode clone written in Lua for Neovim 0.7+. [Moved to: https://github.com/nvim-orgmode/orgmode]
snippets.nvim
obsidian-relative-line-numbers
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
obsidian-git - Backup your Obsidian.md vault with git
mu-template - Vim template-files expander
quick-explorer - Perform file explorer operations (and see your current file path) from the Obsidian.md title bar