WIP: home: vim: notify

nvim-notify
Bruno BELANYI 9 months ago
parent 30c676e20b
commit 8e56077d94
  1. 2
      home/vim/after/plugin/mappings/telescope.vim
  2. 1
      home/vim/default.nix
  3. 9
      home/vim/plugin/settings/notify.vim
  4. 1
      home/vim/plugin/settings/telescope.vim

@ -1,5 +1,6 @@
lua << EOF
local wk = require("which-key")
local telescope = require("telescope")
local telescope_builtin = require("telescope.builtin")
local keys = {
@ -10,6 +11,7 @@ local keys = {
F = { telescope_builtin.find_files, "Files" },
g = { telescope_builtin.live_grep, "Grep string" },
G = { telescope_builtin.grep_string, "Grep string under cursor" },
n = { telescope.extensions.notify.notify, "Notification history" },
},
}

@ -82,6 +82,7 @@ in
# UX improvements
dressing-nvim # Integrate native UI hooks with Telescope etc...
gitsigns-nvim # Fast git UI integration
nvim-notify # Better notification API
telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm
telescope-lsp-handlers-nvim # Use 'telescope' for various LSP actions
telescope-nvim # Fuzzy finder interface

@ -0,0 +1,9 @@
lua << EOF
local notify = require("notify")
notify.setup({
stages = "slide",
})
vim.notify = notify
EOF

@ -14,4 +14,5 @@ telescope.setup({
telescope.load_extension("fzf")
telescope.load_extension("lsp_handlers")
telescope.load_extension("notify")
EOF

Loading…
Cancel
Save