vim-pencil
limelight.vim
vim-pencil | limelight.vim | |
---|---|---|
15 | 17 | |
1,549 | 2,329 | |
0.0% | - | |
2.3 | 0.0 | |
about 1 year ago | almost 2 years ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | 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-pencil
- Is there a way to make undo sensible?
-
Using Neovim, latex, and a terminal pdf-viewer
Another option is vim-pencil.
-
How could I use neovim for general writing and annotations?
Both of the above are naturally integrated into billions of nvim plugins. I store files in a cloud folder to have access to them on my phone. There are apps that allow you to work with notes written in markdown like Obsidian. You should have a way to quickly go to your writing files. You could use telescope-project.nvim, startify shortcuts, or any other session plugin. I would also recommend setting up LSP for writing. You will be able to have diagnostics, "code actions" on wrong grammar, allowing you to add words to dictionary and suppress rules. I use ltex_extra.nvim for this. There are also a good set of plugins for writing by one author, just check them at the bottom of the pencil page.
-
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.
- Vim-pencil, Rethinking Vim as a tool for writing
-
Research paper + vim help
You may like vim-pencil if you use markdown. It adds several small conveniences around word wrap options, among other things. Note also that the author of pencil includes many useful links in the README for conceiving vim as a tool for prose. My workflow is based on pandoc and bibtex. But that part's not vim- specific.
-
How do you write files that are strictly max 80 chars per line?
The most efficient way to do this is to install the vim-pencil plugin--when you go to edit the file, say :Pencil to activate the plugin, and it'll reformat the text on the fly while you're editing it. Basically it makes vim act less like vim and more like a word processor.
-
Vim for text files
You may find vim-pencil usefull. The readme has some good links.
-
How to replace soft wraps with hard wraps irrespective of terminal width
preservim/vim-pencil: Rethinking Vim as a tool for writing
-
History isn't smooth
vim-pencil sets undo points at the end of every sentence (and other things) although you might not want to install a full plugin just for that.
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.
What are some alternatives?
goyo.vim - :tulip: Distraction-free writing in Vim
twilight.nvim - 🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
proselint - A linter for prose.
powerlevel10k - A Zsh theme
vscode-neovim - Vim mode for VSCode, powered by Neovim
vim-sleuth - sleuth.vim: Heuristically set buffer options
nvim-lua-setup
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
vim-markdown - Markdown Vim Mode
languagetool - Style and Grammar Checker for 25+ Languages
neuron.nvim - Make neovim the best note taking application