feat(nvim): add legendary and dressing plugins for easy access to keymaps, commands and autocommands

This commit is contained in:
Stefan Imhoff
2022-11-10 13:14:53 +01:00
parent a5322db4f7
commit 46cb5dacb9
4 changed files with 25 additions and 0 deletions

View File

@@ -148,3 +148,6 @@ keymap("x", "al", ":<c-u>normal! $v0<CR>", opts)
-- LSP formatting
keymap("n", "<leader>o", "<cmd>lua vim.lsp.buf.format()<CR>", opts)
-- Manual Prettier
keymap("n", "<leader>P", "<cmd>Prettier<CR>", opts)

View File

@@ -125,6 +125,7 @@ return packer.startup(function(use)
use("antoinemadec/FixCursorHold.nvim") -- This is needed to fix lsp doc highlight
use("MattesGroeger/vim-bookmarks") -- Bookmarks
use("folke/which-key.nvim") -- Display possible keybindings
use("mrjones2014/legendary.nvim") -- Legend for keymaps, commands, and autocommands
use("karb94/neoscroll.nvim") -- Smooth scrolling
use("APZelos/blamer.nvim") -- Git Blame
use("tpope/vim-fugitive") -- Git plugin
@@ -133,6 +134,7 @@ return packer.startup(function(use)
use("ruanyl/vim-gh-line") -- Open current line in GitHub
use("pwntester/octo.nvim") -- GitHub in Neovim
use("nvim-pack/nvim-spectre") -- Search and replace
use("stevearc/dressing.nvim") -- Improve the default vim.ui interfaces
use("folke/zen-mode.nvim") -- Zen Mode (2)
use("tpope/vim-eunuch") -- UNIX Shell commands
use("folke/twilight.nvim") -- Dim inactive code