limelight.vim
vim-sleuth
Our great sponsors
limelight.vim | vim-sleuth | |
---|---|---|
17 | 27 | |
2,314 | 1,784 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 month ago | |
Vim Script | 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.
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.
vim-sleuth
-
How can I set my TAB key to be 4 spaces indent?
In addition to setting tabstop and shiftwidth, you might also like this plugin: https://github.com/tpope/vim-sleuth
-
[HELP] File type specific plugin is ignored
vim-sleuth auto detects tab size so...
-
What did I do to deserve this kind of torture
Just add https://github.com/tpope/vim-sleuth and never worry about it again.
- HELP: save options in sessions
-
Learning Rust, I didn't expect such a backstab
At the end of the day I don't really care which a project goes with, I've always just used vim-sleuth to automatically set my tab key to input whatever the current file's indentation is.
-
Trouble detecting shiftwidth correctly
VsCode has an internal function from auto-detecting indentation, while my config uses vim-sleuth with indent-blankline.nvim.
-
Builtin EditorConfig support
If you work a lot on legacy codebases, https://github.com/tpope/vim-sleuth is probably more what you need than editorconfig, as it will work even when one is not present.
-
New plugin for handling soft/hard line wrapping - wrapping.nvim
The primary advantage of using it is that it has built in heuristics for detecting line wrapping when opening a file (with some Treesitter magic for Markdown to make it more accurate), and also allows for manual swapping between wrapping types. You can think of it as the wrapping equivalent to vim-sleuth.
-
How do I force Neovim to always give me two space indents (or the correct indent) everywhere.
I just found about Tim Pope's sleuth: https://github.com/tpope/vim-sleuth It supports editorconfig but it also seems to have just better heuristics when an editorconfig file isn't present, so I just decided to replace `editorconfig-vim` with it.
-
How to set indentation dynamically based on language?
Another solution is try sleuth.vim, that sets automatically your indentation based on the project, buffer and editorconfig
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.
vim-polyglot - A solid language pack for Vim.
powerlevel10k - A Zsh theme
nvim-autopairs - autopairs for neovim written in lua
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
languagetool - Style and Grammar Checker for 25+ Languages
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
goyo.vim - :tulip: Distraction-free writing in Vim
yapf - A formatter for Python files
vim-mucomplete - Chained completion that works the way you want!