diff --git a/lua/plugins/simple.lua b/lua/plugins/simple.lua index 01a0757..602615e 100644 --- a/lua/plugins/simple.lua +++ b/lua/plugins/simple.lua @@ -1,13 +1,66 @@ return { - 'soywod/iris.vim', - 'tpope/vim-commentary', - 'vimpostor/vim-tpipeline', - 'michaeljsmith/vim-indent-object', - 'kshenoy/vim-signature', - 'mg979/vim-visual-multi', + 'soywod/iris.vim', -- unsure + 'tpope/vim-commentary', -- commenting lines with shortcut + 'vimpostor/vim-tpipeline', -- unsure + 'michaeljsmith/vim-indent-object', -- autoindent. May delete + 'kshenoy/vim-signature', -- tag lines + 'mg979/vim-visual-multi', -- work on multiple lines at once 'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically - 'obsidian-nvim/obsidian.nvim', - + 'obsidian-nvim/obsidian.nvim', -- work with obsidian + + { -- Useful plugin to show you pending keybinds. + 'folke/which-key.nvim', + event = 'VimEnter', -- Sets the loading event to 'VimEnter' + opts = { + -- delay between pressing a key and opening which-key (milliseconds) + -- this setting is independent of vim.o.timeoutlen + delay = 0, + icons = { + -- set icon mappings to true if you have a Nerd Font + mappings = vim.g.have_nerd_font, + -- If you are using a Nerd Font: set icons.keys to an empty table which will use the + -- default which-key.nvim defined Nerd Font icons, otherwise define a string table + keys = vim.g.have_nerd_font and {} or { + Up = ' ', + Down = ' ', + Left = ' ', + Right = ' ', + C = ' ', + M = ' ', + D = ' ', + S = ' ', + CR = ' ', + Esc = ' ', + ScrollWheelDown = ' ', + ScrollWheelUp = ' ', + NL = ' ', + BS = ' ', + Space = ' ', + Tab = ' ', + F1 = '', + F2 = '', + F3 = '', + F4 = '', + F5 = '', + F6 = '', + F7 = '', + F8 = '', + F9 = '', + F10 = '', + F11 = '', + F12 = '', + }, + }, + + -- Document existing key chains + spec = { + { 's', group = '[S]earch' }, + { 't', group = '[T]oggle' }, + { 'h', group = 'Git [H]unk', mode = { 'n', 'v' } }, + }, + }, + }, + { -- Adds git related signs to the gutter, as well as utilities for managing changes 'lewis6991/gitsigns.nvim', opts = { @@ -21,16 +74,14 @@ return { }, }, - { - 'alex-popov-tech/store.nvim', + { 'alex-popov-tech/store.nvim', dependencies = { 'OXY2DEV/markview.nvim' }, opts = {}, cmd = 'Store', }, - - { - 'edluffy/hologram.nvim', + { 'edluffy/hologram.nvim', auto_display = true, -- WIP automatic markdown image display, may be prone to breaking }, + }