diff options
author | Squibid <me@zacharyscheiman.com> | 2023-04-30 18:41:13 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-04-30 18:41:13 -0400 |
commit | 01a09f243ce07d367c539d69d4a7f4541ab1dcd7 (patch) | |
tree | ec2af23e59a38d4f9ac476e69abc07c8110b52a1 /lua/core/overrides/telescope.lua | |
parent | 7c5d3eff786bef884022cc813448bb085ba4eccd (diff) | |
download | nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.gz nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.bz2 nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.zip |
new config old version is now on v1 branch
Diffstat (limited to 'lua/core/overrides/telescope.lua')
-rw-r--r-- | lua/core/overrides/telescope.lua | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/lua/core/overrides/telescope.lua b/lua/core/overrides/telescope.lua deleted file mode 100644 index c17e56c..0000000 --- a/lua/core/overrides/telescope.lua +++ /dev/null @@ -1,42 +0,0 @@ -local telescope = require('telescope') -local actions = require('telescope.actions') - -telescope.setup { - defaults = { - borderchars = { " ", " ", " ", " ", " ", " ", " ", " " }, - sorting_strategy = 'ascending', - layout_config = { - height = 0.9, - prompt_position = 'top', - }, - mappings = { - i = { - ['<C-h>'] = 'which_key', - ['<C-j>'] = actions.move_selection_next, - ['<C-k>'] = actions.move_selection_previous, - ['<C-l>'] = actions.select_default, - ['<C-u>'] = actions.preview_scrolling_up, - ['<C-d>'] = actions.preview_scrolling_down, - }, - n = { - ["gg"] = actions.move_to_top, - ["G"] = actions.move_to_bottom, - }, - }, - extensions = { - ["ui-select"] = { - require("telescope.themes").get_dropdown { - -- even more opts - } - } - }, - } -} -telescope.load_extension('undo') -telescope.load_extension('file_browser') -telescope.load_extension('ui-select') - -a.nvim_create_autocmd('User', { - pattern = 'TelescopePreviewerLoaded', - command = 'setlocal number', -}) |