From d7ebacf7b6a5c1e81644c31bfa18829c58d4b02f Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Sat, 9 Nov 2024 20:50:02 +0100 Subject: [PATCH] Add surround plugin --- home/users/christian/vim/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/home/users/christian/vim/default.nix b/home/users/christian/vim/default.nix index 56d8721d..1498b270 100644 --- a/home/users/christian/vim/default.nix +++ b/home/users/christian/vim/default.nix @@ -148,15 +148,28 @@ in }) vim.cmd("colorscheme onedark") + + -------------- + -- SURROUND -- + -------------- + + require('nvim-surround').setup({ + move_cursor = 'sticky' + }) ''; plugins = with pkgs.vimPlugins; [ vim-nix + + # Themes onedarkpro-nvim # Markdown tabular vim-markdown + + # Misc + nvim-surround ]; viAlias = true;