From fbc414535be97fed1f7610f955aaf499384a9878 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sun, 20 Sep 2026 10:17:05 +0200 Subject: [PATCH] Add keybind to use location list --- templates/nvim/lua/telescope.lua.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/nvim/lua/telescope.lua.j2 b/templates/nvim/lua/telescope.lua.j2 index 95c3bc0..149543b 100644 --- a/templates/nvim/lua/telescope.lua.j2 +++ b/templates/nvim/lua/telescope.lua.j2 @@ -2,6 +2,7 @@ local telescope = require('telescope') local builtin = require('telescope.builtin') +local actions = require('telescope.actions') local opts = { noremap = true, silent = true } @@ -34,5 +35,10 @@ telescope.setup({ prompt_position = 'bottom', vertical = { width = 0.8, height = 0.9 } }, + mappings = { + n = { + [''] = actions.send_to_loclist + actions.open_loclist, + }, + }, }, })