|
@@ -61,12 +61,12 @@ vim.api.nvim_set_keymap('n', '<Leader>h', ':let @/=""<CR>',
|
|
-- explorer
|
|
-- explorer
|
|
|
|
|
|
-- TODO this introduces some bugs unfortunately
|
|
-- 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',
|
|
vim.api.nvim_set_keymap('n', '<Leader>e',
|
|
- ":NvimTreeToggle<CR>",
|
|
|
|
|
|
+ ":lua require'lv-nvimtree'.toggle_tree()<CR>",
|
|
{noremap = true, silent = true})
|
|
{noremap = true, silent = true})
|
|
|
|
+-- vim.api.nvim_set_keymap('n', '<Leader>e',
|
|
|
|
+-- ":NvimTreeToggle<CR>",
|
|
|
|
+-- {noremap = true, silent = true})
|
|
|
|
|
|
-- telescope
|
|
-- telescope
|
|
vim.api.nvim_set_keymap('n', '<Leader>f', ':Telescope find_files<CR>',
|
|
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"},
|
|
f = {"<cmd>lua vim.lsp.buf.formatting()<cr>", "Format"},
|
|
h = {"<cmd>Lspsaga hover_doc<cr>", "Hover Doc"},
|
|
h = {"<cmd>Lspsaga hover_doc<cr>", "Hover Doc"},
|
|
i = {"<cmd>LspInfo<cr>", "Info"},
|
|
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 lsp_finder<cr>", "LSP Finder"},
|
|
L = {"<cmd>Lspsaga show_line_diagnostics<cr>", "Line Diagnostics"},
|
|
L = {"<cmd>Lspsaga show_line_diagnostics<cr>", "Line Diagnostics"},
|
|
p = {"<cmd>Lspsaga preview_definition<cr>", "Preview Definition"},
|
|
p = {"<cmd>Lspsaga preview_definition<cr>", "Preview Definition"},
|