diff --git a/lua/plugins/easy-motion.lua b/lua/plugins/easy-motion.lua new file mode 100644 index 0000000..c23f477 --- /dev/null +++ b/lua/plugins/easy-motion.lua @@ -0,0 +1,32 @@ +-- replace this with a lua version +-- return { "Lokaltog/vim-easymotion" } +return { + "Lokaltog/vim-easymotion", + -- { + -- "phaazon/hop.nvim", + -- branch = "v2", -- optional but strongly recommended + -- config = function() + -- local map = require("lazyvim").safe_keymap_set + -- local hop = require("hop") + -- local directions = require("hop.hint").HintDirection + -- + -- hop.setup({ keys = "etovxqpdygfblzhckisuran" }) + -- + -- map("", "f", function() + -- hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true }) + -- end, { desc = "Hop to character after cursor", remap = true }) + -- + -- map("", "F", function() + -- hop.hint_char1({ direction = directions.BEFORE_CURSOR, current_line_only = true }) + -- end, { desc = "Hop to character before cursor", remap = true }) + -- + -- map("", "t", function() + -- hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true, hint_offset = -1 }) + -- end, { desc = "Hop to character after cursor with offset", remap = true }) + -- + -- map("", "T", function() + -- hop.hint_char1({ direction = directions.BEFORE_CURSOR, current_line_only = true, hint_offset = 1 }) + -- end, { desc = "Hop to character before cursor with offset", remap = true }) + -- end, + -- }, +} diff --git a/lua/plugins/emmet.lua b/lua/plugins/emmet.lua new file mode 100644 index 0000000..f2a1695 --- /dev/null +++ b/lua/plugins/emmet.lua @@ -0,0 +1 @@ +return { "mattn/emmet-vim" } diff --git a/lua/plugins/gist.lua b/lua/plugins/gist.lua new file mode 100644 index 0000000..1992a5e --- /dev/null +++ b/lua/plugins/gist.lua @@ -0,0 +1,4 @@ +return { + "mattn/gist-vim", + dependencies = { { "mattn/webapi-vim" } }, +} diff --git a/lua/plugins/surround.lua b/lua/plugins/surround.lua new file mode 100644 index 0000000..441b788 --- /dev/null +++ b/lua/plugins/surround.lua @@ -0,0 +1,3 @@ +return { + "tpope/vim-surround", +}