neovim: add surround plugin

This commit is contained in:
Dmitriy Pleshevskiy 2024-11-24 17:15:49 +03:00
parent 04c505a149
commit 070501ce10
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -34,6 +34,11 @@ in
# Enable fast navigation between windows # Enable fast navigation between windows
vim.keymap.set = map (k: { mode = "n"; lhs = ctrl k; rhs = "${ctrl "w"}${k}"; }) [ "h" "l" "j" "k" ]; 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; plugin.nvim-treesitter-textobjects.enable = true;
plugins.style.nvim-treesitter = { plugins.style.nvim-treesitter = {