feat: add typr
This commit is contained in:
parent
025d0c0318
commit
e27b322c8a
3 changed files with 20 additions and 2 deletions
|
@ -37,7 +37,9 @@
|
|||
"toggleterm.nvim": { "branch": "main", "commit": "48be57eaba817f038d61bbf64d2c597f578c0827" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "ce91ba480070c95f40753e4663e32b4632ac6db3" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "2f3b537f2207ce32f4459f9d56746ee013b5e01b" },
|
||||
"typr": { "branch": "main", "commit": "1d5b147bde0d92d4c25529aff9904d9ca921641b" },
|
||||
"vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" },
|
||||
"virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" },
|
||||
"volt": { "branch": "main", "commit": "3bedb1576db574af160643eea7df3b09dbe5ee9c" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }
|
||||
}
|
||||
|
|
|
@ -15,6 +15,13 @@ vim.opt.rtp:prepend(lazypath)
|
|||
|
||||
require("lazy").setup({
|
||||
--: Behaviour {{{
|
||||
{
|
||||
"nvzone/typr",
|
||||
lazy = true,
|
||||
dependencies = "nvzone/volt",
|
||||
opts = {},
|
||||
cmd = { "Typr", "TyprStats" },
|
||||
},
|
||||
{
|
||||
"folke/lazydev.nvim",
|
||||
ft = "lua",
|
||||
|
@ -141,10 +148,12 @@ require("lazy").setup({
|
|||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
end,
|
||||
opts = {},
|
||||
opts = {
|
||||
preset = "helix",
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("which-key-config")
|
||||
require("which-key").setup(opts)
|
||||
require("which-key-config")
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
local wk = require("which-key")
|
||||
|
||||
wk.add({
|
||||
{
|
||||
"<leader>?",
|
||||
function()
|
||||
require("which-key").show({ global = true })
|
||||
end,
|
||||
desc = "Buffer Local Keymaps (which-key)",
|
||||
},
|
||||
{ "<leader>bt", "<cmd>BlameToggle virtual<cr>", desc = "Toggle Virtual Blame" },
|
||||
{ "<leader>c", desc = "NerdCommenter" },
|
||||
{ "<leader>f", desc = "Telescope - Finder" },
|
||||
|
|
Loading…
Add table
Reference in a new issue