nix.nvim/nvim/plugin/plugins.lua
jiriks74 65dea4ed80
feat(plugins, keymaps): Add plugins, move plugins to nix, update keymaps
Added:
  - [aerial.nvim](https://github.com/stevearc/aerial.nvim)
  - [better-escape.nvim](https://github.com/max397574/better-escape.nvim)
  - [dressing.nvim](https://github.com/stevearc/dressing.nvim)
  - [ident-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)
  - [nvim-notify](https://github.com/rcarriga/nvim-notify)
  - [todo-comments.nvim](https://github.com/folke/todo-comments.nvim)

Moved plugin source from Github to Nix:
  - [Comment.nvim](https://github.com/numToStr/Comment.nvim)
  - [neo-tree.nvim](https://github.com/numToStr/Comment.nvim)

Mapped windown switching to `<C-h`... instead of `<M-h`...
Moved some coliding lsp keymaps under the `<leader>l` group
  - Eg. `<leader>ls` for signature help
2024-09-23 17:38:17 +02:00

17 lines
446 B
Lua

if vim.g.did_load_plugins_plugin then
return
end
vim.g.did_load_plugins_plugin = true
-- many plugins annoyingly require a call to a 'setup' function to be loaded,
-- even with default configs
require("nvim-autopairs").setup {}
require("dapui").setup()
-- require("copilot_cmp").setup()
require('nvim-surround').setup()
require('which-key').setup()
require('Comment').setup()
require("better_escape").setup()
require("todo-comments").setup()