diff options
author | Chris <[email protected]> | 2021-06-30 22:01:15 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-06-30 22:01:15 -0400 |
commit | 6c7717e45138e0acfc3025fa5eea8858b2cece11 (patch) | |
tree | 771b1cb34afc9f290205196fb1e5f999aca14680 /lua/lv-which-key/init.lua | |
parent | 59dd16925ad9f71a002a1d2b914012a39a77b05a (diff) |
fix offset package.loaded is cool
Diffstat (limited to 'lua/lv-which-key/init.lua')
-rw-r--r-- | lua/lv-which-key/init.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lua/lv-which-key/init.lua b/lua/lv-which-key/init.lua index 8d81e2e6..6afd61c6 100644 --- a/lua/lv-which-key/init.lua +++ b/lua/lv-which-key/init.lua @@ -61,12 +61,12 @@ vim.api.nvim_set_keymap('n', '<Leader>h', ':let @/=""<CR>', -- explorer -- TODO this introduces some bugs unfortunately --- vim.api.nvim_set_keymap('n', '<Leader>e', --- ":lua require'lv-nvimtree'.toggle_tree()<CR>", --- {noremap = true, silent = true}) vim.api.nvim_set_keymap('n', '<Leader>e', - ":NvimTreeToggle<CR>", + ":lua require'lv-nvimtree'.toggle_tree()<CR>", {noremap = true, silent = true}) +-- vim.api.nvim_set_keymap('n', '<Leader>e', +-- ":NvimTreeToggle<CR>", +-- {noremap = true, silent = true}) -- telescope vim.api.nvim_set_keymap('n', '<Leader>f', ':Telescope find_files<CR>', @@ -199,6 +199,8 @@ local mappings = { f = {"<cmd>lua vim.lsp.buf.formatting()<cr>", "Format"}, h = {"<cmd>Lspsaga hover_doc<cr>", "Hover Doc"}, i = {"<cmd>LspInfo<cr>", "Info"}, + j = {"<cmd>Lspsaga diagnostic_jump_prev<cr>", "Prev Diagnostic"}, + k = {"<cmd>Lspsaga diagnostic_jump_next<cr>", "Next Diagnostic"}, l = {"<cmd>Lspsaga lsp_finder<cr>", "LSP Finder"}, L = {"<cmd>Lspsaga show_line_diagnostics<cr>", "Line Diagnostics"}, p = {"<cmd>Lspsaga preview_definition<cr>", "Preview Definition"}, |