Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. autoclose.nvim

autoclose.nvim

MITLua

A minimalist Neovim plugin written in Lua that automatically pairs and closes brackets.

GitHubGitHub
646 stars23 forks0 contributors

What is autoclose.nvim?

autoclose.nvim is a minimalist Neovim plugin that automatically pairs and closes brackets, quotes, and other delimiters. It simplifies coding by handling auto-closing, auto-deleting, auto-escaping, and auto-indenting, reducing manual typing and editing errors. Written entirely in Lua, it integrates seamlessly with Neovim for a smoother development workflow.

Target Audience

Neovim users who want a lightweight, no-frills solution for automatic bracket pairing without the complexity of larger plugins. It's ideal for developers who prioritize speed and simplicity in their editing environment.

Value Proposition

Developers choose autoclose.nvim for its minimalism and performance—it provides core pair-editing features without unnecessary extras, resulting in faster execution and a cleaner configuration compared to more feature-rich alternatives.

Overview

A minimalist Neovim plugin that auto pairs & closes brackets

Use Cases

Best For

  • Neovim users seeking a lightweight auto-pairing plugin
  • Developers who want basic bracket completion without advanced features
  • Lua enthusiasts looking for a simple, Lua-written Neovim extension
  • Minimalist editors who prefer fast, configurable pair management
  • Users transitioning from other editors wanting automatic bracket handling
  • Coding in languages with heavy bracket usage like JavaScript, Python, or Lua

Not Ideal For

  • Users requiring advanced features like fast wrap or treesitter-based pair validation
  • Projects that depend on deep integration with other Neovim plugins for enhanced editing workflows
  • Developers working with languages that need dynamic, context-aware pair creation beyond basic brackets and quotes

Pros & Cons

Pros

Minimal and Fast

Written in 100% Lua with a focus on core functionality, it ensures quick execution and low resource usage, avoiding feature bloat as emphasized in the philosophy.

Highly Configurable

Supports custom pairs like '$$' and per-key settings, allowing fine-tuned control over auto-close, escape, and filetype behavior via a simple setup table.

Smart Editing Features

Includes auto-escape, auto-delete, and auto-indent, reducing keystrokes for common patterns like escaping pairs or handling backspaces, as shown in the GIF demonstrations.

Filetype-Specific Control

Can enable or disable functionality based on file types, such as disabling in text files by default, preventing unwanted behavior in non-code contexts.

Cons

Lacks Advanced Functionality

Missing features like fast wrap or treesitter integration, which the README admits are available in plugins like nvim-autopairs, limiting its utility for complex editing tasks.

Limited Ecosystem Integration

Does not have built-in support for other Neovim plugins or extensions, requiring manual configuration for advanced workflows, which can increase setup complexity.

Potential Over-Simplicity

The minimalist design may not suffice for users needing more than basic pair editing, forcing them to switch plugins or add custom Lua code for extended functionality.

Frequently Asked Questions

Quick Stats

Stars646
Forks23
Contributors0
Open Issues12
Last commit4 days ago
CreatedSince 2022

Tags

#bracket-completion#productivity#minimalist#vim#neovim-plugin#autopair#nvim-plugin#text-editing#neovim#lua#nvim

Built With

N
Neovim
L
Lua

Included in

Neovim20.6k
Auto-fetched 19 hours ago

Related Projects

nvim-autopairsnvim-autopairs

autopairs for neovim written in lua

Stars4,066
Forks141
Last commit2 months ago
nvim-treesitter-contextnvim-treesitter-context

Show code context

Stars3,215
Forks236
Last commit2 months ago
zen-mode.nvimzen-mode.nvim

🧘 Distraction-free coding for Neovim

Stars2,149
Forks76
Last commit8 months ago
nvim-ts-autotagnvim-ts-autotag

Use treesitter to auto close and auto rename html tag

Stars2,104
Forks109
Last commit3 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub