feat: simple styling + mini-help
This commit is contained in:
4
init.lua
4
init.lua
@@ -9,7 +9,7 @@ require("config")
|
||||
-- ╭─────────╮
|
||||
-- │ Generic │
|
||||
-- ╰─────────╯
|
||||
vim.cmd("set rnu")
|
||||
vim.cmd("set nu rnu")
|
||||
vim.cmd("set textwidth=0")
|
||||
vim.cmd("set wrapmargin=0")
|
||||
vim.cmd("set linebreak")
|
||||
@@ -37,7 +37,7 @@ vim.cmd("set clipboard=unnamedplus")
|
||||
-- ╰───────╯
|
||||
vim.opt.fillchars = {
|
||||
horiz = "━",
|
||||
vert = "·",
|
||||
vert = " ",
|
||||
stl = " ",
|
||||
eob = " ",
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
||||
"mini.clue": { "branch": "main", "commit": "2d361459de6a5fd7ea20a14ee4b95c6caec383b9" },
|
||||
"mini.icons": { "branch": "main", "commit": "910db5df9724d65371182948f921fce23c2c881e" },
|
||||
"monkey-alert": { "branch": "main", "commit": "213a39f8161f80ce43e1a164a54fe796432422b8" },
|
||||
"neo-tree.nvim": { "branch": "main", "commit": "521bb4253b1adc2a1ff6c584bc839eba9bc99c0b" },
|
||||
|
||||
@@ -2,6 +2,52 @@
|
||||
-- │ Usage help │
|
||||
-- ╰────────────╯
|
||||
return {
|
||||
{
|
||||
"nvim-mini/mini.clue",
|
||||
opts = {
|
||||
triggers = {
|
||||
-- Leader triggers
|
||||
{ mode = 'n', keys = '<Leader>' },
|
||||
{ mode = 'x', keys = '<Leader>' },
|
||||
|
||||
-- Built-in completion
|
||||
{ mode = 'i', keys = '<C-x>' },
|
||||
|
||||
-- `g` key
|
||||
{ mode = 'n', keys = 'g' },
|
||||
{ mode = 'x', keys = 'g' },
|
||||
|
||||
-- Marks
|
||||
{ mode = 'n', keys = "'" },
|
||||
{ mode = 'n', keys = '`' },
|
||||
{ mode = 'x', keys = "'" },
|
||||
{ mode = 'x', keys = '`' },
|
||||
|
||||
-- Registers
|
||||
{ mode = 'n', keys = '"' },
|
||||
{ mode = 'x', keys = '"' },
|
||||
{ mode = 'i', keys = '<C-r>' },
|
||||
{ mode = 'c', keys = '<C-r>' },
|
||||
|
||||
-- Window commands
|
||||
{ mode = 'n', keys = '<C-w>' },
|
||||
|
||||
-- `z` key
|
||||
{ mode = 'n', keys = 'z' },
|
||||
{ mode = 'x', keys = 'z' },
|
||||
},
|
||||
|
||||
clues = {
|
||||
-- Enhance this by adding descriptions for <Leader> mapping groups
|
||||
-- miniclue.gen_clues.builtin_completion(),
|
||||
-- miniclue.gen_clues.g(),
|
||||
-- miniclue.gen_clues.marks(),
|
||||
-- miniclue.gen_clues.registers(),
|
||||
-- miniclue.gen_clues.windows(),
|
||||
-- miniclue.gen_clues.z(),
|
||||
},
|
||||
}
|
||||
},
|
||||
-- Breaks LSP attach
|
||||
-- {
|
||||
-- "folke/which-key.nvim",
|
||||
|
||||
@@ -31,7 +31,7 @@ local config = {
|
||||
show_tab_indicators = true,
|
||||
duplicates_across_groups = true, -- whether to consider duplicate paths in different groups as duplicates
|
||||
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
|
||||
separator_style = { "▏", "" }, -- "slant" | "slope" | "thick" | "thin" | { 'any', 'any' },
|
||||
separator_style = { "▏", "" }, -- { "▏", "" } | "slant" | "slope" | "thick" | "thin" | { 'any', 'any' },
|
||||
-- always_show_bufferline = false,
|
||||
auto_toggle_bufferline = true,
|
||||
show_close_icon = true,
|
||||
@@ -45,7 +45,7 @@ local config = {
|
||||
filetype = "neo-tree",
|
||||
text = "",
|
||||
highlight = "Directory",
|
||||
separator = "·", -- use a "true" to enable the default, or set your own character
|
||||
separator = "", -- use a "true" to enable the default, or set your own character
|
||||
},
|
||||
},
|
||||
groups = {
|
||||
|
||||
Reference in New Issue
Block a user