nvim: fancify ui interfaces and notifications

This commit is contained in:
tastytea 2022-09-06 05:40:03 +02:00
parent d1e690de4a
commit 479a902aeb
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 9 additions and 0 deletions

View File

@ -124,6 +124,11 @@ require('packer').startup({ function(use)
'https://github.com/dhruvasagar/vim-table-mode', 'https://github.com/dhruvasagar/vim-table-mode',
tag = '*' tag = '*'
} }
use { 'https://github.com/stevearc/dressing.nvim' }
use {
'https://github.com/rcarriga/nvim-notify',
tag = '*'
}
-- coding -- coding
use { use {

View File

@ -46,6 +46,7 @@ map('n', '<Leader>tp', telescope.extensions.projects.projects, 'Projects')
map('n', '<Leader>tt', map('n', '<Leader>tt',
require("telescope._extensions.todo-comments").exports.todo, require("telescope._extensions.todo-comments").exports.todo,
'Display TODO comments in project') 'Display TODO comments in project')
map('n', '<Leader>tn', telescope.extensions.notify.notify, 'Notifications')
local nerdfont_installed = require('my.functions').nerdfont_installed() local nerdfont_installed = require('my.functions').nerdfont_installed()
@ -123,3 +124,6 @@ map('n', '<F21>', mind.open_project, 'Open project mind') -- <S-F9> = <F21>
require('nvim-surround').setup({}) require('nvim-surround').setup({})
vim.g.table_mode_map_prefix = nil -- disable keymaps vim.g.table_mode_map_prefix = nil -- disable keymaps
require('dressing').setup({})
vim.notify = require('notify')