Browse Source

👌 IMPROVE: update which key config

pull/93/head
Xin.Chen 3 years ago
parent
commit
9103a48239
  1. 2
      lua/which-key-config.lua

2
lua/which-key-config.lua

@ -8,6 +8,8 @@ local mappings = {
E = {":e ~/.config/nvim/init.vim<CR>" , "Edit config"},
f = {":Telescope find_files<CR>","Telescope Find Files"},
r = {":Telescope live_grep<CR>","Telescope Live Grep"},
a = {'<cmd>lua vim.lsp.buf.code_action()<CR>', 'Code action'},
g = {'<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>','Show line diagnostics'},
l = {
name = "LSP",
i = {":LspInfo<cr>", "Connected Language Servers"},

Loading…
Cancel
Save