From 606dd91f5ecafd917df5f7ec2c6b81edee4b2fca Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 1 Dec 2023 15:26:01 -0500 Subject: [PATCH] Try out leap and flit --- lua/install-plugins.lua | 13 +++++++++++++ lua/plugins/flit-nvim.lua | 3 +++ lua/plugins/leap-nvim.lua | 1 + 3 files changed, 17 insertions(+) create mode 100644 lua/plugins/flit-nvim.lua create mode 100644 lua/plugins/leap-nvim.lua diff --git a/lua/install-plugins.lua b/lua/install-plugins.lua index eb99e5c..4b06004 100644 --- a/lua/install-plugins.lua +++ b/lua/install-plugins.lua @@ -294,6 +294,19 @@ return require('packer').startup(function(use) require('plugins.surround-nvim') end, } + use { + 'ggandor/leap.nvim', + requires = 'tpope/vim-repeat', + config = function() + require('plugins.leap-nvim') + end, + } + use { + 'ggandor/flit.nvim', + config = function() + require('plugins.flit-nvim') + end, + } use 'dstein64/vim-startuptime' use { 'nvim-neotest/neotest', diff --git a/lua/plugins/flit-nvim.lua b/lua/plugins/flit-nvim.lua new file mode 100644 index 0000000..9f98875 --- /dev/null +++ b/lua/plugins/flit-nvim.lua @@ -0,0 +1,3 @@ +require('flit').setup({ + multiline = false, +}) diff --git a/lua/plugins/leap-nvim.lua b/lua/plugins/leap-nvim.lua new file mode 100644 index 0000000..c0aeeef --- /dev/null +++ b/lua/plugins/leap-nvim.lua @@ -0,0 +1 @@ +require('leap').add_default_mappings()