Add keybind to use location list
This commit is contained in:
parent
9646edf680
commit
fbc414535b
1 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
local telescope = require('telescope')
|
local telescope = require('telescope')
|
||||||
local builtin = require('telescope.builtin')
|
local builtin = require('telescope.builtin')
|
||||||
|
local actions = require('telescope.actions')
|
||||||
|
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
|
|
||||||
|
|
@ -34,5 +35,10 @@ telescope.setup({
|
||||||
prompt_position = 'bottom',
|
prompt_position = 'bottom',
|
||||||
vertical = { width = 0.8, height = 0.9 }
|
vertical = { width = 0.8, height = 0.9 }
|
||||||
},
|
},
|
||||||
|
mappings = {
|
||||||
|
n = {
|
||||||
|
['<C-l>'] = actions.send_to_loclist + actions.open_loclist,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue