nvim: add zoxide telescope

nixos
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
orgmode
plenary-nvim # for telescope, neogit
popup-nvim
smartcolumn-nvim
telescope-fzf-native-nvim
telescope-nvim
telescope-zoxide
vim-lion
which-key-nvim
];

View File

@ -67,10 +67,13 @@ require("noice").setup({
},
})
require("telescope").load_extension("zoxide")
wk.register({
f = {
name = "find",
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" },
b = { "<cmd>Telescope buffers<cr>", "find buffer" },
},