From afe7d7cb08b91b6d04f7c5140fb9751c91067dcb Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Wed, 2 Aug 2023 17:14:16 +0200 Subject: [PATCH] feat: personalized nvim alpha a bit more --- home/neovim/lua/plugins/alpha.lua | 13 +++++++++++++ home/neovim/lua/plugins/telescope.lua | 1 + 2 files changed, 14 insertions(+) diff --git a/home/neovim/lua/plugins/alpha.lua b/home/neovim/lua/plugins/alpha.lua index 0da0a8a..abb0430 100644 --- a/home/neovim/lua/plugins/alpha.lua +++ b/home/neovim/lua/plugins/alpha.lua @@ -10,6 +10,19 @@ return { [[│││├┤ │ │└┐┌┘││││]], [[┘└┘└─┘└─┘ └┘ ┴┴ ┴]], } + dashboard.section.buttons.val = { + dashboard.button("e", " New file", ":ene"), + dashboard.button(",ff", "󰈞 Find file", "Telescope find_files"), + dashboard.button(",fg", "󰈬 Find word", "Telescope live_grep"), + dashboard.button(",zn", "󱞁 Write note", "Telekasten new_note"), + dashboard.button(",zf", "󱙓 Find note", "Telekasten find_notes"), + dashboard.button("q", "󰅚 Quit", ":qa"), + } alpha.setup(dashboard.config) end } + +-- 󰊄 Recently opened files SPC f h +--  Frecency/MRU SPC f r +--  Jump to bookmarks SPC f m +--  Open last session SPC s l diff --git a/home/neovim/lua/plugins/telescope.lua b/home/neovim/lua/plugins/telescope.lua index bad5c2c..f62dfdf 100644 --- a/home/neovim/lua/plugins/telescope.lua +++ b/home/neovim/lua/plugins/telescope.lua @@ -1,5 +1,6 @@ return { 'nvim-telescope/telescope.nvim', + cmd = "Telescope", dependencies = { { 'nvim-telescope/telescope-fzf-native.nvim',