NeoVim Recipes: Adventures in a Plugin-less Configuration

Jonathan Apodaca - Jul 23 - - Dev Community

Introduction

Points to make:

  • Helix drove me to this
  • This is not my daily driver setup
  • This blog post is meant to give recipes that inspire the reader, not a complete configuration they can copy.
  • Do these count as plugins? I mean, yes, but since they are all single-origin (me), no.
  • Thank the community: existing Lua plugins are effectively a "View Source" mechanism for how Vim works internally

Principles

  • UNIX philosophy: we will fallback on other TUIs/CLIs for things outsize of NeoVim's text-editing purview

Utilities that we will reuse:

  • my.term
  • my.utils:
    • Range
    • Buffer
    • Co
    • etc.

Out-of-the-Box: Commenting

Indent Lines

TMUX Pane Navigation

Git

  • lazygit

Fuzzy Finder

Command Palette

Repetition

Repeatable Surround

LSP

LSP: Starting and Configuring Servers

LSP: Setting Keymaps on Attach

LSP: Commands

LSP: Auto-completion

Tree-Sitter: Installing Parsers

Tree-Sitter: Highlights

What About: File Explorers?

What About: Search and Replace?

What Next

Footnotes

. . . . . . . . . . . .