File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,12 +55,38 @@ return {
5555 -- You can put your default mappings / updates / etc. in here
5656 -- All the info you're looking for is in `:help telescope.setup()`
5757 --
58- -- defaults = {
59- -- mappings = {
60- -- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
61- -- },
62- -- },
63- -- pickers = {}
58+ defaults = {
59+ mappings = {
60+ i = {
61+ [' <C-j>' ] = require (' telescope.actions' ).move_selection_next ,
62+ [' <C-k>' ] = require (' telescope.actions' ).move_selection_previous ,
63+ -- ['<c-enter>'] = 'to_fuzzy_refine'
64+ },
65+ },
66+ layout_config = {
67+ vertical = {
68+ height = function (_ , _ , l )
69+ return l
70+ end ,
71+ width = function (_ , c , _ )
72+ return c
73+ end ,
74+ prompt_position = ' bottom' ,
75+ preview_cutoff = 1 ,
76+ },
77+ },
78+ },
79+ pickers = {
80+ live_grep = {
81+ layout_strategy = ' vertical' ,
82+ },
83+ find_files = {
84+ layout_strategy = ' vertical' ,
85+ },
86+ buffers = {
87+ theme = ' ivy' ,
88+ },
89+ },
6490 extensions = {
6591 [' ui-select' ] = {
6692 require (' telescope.themes' ).get_dropdown (),
You can’t perform that action at this time.
0 commit comments