vim-textobj-sentence
vim-pencil
vim-textobj-sentence | vim-pencil | |
---|---|---|
3 | 15 | |
101 | 1,549 | |
- | 0.0% | |
0.0 | 2.3 | |
over 2 years ago | about 1 year ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | 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-textobj-sentence
-
Jump by a sentence forward/backward
Fork https://github.com/preservim/vim-textobj-sentence and make it treat a comma as end of sentence.
-
How do I jump to the next clause - rather than sentence?
There is vim-textobj-sentence to make its sentence detection slightly more intelligent, and targets.vim which gives you some nice helpers for operating on different explicit delimiters and structures.
-
Setting up VIM for blogging
This plugin provides motion commands based on full sentence detection. You can switch around sentences with ( and ) and use it just as any other motion commands. Depends on vim-textobj-user plugin.
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?
targets.vim - Vim plugin that provides additional text objects
goyo.vim - :tulip: Distraction-free writing in Vim
targets - Function-oriented Make-like declarative workflows for R
proselint - A linter for prose.
vim-autocorrect - Correct common typos and misspellings as you type in Vim
vscode-neovim - Vim mode for VSCode, powered by Neovim
vim-textobj-quote - Use ‘curly’ quote characters in Vim
nvim-lua-setup
coc-diagnostic - diagnostic-languageserver extension for coc.nvim
vim-markdown - Markdown Vim Mode
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
neuron.nvim - Make neovim the best note taking application