diff --git a/.config/nvim/lua/plugins/bufferline.lua b/.config/nvim/lua/plugins/bufferline.lua new file mode 100644 index 0000000..e2fe878 --- /dev/null +++ b/.config/nvim/lua/plugins/bufferline.lua @@ -0,0 +1,6 @@ +return { + -- TODO: Configure this + 'akinsho/bufferline.nvim', + version = '*', + dependencies = 'nvim-tree/nvim-web-devicons', +} diff --git a/.config/nvim/lua/plugins/leap.lua b/.config/nvim/lua/plugins/leap.lua new file mode 100644 index 0000000..3c4e99e --- /dev/null +++ b/.config/nvim/lua/plugins/leap.lua @@ -0,0 +1,16 @@ +return { + 'ggandor/leap.nvim', + dependencies = { "tpope/vim-repeat" }, + config = function() + vim.keymap.set({ 'n', 'x', 'o' }, 's', '(leap-forward)') + vim.keymap.set({ 'n', 'x', 'o' }, 'S', '(leap-backward)') + vim.keymap.set({ 'n', 'x', 'o' }, 'gs', '(leap-from-window)') + + -- Define equivalence classes for brackets and quotes, in addition to + -- the default whitespace group. + require('leap').opts.equivalence_classes = { ' \t\r\n', '([{', ')]}', '\'"`' } + + -- Set background to gray in searchable area + vim.api.nvim_set_hl(0, 'LeapBackdrop', { fg = '#777777' }) + end, +} diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua new file mode 100644 index 0000000..1060daa --- /dev/null +++ b/.config/nvim/lua/plugins/oil.lua @@ -0,0 +1,8 @@ +return { + 'stevearc/oil.nvim', + dependencies = { 'nvim-tree/nvim-web-devicons' }, + opts = {}, + config = function () + require("oil").setup() + end +}