From 0b125b350a98c38c751e4fc40e0b7412c03e0aff Mon Sep 17 00:00:00 2001 From: moorenix Date: Thu, 15 May 2025 07:30:01 -0500 Subject: Adding window rules --- nvim/lua/custom/plugins/filetypes.lua | 15 ------------- nvim/lua/custom/plugins/harppon.lua | 37 --------------------------------- nvim/lua/custom/plugins/init.lua | 5 ----- nvim/lua/custom/plugins/remap.lua | 5 ----- nvim/lua/custom/plugins/toggleterm.lua | 21 ------------------- nvim/lua/custom/plugins/vim-be-good.lua | 5 ----- nvim/lua/custom/plugins/vim-sleuth.lua | 3 --- nvim/lua/custom/plugins/which-key.lua | 3 --- 8 files changed, 94 deletions(-) delete mode 100644 nvim/lua/custom/plugins/filetypes.lua delete mode 100644 nvim/lua/custom/plugins/harppon.lua delete mode 100644 nvim/lua/custom/plugins/init.lua delete mode 100644 nvim/lua/custom/plugins/remap.lua delete mode 100644 nvim/lua/custom/plugins/toggleterm.lua delete mode 100644 nvim/lua/custom/plugins/vim-be-good.lua delete mode 100644 nvim/lua/custom/plugins/vim-sleuth.lua delete mode 100644 nvim/lua/custom/plugins/which-key.lua (limited to 'nvim/lua/custom/plugins') diff --git a/nvim/lua/custom/plugins/filetypes.lua b/nvim/lua/custom/plugins/filetypes.lua deleted file mode 100644 index 73c99f2..0000000 --- a/nvim/lua/custom/plugins/filetypes.lua +++ /dev/null @@ -1,15 +0,0 @@ -return { - vim.filetype.add { - extension = { - yml = 'yaml.ansible', - }, - }, - - vim.filetype.add { - extension = { - jinja = 'jinja', - jinja2 = 'jinja', - j2 = 'jinja', - }, - }, -} diff --git a/nvim/lua/custom/plugins/harppon.lua b/nvim/lua/custom/plugins/harppon.lua deleted file mode 100644 index 1fc29bb..0000000 --- a/nvim/lua/custom/plugins/harppon.lua +++ /dev/null @@ -1,37 +0,0 @@ -return { - { - 'ThePrimeagen/harpoon', - branch = 'harpoon2', - dependencies = { 'nvim-lua/plenary.nvim' }, - config = function() - local harpoon = require 'harpoon' - harpoon:setup() - vim.keymap.set('n', 'a', function() - harpoon:list():add() - end) - vim.keymap.set('n', '', function() - harpoon.ui:toggle_quick_menu(harpoon:list()) - end) - vim.keymap.set('n', '1', function() - harpoon:list():select(1) - end) - vim.keymap.set('n', '2', function() - harpoon:list():select(2) - end) - vim.keymap.set('n', '3', function() - harpoon:list():select(3) - end) - vim.keymap.set('n', '4', function() - harpoon:list():select(4) - end) - - -- Toggle previous & next buffers stored within Harpoon list - vim.keymap.set('n', '', function() - harpoon:list():prev() - end) - vim.keymap.set('n', '', function() - harpoon:list():next() - end) - end, - }, -} diff --git a/nvim/lua/custom/plugins/init.lua b/nvim/lua/custom/plugins/init.lua deleted file mode 100644 index be0eb9d..0000000 --- a/nvim/lua/custom/plugins/init.lua +++ /dev/null @@ -1,5 +0,0 @@ --- You can add your own plugins here or in other files in this directory! --- I promise not to create any merge conflicts in this directory :) --- --- See the kickstart.nvim README for more information -return {} diff --git a/nvim/lua/custom/plugins/remap.lua b/nvim/lua/custom/plugins/remap.lua deleted file mode 100644 index 367d21c..0000000 --- a/nvim/lua/custom/plugins/remap.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - -- Scroll by half page and keep cursor in middle - vim.keymap.set('n', '', 'zz'), - vim.keymap.set('n', '', 'zz'), -} diff --git a/nvim/lua/custom/plugins/toggleterm.lua b/nvim/lua/custom/plugins/toggleterm.lua deleted file mode 100644 index cc40f75..0000000 --- a/nvim/lua/custom/plugins/toggleterm.lua +++ /dev/null @@ -1,21 +0,0 @@ -return { - { - 'akinsho/toggleterm.nvim', - version = '*', - opts = { - start_in_insert = false, - persistent_mode = true, - shell = vim.o.shell, - auto_scroll = true, - - -- Float options - float_opts = { - border = 'single', - title_pos = 'center', - }, - - -- Bindings - vim.keymap.set('n', '`', ':ToggleTerm direction=float', { desc = 'Open a floating terminal' }), - }, - }, -} diff --git a/nvim/lua/custom/plugins/vim-be-good.lua b/nvim/lua/custom/plugins/vim-be-good.lua deleted file mode 100644 index 7e5c709..0000000 --- a/nvim/lua/custom/plugins/vim-be-good.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - { - 'ThePrimeagen/vim-be-good', - }, -} diff --git a/nvim/lua/custom/plugins/vim-sleuth.lua b/nvim/lua/custom/plugins/vim-sleuth.lua deleted file mode 100644 index 123ac6a..0000000 --- a/nvim/lua/custom/plugins/vim-sleuth.lua +++ /dev/null @@ -1,3 +0,0 @@ -return { - { 'tpope/vim-sleuth' }, -- Detect tabstop and shiftwidth automatically -} diff --git a/nvim/lua/custom/plugins/which-key.lua b/nvim/lua/custom/plugins/which-key.lua deleted file mode 100644 index 1f73adc..0000000 --- a/nvim/lua/custom/plugins/which-key.lua +++ /dev/null @@ -1,3 +0,0 @@ -return { - -- { 'folke/which-key.nvim' }, -} -- cgit v1.3