goyo.vim
vim-unimpaired
Our great sponsors
goyo.vim | vim-unimpaired | |
---|---|---|
41 | 52 | |
4,435 | 3,215 | |
- | - | |
0.9 | 0.0 | |
about 1 year ago | 7 months 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.
goyo.vim
- Ensō: write now, edit later
-
Ask HN: Did anyone write a book in Nano?
I wrote a manuscript in vim a couple Novembers ago, for NaNoWrimo. I used a couple plugins, primarily Goyo [1] to add some margins, but otherwise, yeah, plain vim.
I don't think it was really any more productive than my current workflow in Obsidian. Vim keybindings are more useful for editing than for writing (and for editing code in particular, where the changes you're making are much more structured). Also, while the extra features afforded by Obsidian don't really make a difference during the writing process, I find they're really useful for outlines and other preliminary work, which is something of a point against a vim-only workflow unless you want to use vimwiki [2] or something.
Granted, Obsidian is still a markdown-based tool, so there's still some level of minimalism going on there, but by that point we're really discussing markup vs word processors, which is its own conversation—and to my mind, a much more important one. I much prefer working in markup than in a rich text editor, because plain text is easy to edit and process through the terminal, and because it lets me separate style choices from content.
I find that the markdown live preview that editors like Obsidian and Typora provide (and which vim doesn't) is a really nice compromise between a slick composing experience and the technical affordances of markup. Between that and Obsidian's hypertext features, I think I'll stick with Obsidian for the foreseeable future.
-
is it possible to read books in vim?
Maybe https://github.com/junegunn/goyo.vim could be useful then.
-
Help with plugin: Goyo
Goyo is a distraction free plugin for vim/NeoVim. https://github.com/junegunn/goyo.vim. Typically used for people wanting to write inside of NeoVim. There isn’t a real purpose for me to use it other than I like the aesthetic looks. Thanks for replying!
- [Vim] Vous cherchez un moyen d'ajouter un rembourrage de tout le côté de la fenêtre.
-
An application that serves as a notepad that overlays the screen?
Maybe not of use, but what about just one of your editors + the terminal? Using vim with the goyo extension similarly without the overlay. I write my notes with markdown.
-
SQLite WASM in the Browser Backed by the Origin Private File System
I haven't maintained a Vim config in a few years now (more of an Emacs man now), but I do remember using Goyo in college. Looking back at it, I think it might scratch your itch as far as Vim plugins go, it even allows you to resize the area on the fly.
-
UPDATE: no-neck-pain.nvim - Dead simple plugin to center the currently focused buffer to the middle of the screen.
I went from https://github.com/junegunn/goyo.vim to https://github.com/folke/zen-mode.nvim and now this
Can't see https://github.com/junegunn/goyo.vim mentioned anywhere in this thread.
-
BlindVim, my first simple plugin.
This feels real similar in concept to limelight and goyo. Nice! 👍🏻
vim-unimpaired
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
I don't think it moves blocks, but I utilize the venerable vim-unimpaired for basic text movement (and for inserting empty lines from normal mode).
-
How to create a line downwards without changing location of cursor?
vim-unimpaired gives a mapping for that for ] (and [ to insert an empty lines above the cursor).
-
what does o and O really do?
I use https://github.com/tpope/vim-unimpaired for this.
-
Install vim plugin (for XML/HTML encode/decode)
Is it possible to install a Vim plugin (like https://github.com/tpope/vim-unimpaired/tree/master)?
-
What do you really use to steer the cursor?
HJKL for movement, then mapped arrow keys to this (requires unimpaired): " Normal mode: indent or move line nmap [e nmap ]e nmap << nmap >> " Visual mode: indent or move selection vmap [egv vmap ]egv vmap >gv
-
LPT: RTFM. I routinely find something useful every time I read not only what I was looking for, but also something adjacent
Just now I was looking at the manual entry for vim-unimpaired, since I couldn't remember the incantation for swapping two lines. (It's ]e and [e for swap forward and swap backward.)
-
How do you manage buffers ?
Switch buffers with :b or the ]b [b bindings from unimpaired.
-
Markdown syntax + conceal on `.md` files
and a nice toggle remap that I found here to edit Markdown without conceal: vim.keymap.set("n", "tc", ":setlocal =&conceallevel ? 'conceallevel=0' : 'conceallevel=2'", { desc = "[T]oggle [C]onceallevel"} )
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
Which vim plugins do not have a lua equivalent yet?
https://github.com/tpope/vim-unimpaired. I still use it a lot and it’s one of the few remaining vimscript plug-ins I have. It is also quite slow to load. It would be fantastic to have a Lua equivalent.
What are some alternatives?
zen-mode.nvim - 🧘 Distraction-free coding for Neovim
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
vim-pencil - Rethinking Vim as a tool for writing
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
vim-easy-align - :sunflower: A Vim alignment plugin
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-startify - :link: The fancy start screen for Vim.
better-escape.vim - A Vim/Neovim plugin for escaping insert mode without lagging.
indent-blankline.nvim - Indent guides for Neovim
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
nvim-lua-setup
fzf.vim - fzf :heart: vim