88 lines
2.4 KiB
Lua
88 lines
2.4 KiB
Lua
return {
|
|
'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', -- 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 = '<Up> ',
|
|
Down = '<Down> ',
|
|
Left = '<Left> ',
|
|
Right = '<Right> ',
|
|
C = '<C-…> ',
|
|
M = '<M-…> ',
|
|
D = '<D-…> ',
|
|
S = '<S-…> ',
|
|
CR = '<CR> ',
|
|
Esc = '<Esc> ',
|
|
ScrollWheelDown = '<ScrollWheelDown> ',
|
|
ScrollWheelUp = '<ScrollWheelUp> ',
|
|
NL = '<NL> ',
|
|
BS = '<BS> ',
|
|
Space = '<Space> ',
|
|
Tab = '<Tab> ',
|
|
F1 = '<F1>',
|
|
F2 = '<F2>',
|
|
F3 = '<F3>',
|
|
F4 = '<F4>',
|
|
F5 = '<F5>',
|
|
F6 = '<F6>',
|
|
F7 = '<F7>',
|
|
F8 = '<F8>',
|
|
F9 = '<F9>',
|
|
F10 = '<F10>',
|
|
F11 = '<F11>',
|
|
F12 = '<F12>',
|
|
},
|
|
},
|
|
|
|
-- Document existing key chains
|
|
spec = {
|
|
{ '<leader>s', group = '[S]earch' },
|
|
{ '<leader>t', group = '[T]oggle' },
|
|
{ '<leader>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 = {
|
|
signs = {
|
|
add = { text = '+' },
|
|
change = { text = '~' },
|
|
delete = { text = '_' },
|
|
topdelete = { text = '‾' },
|
|
changedelete = { text = '~' },
|
|
},
|
|
},
|
|
},
|
|
|
|
{ 'alex-popov-tech/store.nvim',
|
|
dependencies = { 'OXY2DEV/markview.nvim' },
|
|
opts = {},
|
|
cmd = 'Store',
|
|
},
|
|
|
|
{ 'edluffy/hologram.nvim',
|
|
auto_display = true, -- WIP automatic markdown image display, may be prone to breaking
|
|
},
|
|
|
|
}
|