From c489d393695e90d424f9ae51e35c4d42358e6a71 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 9 Aug 2024 02:45:31 -0400 Subject: yes there's a bit of java in my nvim config why do you ask? --- after/plugin/smartsplits.lua | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 after/plugin/smartsplits.lua (limited to 'after/plugin/smartsplits.lua') diff --git a/after/plugin/smartsplits.lua b/after/plugin/smartsplits.lua deleted file mode 100644 index 54fc07c..0000000 --- a/after/plugin/smartsplits.lua +++ /dev/null @@ -1,28 +0,0 @@ -local status_ok, smartsplits = pcall(require, "smart-splits") -if not status_ok then - return -end - -smartsplits.setup { - default_amount = 3, - resize_mode = { - quit_key = 'r', - resize_keys = { - '', - '', - '', - '', - }, - silent = true, - hooks = { - on_enter = function() - vim.notify("Resize mode on", vim.log.levels.INFO, { title = "Smart Splits" }) - vim.cmd('unmap r') - end, - on_leave = function() - vim.notify("Resize Mode off", vim.log.levels.INFO, { title = "Smart Splits" }) - vim.keymap.set('n', 'r', smartsplits.start_resize_mode, {}) - end, - }, - }, -} -- cgit v1.2.1