Skip to main content

Screenshots and window ergonomics

Code Screenshots (Local Plugin): freeze

Generate an image of code directly from Neovim using the freeze CLI.

Commands:

  • :Freeze - capture the whole buffer (or a range, e.g. :10,40Freeze)
  • :FreezeLine - capture the current line

Behavior:

  • Writes ~/Downloads/screenshots/freeze.png
  • Copies the PNG to clipboard (macOS) and opens the image after generation

Toggle Window Width (Local Plugin)

Toggles the current window width between the previous value and a "fit to content" width.

Winbar: Show Remainder Path (Local Plugin)

This config sets a custom winbar that shows the remainder of the current path in a compact way.