nvim: add zoxide telescope

This commit is contained in:
Moritz Böhme 2023-02-28 14:11:54 +01:00
parent 11156f282c
commit c7fabe4eab
2 changed files with 5 additions and 0 deletions

View file

@ -71,9 +71,11 @@ in
nvim-web-devicons # for dashboard-nvim nvim-web-devicons # for dashboard-nvim
orgmode orgmode
plenary-nvim # for telescope, neogit plenary-nvim # for telescope, neogit
popup-nvim
smartcolumn-nvim smartcolumn-nvim
telescope-fzf-native-nvim telescope-fzf-native-nvim
telescope-nvim telescope-nvim
telescope-zoxide
vim-lion vim-lion
which-key-nvim which-key-nvim
]; ];

View file

@ -67,10 +67,13 @@ require("noice").setup({
}, },
}) })
require("telescope").load_extension("zoxide")
wk.register({ wk.register({
f = { f = {
name = "find", name = "find",
f = { "<cmd>Telescope find_files<cr>", "find file" }, f = { "<cmd>Telescope find_files<cr>", "find file" },
z = { "<cmd>Telescope zoxide list<cr>", "find location" },
l = { "<cmd>Telescope current_buffer_fuzzy_find<cr>", "find line" },
g = { "<cmd>Telescope live_grep<cr>", "live grep" }, g = { "<cmd>Telescope live_grep<cr>", "live grep" },
b = { "<cmd>Telescope buffers<cr>", "find buffer" }, b = { "<cmd>Telescope buffers<cr>", "find buffer" },
}, },