From b5e3e6f12b41a9a1133744e139c5aa47d1bee006 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Sun, 2 Mar 2025 13:30:28 -0500 Subject: update before i break everything --- modules/neovim/keybinds.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/neovim/keybinds.lua') diff --git a/modules/neovim/keybinds.lua b/modules/neovim/keybinds.lua index cbd46c5..3f848b5 100644 --- a/modules/neovim/keybinds.lua +++ b/modules/neovim/keybinds.lua @@ -39,3 +39,15 @@ nmap('we', '', { desc = "Focus window above the current one" } nmap('wi', '', { desc = "Focus window right of the current one" }) nmap('fo', 'Telescope find_files', { silent = true }) +nmap('?', 'Telescope live_grep', { silent = true }) + +nmap('to', 'te', { silent = true; desc = "Open a terminal buffer in the current window." }) + +map('n', 'grr', function() + vim.lsp.buf.references() +end, { desc = "Code references (LSP)" }) + +map('n', 'gd', function() + vim.lsp.buf.definition() +end, { desc = "Goto definition (LSP)" }) + -- cgit v1.2.3