From 070501ce10057fc975e50be5290b7629df2efa8d Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 24 Nov 2024 17:15:49 +0300 Subject: [PATCH] neovim: add surround plugin --- neovim/dev.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neovim/dev.nix b/neovim/dev.nix index 1c488e0..d248b72 100644 --- a/neovim/dev.nix +++ b/neovim/dev.nix @@ -34,6 +34,11 @@ in # Enable fast navigation between windows vim.keymap.set = map (k: { mode = "n"; lhs = ctrl k; rhs = "${ctrl "w"}${k}"; }) [ "h" "l" "j" "k" ]; + plugin.nvim-surround = { + enable = true; + setupSettings = {}; + }; + plugin.nvim-treesitter-textobjects.enable = true; plugins.style.nvim-treesitter = {