init
This commit is contained in:
40
nvim/lua/plugins/extras/util/hardtime.lua
Normal file
40
nvim/lua/plugins/extras/util/hardtime.lua
Normal file
@@ -0,0 +1,40 @@
|
||||
return {
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
event = "LazyFile",
|
||||
keys = {
|
||||
{ "<leader>uH", "<cmd>Hardtime toggle<CR>", desc = "Toggle Hardtime" },
|
||||
},
|
||||
opts = {
|
||||
disabled_filetypes = {
|
||||
"qf",
|
||||
"netrw",
|
||||
"NvimTree",
|
||||
"lazy",
|
||||
"mason",
|
||||
"oil",
|
||||
"neo-tree",
|
||||
"symbols-outline",
|
||||
"vim-be-good",
|
||||
"oil",
|
||||
"outline",
|
||||
},
|
||||
restriction_mode = "hint",
|
||||
restricted_keys = {
|
||||
["h"] = { "n", "x" },
|
||||
["l"] = { "n", "x" },
|
||||
["-"] = { "n", "x" },
|
||||
["+"] = { "n", "x" },
|
||||
["gj"] = { "n", "x" },
|
||||
["gk"] = { "n", "x" },
|
||||
["<C-N>"] = { "n", "x" },
|
||||
["<C-P>"] = { "n", "x" },
|
||||
},
|
||||
disabled_keys = {
|
||||
["<Up>"] = { "" },
|
||||
["<Down>"] = { "" },
|
||||
["<Left>"] = { "" },
|
||||
["<Right>"] = { "" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user