feat(programs/neovim): add actions-preview plugin
This commit is contained in:
parent
611371b56f
commit
e158b31c09
2 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@ in
|
|||
];
|
||||
|
||||
vimPluginPackages = with pkgs.vimPlugins; [
|
||||
actions-preview-nvim
|
||||
barbar-nvim
|
||||
catppuccin-nvim
|
||||
cmp-async-path
|
||||
|
@ -37,6 +38,7 @@ in
|
|||
nvim-lspconfig
|
||||
nvim-treesitter.withAllGrammars
|
||||
nvim-web-devicons # for lualine
|
||||
telescope-nvim
|
||||
vim-wakatime
|
||||
];
|
||||
})
|
||||
|
|
|
@ -74,6 +74,7 @@ vim.keymap.set("n", "<leader>t", "<Cmd>Neotree reveal<CR>")
|
|||
|
||||
-- lsp keybindings
|
||||
vim.keymap.set("n", "<leader>cd", vim.diagnostic.open_float)
|
||||
vim.keymap.set("n", "<M-CR>", require("actions-preview").code_actions)
|
||||
|
||||
-- indent/dedent lines in visual mode
|
||||
vim.keymap.set("v", "<tab>", ">gv")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue