limelight.vim
ultisnips
Our great sponsors
limelight.vim | ultisnips | |
---|---|---|
17 | 64 | |
2,314 | 7,425 | |
- | - | |
0.0 | 4.9 | |
over 1 year ago | about 1 month ago | |
Vim Script | Python | |
MIT License | GNU General Public License v3.0 only |
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.
limelight.vim
- is it possible to read books in vim?
-
Hi vimmers! Does any one use F[1..12] keys and what for? Cheers!
F10: Toggles Limelight on or off.
-
Is it possible to highlight nested code using the background color in nested rectangles?
In case you can't find anything that does the same there's https://github.com/junegunn/limelight.vim which could be adapted to give the same effect
-
BlindVim, my first simple plugin.
This feels real similar in concept to limelight and goyo. Nice! 👍🏻
-
Show me your well organized vim config.
goyo and limelight are also really useful plugins that work well together to create a nice environment for writing.
-
Almost monospaced: the perfect fonts for writing
Two years ago, I did nanowrimo in Vim with a whole suite of plugins:
- https://github.com/preservim/vim-pencil
- https://github.com/junegunn/goyo.vim.git
- https://github.com/junegunn/limelight.vim.git
- https://github.com/vimwiki/vimwiki
It was fun, and the setup is almost identical to iA Writer which I appreciate. I even had it all on my phone with Termux!
Last year I just did it in Markdown in VSCode in "zen mode" which also worked pretty well. It was definitely easier to setup than Vim and had better highlighting of bold/italics/etc.
-
Is there a way to hide some line numbers?
I can recommend Goyo and limelight together. Goyo hides lines further away and centers the text, limelight removes syntax highlighting from other paragraphs except the current one. So you have a simple, distraction free workspace
-
I need some help getting to the colors of Neovim
I guess goyo.vim + limelight.vim would help do the same. But at the end of the day, still means reaching for the mouse, dragging some borders around, etc.
-
How to hoist the current method/function?
If you like Goyo, you might like limelight, which does pretty much what you're looking for.
-
Limelight, goyo, tmux issue "terminal not supported, sorry"
After having added ( set t_Co=256, as per https://github.com/junegunn/limelight.vim/issues/49 ) to my vimrc and sourcing it works now.
ultisnips
-
LaTeX and Neovim for technical note-taking
I always like people's LaTeX-based note taking setups. I'm a mathematician, so I write a lot of LaTeX too. (And I use vim, so I really like vim+Latex workflows).
It's interesting that this post (or rather, the later post that discusses this) talks about the advantages of UltiSnips. The well-known vim-LaTeX posts written by Gilles Castel (RIP) relied pivotally on UltiSnips.
It's not just that UltiSnips is a snippet engine. There are many of those (including LuaSnip, the other snippet engine mentioned in the OP series of articles). It's that UltiSnips can dispatch arbitrary expressions to short python code sections, and python has a great scientific library. For example, it's trivial to write a `sympy` snippet that will simplify or compute a given expression and write the output in latex for you.
But UltiSnips works *terribly* with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.
LuaSnip has interpolation too. I suppose it would be possible to write more code that calls from LuaSnip to a system like sympy (or other). But that's work. On the other hand, I think it takes a true power user to actually want or use the fancy interpolation functions.
[1]: https://github.com/SirVer/ultisnips/issues/974
-
Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim
I think in-the-wild examples like Ultisnips deoplete semshi (although they are advanced and somewhat complex) would also be good examples to learn how one can use python for writing plugins.
- UltiSnips – Snippet Solution for Vim
-
lsp-zero v2.x is now available
I didn't know lsp-zero, but this integration seems just for me except for that I am using UltiSnips instead of luasnip. Just curious how difficult do you think it is to add UltiSnips integration along with cmp-nvim-ultisnips?
- Minimalistic neovim/vim with batteries included ?
- How to solve this? (Ultisnippets plugin)
-
Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
If you use UltiSnips, you can just do this:
-
Vim + LaTeX
Snipets or code completion can be done in a number of different ways, and how that is configured will depend on what method you use. In the blog he uses the vim plugin ultisnips. You'll find details on configuration for that in that link.
-
Python36.dll not found
Heyo, I've been trying to get UltiSnips and YouCompleteMe to work, however, I've ran into a bit of a problem. The python36.dll library does not seem to exist for UltiSnips, and YouCompleteMe cannot locate python at all (screenshots at bottom).
- SirVer/ultisnips: UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
What are some alternatives?
twilight.nvim - 🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
LuaSnip - Snippet Engine for Neovim written in Lua.
powerlevel10k - A Zsh theme
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
vim-sleuth - sleuth.vim: Heuristically set buffer options
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
languagetool - Style and Grammar Checker for 25+ Languages
friendly-snippets - Set of preconfigured snippets for different languages.
goyo.vim - :tulip: Distraction-free writing in Vim
emmet-vim - emmet for vim: http://emmet.io/