diff options
Diffstat (limited to 'nvim.lua')
-rw-r--r-- | nvim.lua | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -301,21 +301,18 @@ require('telescope').setup { | |||
301 | defaults = { | 301 | defaults = { |
302 | mappings = { | 302 | mappings = { |
303 | i = { | 303 | i = { |
304 | ['<C-u>'] = false, | ||
305 | ['<C-d>'] = false, | ||
306 | ["<c-j>"] = "move_selection_next", | 304 | ["<c-j>"] = "move_selection_next", |
307 | ["<c-k>"] = "move_selection_previous", | 305 | ["<c-k>"] = "move_selection_previous", |
306 | ["<C-w>"] = require("telescope.actions.layout").toggle_preview, | ||
308 | }, | 307 | }, |
309 | }, | 308 | }, |
310 | layout_config = { | 309 | layout_config = { |
311 | vertical = { height = 0.8 } | 310 | vertical = { height = 0.8 }, |
312 | -- other layout configuration here | 311 | -- other layout configuration here |
312 | preview_cutoff = 0, | ||
313 | }, | 313 | }, |
314 | }, | 314 | }, |
315 | pickers = { | 315 | pickers = { |
316 | oldfile = { | ||
317 | previewer = true, | ||
318 | }, | ||
319 | buffers = { | 316 | buffers = { |
320 | show_all_buffers = true, | 317 | show_all_buffers = true, |
321 | sort_lastused = true, | 318 | sort_lastused = true, |