WIP: home: vim: notify
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2022-03-11 10:38:42 +01:00
parent 30c676e20b
commit 8e56077d94
4 changed files with 13 additions and 0 deletions

View file

@ -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" },
},
}

View file

@ -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

View file

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

View file

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