mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 09:35:26 +02:00
fix offset package.loaded is cool
This commit is contained in:
parent
59dd16925a
commit
6c7717e451
2 changed files with 16 additions and 10 deletions
|
@ -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"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue