From 39d19909525940cc16695ad3e7fcdb5812f744ac Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 6 Jul 2024 20:07:41 +0300 Subject: Neovim: started rework on the conifg, changed a bunch of stuff --- .config/nvim/lua/plugins/surround.lua | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .config/nvim/lua/plugins/surround.lua (limited to '.config/nvim/lua/plugins/surround.lua') diff --git a/.config/nvim/lua/plugins/surround.lua b/.config/nvim/lua/plugins/surround.lua deleted file mode 100644 index 7f8c88b..0000000 --- a/.config/nvim/lua/plugins/surround.lua +++ /dev/null @@ -1,21 +0,0 @@ -return { - 'kylechui/nvim-surround', - version = '*', - event = 'VeryLazy', - config = function() - require('nvim-surround').setup({}) - local opts = {} - vim.keymap.set('v', '(', '(nvim-surround-visual)(', opts) - vim.keymap.set('v', ')', '(nvim-surround-visual))', opts) - vim.keymap.set('v', '{', '(nvim-surround-visual){', opts) - vim.keymap.set('v', '}', '(nvim-surround-visual)}', opts) - -- NOTE: I still want to be able to do < and > for indentation - -- vim.keymap.set('v', '<', '(nvim-surround-visual)<', opts) - -- vim.keymap.set('v', '>', '(nvim-surround-visual)>', opts) - vim.keymap.set('v', '[', '(nvim-surround-visual)[', opts) - vim.keymap.set('v', ']', '(nvim-surround-visual)]', opts) - vim.keymap.set('v', "'", "(nvim-surround-visual)'", opts) - vim.keymap.set('v', '"', '(nvim-surround-visual)"', opts) - vim.keymap.set('v', '`', '(nvim-surround-visual)`', opts) - end, -} -- cgit v1.3.1