Tweak Telescope mappings to my liking
This commit is contained in:
parent
9e5b1597ba
commit
828db0d073
@ -4,7 +4,23 @@ return {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
config = function()
|
||||
require('telescope').setup({})
|
||||
local telescope = require('telescope')
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
['<C-s>'] = 'select_horizontal',
|
||||
['<C-h>'] = 'preview_scrolling_left',
|
||||
['<C-l>'] = 'preview_scrolling_right',
|
||||
},
|
||||
n = {
|
||||
['<C-s>'] = 'select_horizontal',
|
||||
['<C-h>'] = 'preview_scrolling_left',
|
||||
['<C-l>'] = 'preview_scrolling_right',
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- TODO: Add more mappings?
|
||||
local opts = { noremap = true }
|
||||
|
Loading…
x
Reference in New Issue
Block a user