diff options
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/config/telescope.fnl | 9 | ||||
-rw-r--r-- | fnl/config/which-key.fnl | 3 |
2 files changed, 4 insertions, 8 deletions
diff --git a/fnl/config/telescope.fnl b/fnl/config/telescope.fnl index ea50f96..38ac138 100644 --- a/fnl/config/telescope.fnl +++ b/fnl/config/telescope.fnl @@ -75,11 +75,4 @@ :case_mode :smart_case}}}) (telescope.load_extension :fzf) (telescope.load_extension :file_browser) - (telescope.load_extension :projects) - (nvim.set_keymap :n :<C-b> - "<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})<cr>" - opts) - (nvim.set_keymap :n :<C-f> - "<cmd>lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})<cr>" - opts) - (nvim.set_keymap :n :<C-t> "<cmd>Telescope live_grep theme=ivy<cr>" opts))) + (telescope.load_extension :projects))) diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 54cd0e8..1f9f0fe 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -47,6 +47,9 @@ :n [:<cmd>nohlsearch<CR> "No Highlight"] :P ["<cmd>Telescope projects<cr>" :Projects] :z [:<cmd>ZenMode<cr> "Zen Mode"] + :b ["<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})<cr>" "Switch buffers"] + :f ["<cmd>lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})<cr>" "Find files"] + :t ["<cmd>Telescope live_grep theme=ivy<cr>" "Find text"] :p {:name :Packer :c [:<cmd>PackerCompile<cr> :Compile] :i [:<cmd>PackerInstall<cr> :Install] |