diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua index d2ac12b..c8f7484 100644 --- a/dot_config/nvim/init.lua +++ b/dot_config/nvim/init.lua @@ -37,6 +37,9 @@ vim.keymap.set('i', '', function() return '' end, { expr=true }) +-- Code search? https://news.ycombinator.com/item?id=41739452 +vim.keymap.set('n', 'gv', 'vlua vim.lsp.buf.definition()', opts) + -- Tab stuff vim.opt.shiftwidth = 2 vim.opt.softtabstop = 2