Is there any neovim plugin that have 'Surround code fragments' functionality like the Jetbrains IDEs?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • mini.nvim

    Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort

  • mini.surround

  • nvim-surround

    Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.

  • kylechui/nvim-surround

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • LuaSnip

    Snippet Engine for Neovim written in Lua.

  • For OP: L3MON4D3/LuaSnip seems to be the most popular choice nowadays.

  • nvim-treesitter-textsubjects

    Location and syntax aware text objects which *do what you mean*

  • vim-matchup

    vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.

  • deleft.vim

    Delete a wrapping if-clause, try-catch block, etc. and shift left.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts