More keybindings for lnarvim

main
Micke Nordin 1 year ago
parent 614457310a
commit e99922dfa3

@ -154,3 +154,9 @@ vim.api.nvim_create_autocmd("BufReadPost", {
vim.g.tabby_keybinding_accept = '<C-Right>' vim.g.tabby_keybinding_accept = '<C-Right>'
vim.g.tabby_keybinding_trigger_or_dismiss = '<C-Left>' vim.g.tabby_keybinding_trigger_or_dismiss = '<C-Left>'
vim.g.tabby_suggestion_delay = 100 vim.g.tabby_suggestion_delay = 100
lvim.builtin.which_key.mappings["lh"] = {
"<cmd>lua vim.lsp.buf.hover()<CR>", "Show documentation"
}
lvim.builtin.which_key.mappings["lu"] = {
"<cmd>lua require('telescope.builtin').lsp_references()<CR>", "Show usage"
}

Loading…
Cancel
Save