mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
Install plugins
- emmet - easy-motion - gist
This commit is contained in:
parent
83db077930
commit
738a0d047d
4 changed files with 40 additions and 0 deletions
32
lua/plugins/easy-motion.lua
Normal file
32
lua/plugins/easy-motion.lua
Normal 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
1
lua/plugins/emmet.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return { "mattn/emmet-vim" }
|
||||
4
lua/plugins/gist.lua
Normal file
4
lua/plugins/gist.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
"mattn/gist-vim",
|
||||
dependencies = { { "mattn/webapi-vim" } },
|
||||
}
|
||||
3
lua/plugins/surround.lua
Normal file
3
lua/plugins/surround.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"tpope/vim-surround",
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue