]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/ui.lua
f34b5a3b2b5811c32a5575f4fe4706c259f3595e
[dotfiles.git] / nvim / lua / plugins / ui.lua
1 ---@type LazySpec
2 return {
3 { 'echasnovski/mini.clue',
4 -- NOTE: this caused some issue with unterminated mappings, i.e. <L>gc when there
5 -- is also <L>gcc. It would simply terminate early and not allow for next mapping.
6 version = '*',
7 opts = {
8 triggers = {
9 { mode = 'n', keys = '<Leader>' },
10 { mode = 'x', keys = '<Leader>' },
11 -- `g` key
12 { mode = 'n', keys = 'g' },
13 { mode = 'x', keys = 'g' },
14 -- Marks
15 { mode = 'n', keys = "'" },
16 { mode = 'n', keys = '`' },
17 { mode = 'x', keys = "'" },
18 { mode = 'x', keys = '`' },
19 -- Window commands
20 { mode = 'n', keys = '<C-w>' },
21 -- `z` key
22 { mode = 'n', keys = 'z' },
23 { mode = 'x', keys = 'z' },
24 },
25 clues = {
26 { mode = 'n', keys = '<Leader>b', desc = '+Buffers' },
27 { mode = 'n', keys = '<Leader>c', desc = '+LSP' },
28 },
29 },
30 },
31 {
32 "nvim-notify",
33 },
34 {
35 "bufferline.nvim",
36 ---@type BufferlineConfig
37 opts = {
38 options = {
39 always_show_bufferline = false,
40 },
41 },
42 },
43 {
44 "stevearc/dressing.nvim",
45 lazy = true,
46 opts = {
47 input = {
48 start_in_insert = false,
49 insert_only = false,
50 },
51 },
52 },
53 {
54 "lualine.nvim",
55 --TODO: Things that were in vim but are missing
56 -- - git line add/mod/del ar next to branch name rather on right
57 -- - one status line per splits
58 -- - maybe a single one is OK too?
59 -- - I think I want a line stating wihch file is in the split though
60 -- - unix/dos eof markers
61 -- - really I only want to know if it's not unix
62 -- - filetype in text form. It's quite important to glance this quickly
63 },
64 {
65 "indent-blankline.nvim",
66 },
67 {
68 "echasnovski/mini.indentscope",
69 version = false, -- wait till new 0.7.0 release to put it back on semver
70 event = "LazyFile",
71 opts = function (_, opts)
72 return {
73 draw = {
74 animation = require("mini.indentscope").gen_animation.linear({ duration = 10 })
75 }
76 }
77 end,
78 },
79 {
80 "SmiteshP/nvim-navic",
81 },
82 {
83 "nvim-web-devicons",
84 },
85 {
86 "nui.nvim",
87 },
88 }