WIP: home: vim: notify
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
30c676e20b
commit
8e56077d94
|
@ -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
|
||||
|
|
9
home/vim/plugin/settings/notify.vim
Normal file
9
home/vim/plugin/settings/notify.vim
Normal file
|
@ -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…
Reference in a new issue