vim-medieval
vim-pencil
vim-medieval | vim-pencil | |
---|---|---|
4 | 15 | |
105 | 1,549 | |
- | 0.0% | |
0.0 | 2.3 | |
almost 2 years ago | about 1 year ago | |
Vim Script | Vim Script | |
MIT License | GNU General Public License v3.0 or later |
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-medieval
-
Week 3 of learning rust - learning resources
Most of the notes about the language are in an interactive readme with runnable code samples. It can be ran in 2 ways: - using nvim to evaluate code snippets inline using neovim with the mdeval plugin. Using FeMaco creates an editing floating window with rust-tools LSP attached and Treesitter attached. - using slides, an interactive terminal presentation tool
-
Tried to use vim as a REST client. What do I miss?
I agree this is a convenient approach! I use vim-medieval, which allows to run a code block and output to another code block, and your workflow fits very well with that plugin!
-
How to execute a piece of code in a markdown file
I guess someone else already sort of answered that. I.e., no, there are ways to do this without a plugin. But if you are not afraid of installing a plugin, then I find vim-medieval is a good solution here.
- vim-medieval: Evaluate Markdown code blocks in Vim
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.
What are some alternatives?
nvim-snippy - Snippet plugin for Neovim written in Lua
goyo.vim - :tulip: Distraction-free writing in Vim
rest.nvim - A fast Neovim http client written in Lua
proselint - A linter for prose.
bullets.vim - 🔫 Bullets.vim is a Vim/NeoVim plugin for automated bullet lists.
vscode-neovim - Vim mode for VSCode, powered by Neovim
vim-rest-console - A REST console for Vim.
nvim-lua-setup
noboilerplate - Code for my talks on the No Boilerplate channel
vim-markdown - Markdown Vim Mode
rust-exercises - Learning rust in an interactive way with nvim
neuron.nvim - Make neovim the best note taking application