Update .config/nvim/init.lua
Update .config/nvim/lazy-lock.json Add .config/nvim/lua/plugins/hop.lua Update .config/nvim/lua/plugins/mini.lua
This commit is contained in:
parent
76d67c3ef4
commit
a07626aac8
4 changed files with 28 additions and 5 deletions
|
|
@ -1 +1,6 @@
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
|
||||||
|
vim.o.relativenumber = true
|
||||||
|
vim.o.tabstop = 2
|
||||||
|
vim.o.shiftwidth = 2
|
||||||
|
vim.o.expandtab = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"helix-nvim": { "branch": "main", "commit": "c2875fb19df7f3624d0ae1c82b063fc14de1d64b" },
|
"helix-nvim": { "branch": "main", "commit": "c2875fb19df7f3624d0ae1c82b063fc14de1d64b" },
|
||||||
|
"hop.nvim": { "branch": "master", "commit": "08ddca799089ab96a6d1763db0b8adc5320bf050" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "db067881fff0fd4be8c00e5bde7492e0e1c77a2f" },
|
"lazy.nvim": { "branch": "main", "commit": "db067881fff0fd4be8c00e5bde7492e0e1c77a2f" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "e96ef335c7c68d2bc6359cdb7cf0941889df9be0" },
|
"mini.nvim": { "branch": "main", "commit": "e96ef335c7c68d2bc6359cdb7cf0941889df9be0" }
|
||||||
"multicursor.nvim": { "branch": "1.0", "commit": "0c6ceae228bf209e8b8717df9de500770c4e7022" }
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
12
private_dot_config/nvim/lua/plugins/hop.lua
Normal file
12
private_dot_config/nvim/lua/plugins/hop.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'smoka7/hop.nvim',
|
||||||
|
version = "*",
|
||||||
|
opts = {
|
||||||
|
keys = 'etovxqpdygfblzhckisuran'
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ "gw", "<cmd>HopWord<CR>", mode = "n", desc = "Hop to word" },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'nvim-mini/mini.nvim', version = false
|
'nvim-mini/mini.nvim',
|
||||||
}
|
version = false,
|
||||||
|
config = function ()
|
||||||
|
require("mini.pairs").setup()
|
||||||
|
require("mini.icons").setup()
|
||||||
|
require("mini.indentscope").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue