From 9d1d68ad210a64ed49bc4e927c5561ac48818261 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Fri, 16 Jun 2023 08:46:22 +0100 Subject: [PATCH] Add shortcut to expand hint in Neovim --- users/tsv/nvim/lua/tsv/remap.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/tsv/nvim/lua/tsv/remap.lua b/users/tsv/nvim/lua/tsv/remap.lua index 93cdc88..ed64807 100644 --- a/users/tsv/nvim/lua/tsv/remap.lua +++ b/users/tsv/nvim/lua/tsv/remap.lua @@ -29,6 +29,8 @@ vim.keymap.set('n', 'tld', builtin.lsp_definitions, {}) vim.keymap.set('n', 'tlt', builtin.lsp_type_definitions, {}) vim.keymap.set("n", "tlf", vim.lsp.buf.format) -- Format code +vim.keymap.set('n', 'e', vim.diagnostic.open_float) + -- Custom Telescope commands for Rails vim.keymap.set('n', 'trj', function() builtin.find_files({ search_dirs = { "app/javascript", "app/assets/javascripts" } })