X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/9ae7eb7167ffd0459968f840503b44e929a67067..29c4b3c69993c687c1e69012c3e3d1da74d7b35b:/nvim/lua/plugins/ui.lua diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 884225d..0cb899a 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -1,5 +1,38 @@ ---@type LazyPluginSpec return { + -- disabled plugins {{{ + { "folke/which-key.nvim", + enabled = false, + }, + -- }}} + { 'echasnovski/mini.clue', + -- NOTE: this caused some issue with unterminated mappings, i.e. gc when there + -- is also gcc. It would simply terminate early and not allow for next mapping. + version = '*', + opts = { + triggers = { + { mode = 'n', keys = '' }, + { mode = 'x', keys = '' }, + -- `g` key + { mode = 'n', keys = 'g' }, + { mode = 'x', keys = 'g' }, + -- Marks + { mode = 'n', keys = "'" }, + { mode = 'n', keys = '`' }, + { mode = 'x', keys = "'" }, + { mode = 'x', keys = '`' }, + -- Window commands + { mode = 'n', keys = '' }, + -- `z` key + { mode = 'n', keys = 'z' }, + { mode = 'x', keys = 'z' }, + }, + clues = { + { mode = 'n', keys = 'b', desc = '+Buffers' }, + { mode = 'n', keys = 'c', desc = '+LSP' }, + }, + }, + }, { "nvim-notify", }, @@ -69,12 +102,16 @@ return { "indent-blankline.nvim", }, { - "mini.indentscope", - opts = { - draw = { - animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }), - }, - }, + "echasnovski/mini.indentscope", + version = false, -- wait till new 0.7.0 release to put it back on semver + event = "LazyFile", + opts = function (_, opts) + return { + draw = { + animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }) + } + } + end, }, { "nvimdev/dashboard-nvim", @@ -146,7 +183,7 @@ return { end }, { - "nvim-navic", + "SmiteshP/nvim-navic", }, { "nvim-web-devicons",