Install plugins

- emmet
- easy-motion
- gist
This commit is contained in:
Marcelo Jacobus 2024-07-23 11:27:25 -03:00
parent 83db077930
commit 738a0d047d
4 changed files with 40 additions and 0 deletions

View file

@ -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,
-- },
}

1
lua/plugins/emmet.lua Normal file
View file

@ -0,0 +1 @@
return { "mattn/emmet-vim" }

4
lua/plugins/gist.lua Normal file
View file

@ -0,0 +1,4 @@
return {
"mattn/gist-vim",
dependencies = { { "mattn/webapi-vim" } },
}

3
lua/plugins/surround.lua Normal file
View file

@ -0,0 +1,3 @@
return {
"tpope/vim-surround",
}