qmetrics.net

Nvim Surround

Neovim plugin for adding and changing surround pairs

nvim-surround lets you add, delete, and change delimiter pairs around text in Neovim using motion-based keymaps. It supports common pairs, function calls, HTML tags, and custom configuration written in Lua.

Overview

nvim-surround is a Neovim plugin for working with surrounding characters around the cursor or a visual selection. The core operations mirror classic surround workflows: add with ys, delete with ds, and change with cs, combined with a motion and a pair specifier.

Out of the box it handles delimiter pairs, function-call style surrounds, and HTML tags. You can repeat the last action with dot, define buffer-local mappings and custom surrounds, and jump to the nearest pair when editing. Single-character aliases can stand in for several text objects, such as mapping q to quote-like objects.

The plugin integrates with Vim motions, Lua patterns, and Tree-sitter nodes when available. With nvim-treesitter-textobjects installed, Tree-sitter can define surrounds to simplify configuration. Selections can be highlighted for feedback while you operate.

Installation is through a Neovim plugin manager such as lazy.nvim or vim.pack. Configuration runs through require("nvim-surround").setup or buffer-local setup calls documented in the built-in help files.

Key features

  • Add, delete, and change surrounds
  • Function calls and HTML tags
  • Dot-repeat last surround action
  • Buffer-local mappings and surrounds
  • Jump to nearest surround pair
  • Alias one key to several objects
  • Vim, Lua, and Tree-sitter motions
  • Visual highlight while operating

Use cases

  • Wrap code selections in parentheses
  • Swap quote types around strings
  • Surround tags in markup buffers
  • Custom paired delimiters per project
  • Fast structural editing in Neovim

Tags

Similar software

YouCompleteMe

Vim code completion and semantic IDE features

YouCompleteMe adds as-you-type fuzzy completion, diagnostics, and navigation to Vim and compatible editors. A local server pairs with the editor client and language-specific backends.

  • As-you-type fuzzy identifier completion
  • clangd-backed C-family semantics
  • LSP client for extra languages
PythonLinux, macOS, WindowsDetails →
★ 25.9k⟳ 5 months agoGPL-3.0

rust-analyzer

Rust language server for editor tooling

A language server that adds IDE-style features when you write Rust. It works with any editor that speaks the Language Server Protocol.

  • Go-to-definition
  • Find all references
  • Code completion
RustLinux, macOS, WindowsDetails →
★ 17k⟳ yesterdayApache-2.0

IPython

Rich interactive Python computing shell and kernel

An interactive Python command shell and Jupyter kernel with introspection, history, magics, and embeddable REPL features.

  • Interactive Python shell
  • Jupyter-compatible kernel
  • Object introspection and magics
PythonCLIDetails →
★ 16.8k⟳ 2 days agoBSD-3-Clause

vim-go

Go language support plugin for Vim and Neovim

vim-go adds Go tooling to Vim and Neovim: build, test, navigation, formatting, linting, and gopls-backed analysis through editor commands.

  • Build, install, and test Go packages
  • Run current Go files from the editor
  • gopls-backed completion and analysis
Vim ScriptDetails →
★ 16.2k⟳ 3 months agoBSD-3-Clause

VSCodeVim

Vim emulation extension for Visual Studio Code

VSCodeVim brings Vim modal editing and keybindings into Visual Studio Code. Install it from the VS Code or OpenVSX marketplace.

  • Vim modes in VS Code
  • Per-mode key remapping
  • Optional Neovim ex-command integration
TypeScriptDetails →
★ 15.2k⟳ todayMIT

Pretty TypeScript Errors

Readable TypeScript error formatting for VS Code

Pretty TypeScript Errors is a Visual Studio Code extension that reformats TypeScript diagnostics into clearer, syntax-highlighted messages. It targets complex type errors that are hard to read in the default UI.

  • Syntax-highlighted types in errors
  • Light and dark theme support
  • Jump to type declarations
TypeScriptDetails →
★ 14.1k⟳ 1 month agoMIT