Our great sponsors
dotvim | goyo.vim | |
---|---|---|
11 | 41 | |
14 | 4,435 | |
- | - | |
6.1 | 0.9 | |
27 days ago | about 1 year 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.
dotvim
-
Find input tied to key combinations
I have a whole file full of mappings like this that let Vim recognize various special key combinations from any terminal emulator I've used in the last 20 years. It's a mess: https://github.com/mgedmin/dotvim/blob/master/plugin/keyboard-workarounds.vim
-
Whats Your VIMRC Setup For 2023?
https://github.com/mgedmin/dotvim, accumulated over many years.
-
Show me your well organized vim config.
So, three out of four? https://github.com/mgedmin/dotvim
-
Help with jumping to file location when opening a diff file in Vim
Assuming I understood your desire correctly? I have a function to jump to the original (or patched) file when I press Enter on a line of diff: https://github.com/mgedmin/dotvim/blob/master/ftplugin/diff.vim
-
Python Folding
I use a custom foldexpr. I've been using it for many years, and polished it to do the right thing on all the codebases I've used it on.
-
Working remotely using SSH
My ~/.vim/ is a Git repository and I make it support older versions of Vim by checking for the existence of features before using them, because I couldn't stand my .vimrc emitting any errors on Vim startup. If you're interested, it's here: https://github.com/mgedmin/dotvim/
-
Would it be a mistake to unset timeout?
The primary reason why I need timeout/ttimeout is to have a working Escape key, when you also want to have custom bindings for various key combinations (e.g. ctrl+shift+arrows) that aren't natively recognized for your terminal for some reason, and thus you end up creating compatibility mappings for them.
-
What is the simplest Python autocomplete, snippets, and such on Vim now?
My ~/.vim is here, if you're curious about the details: https://github.com/mgedmin/dotvim/
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
I'm perfectly happy with ~/.vim in a separate git repository (mine), with all the plugins installed via vim-plug.
-
What are some of the unique functions you use in your .vimrc?
My vimrc is, uhh, big, but I've tried to keep it commented.
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.
[1]: https://github.com/junegunn/goyo.vim
[2]: https://vimwiki.github.io/
-
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.
https://github.com/junegunn/goyo.vim
-
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! 👍🏻
What are some alternatives?
Dotfiles - My manjaro dotfiles
zen-mode.nvim - 🧘 Distraction-free coding for Neovim
dotfiles - These are my dotfiles. There are many like them, but these ones are mine.
vim-pencil - Rethinking Vim as a tool for writing
dotfiles - My personal Linux shell settings
vim-easy-align - :sunflower: A Vim alignment plugin
scripting_course - :notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.
vim-startify - :link: The fancy start screen for Vim.
dotfiles - My personal configuration files.
indent-blankline.nvim - Indent guides for Neovim
dotfiles
nvim-lua-setup