goyo.vim is a plugin by junegunn that provides a distraction-free writing environment inside Vim or Neovim by concentrating the focus on the current buffer. When you invoke the command (e.g., :Goyo), it opens the current file in a centered, minimal layout — typically hiding sidebars, status-lines, tab-lines, scrollbars, and other UI clutter — thus offering a clean space for writing or reading. The width and height of the writing area can be optionally specified (e.g., :Goyo 80 for an 80-column width) and typical window-resizing keys still apply. The idea is that when you need to focus on writing (markdown, notes, prose, or even code), you temporarily step into a calm environment, then exit to your normal layout when finished. It is also designed to work nicely with other plugins — for instance with limelight.vim for highlighting the current paragraph or writing focus.
Features
- Toggle a centered distraction-free writing window with :Goyo
- Optional specification of layout width/height to suit your screen or writing style
- Minimal UI elements while in Goyo mode (hides or reduces sidebars, tablines, etc)
- Easy exit from distraction-free mode back to your full multitask layout
- Seamless integration with other plugins (e.g., writing-focus plugins)
- Lightweight and fast to invoke without heavy configuration