summaryrefslogtreecommitdiffstats
path: root/after/plugin/smartsplits.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-08-09 02:45:31 -0400
committerSquibid <me@zacharyscheiman.com>2024-08-09 02:45:31 -0400
commitc489d393695e90d424f9ae51e35c4d42358e6a71 (patch)
tree12ea97ec4684fd82cd6b73dd127d0137b115837b /after/plugin/smartsplits.lua
parentad76983d969c318e6e234bc82384b4b025d70447 (diff)
downloadnvim-c489d393695e90d424f9ae51e35c4d42358e6a71.tar.gz
nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.tar.bz2
nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.zip
yes there's a bit of java in my nvim config why do you ask?
Diffstat (limited to 'after/plugin/smartsplits.lua')
-rw-r--r--after/plugin/smartsplits.lua28
1 files changed, 0 insertions, 28 deletions
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 = '<leader>r',
- resize_keys = {
- '<C-h>',
- '<C-j>',
- '<C-k>',
- '<C-l>',
- },
- silent = true,
- hooks = {
- on_enter = function()
- vim.notify("Resize mode on", vim.log.levels.INFO, { title = "Smart Splits" })
- vim.cmd('unmap <leader>r')
- end,
- on_leave = function()
- vim.notify("Resize Mode off", vim.log.levels.INFO, { title = "Smart Splits" })
- vim.keymap.set('n', '<leader>r', smartsplits.start_resize_mode, {})
- end,
- },
- },
-}