fix: Broken keybinds
This commit is contained in:
parent
1fb65ecee1
commit
2b7f02f3e6
11 changed files with 65 additions and 55 deletions
|
|
@ -36,7 +36,7 @@ map("n", "<F9>", ':lua require("dap").continue()<CR>', opts)
|
|||
map("n", "<F10>", ':lua require("dap").close()<CR> :lua require("dapui").toggle()<CR>', opts)
|
||||
|
||||
-- file tree
|
||||
map("n", "f", ":NvimTreeToggle<CR>", opts)
|
||||
map("n", "f", ":lua require('nvim-tree.api').tree.toggle()<CR>", opts)
|
||||
|
||||
-- toggle terminal
|
||||
map("n", "<C-d>", ":lua require('toggleterm').toggle(1)<CR>", opts)
|
||||
|
|
@ -88,8 +88,7 @@ map("n", "fma", ":lua require('harpoon.mark').add_file()<CR>", opts)
|
|||
map("n", "fmd", ":lua require('harpoon.mark').remove_file()<CR>", opts)
|
||||
|
||||
-- telescope
|
||||
map("n", "fb", ":Telescope file_browser<CR>", {})
|
||||
map("n", "fc", ":Cheatsheet<CR>", {})
|
||||
map("n", "fb", ":lua require('telescope').extensions.file_browser.file_browser{}<CR>", {})
|
||||
map("n", "ff", ":lua require('telescope.builtin').find_files()<CR>", {})
|
||||
map("n", "fg", ":lua require('telescope.builtin').live_grep()<CR>", {})
|
||||
map("n", "fh", ":lua require('telescope.builtin').help_tags()<CR>", {})
|
||||
|
|
|
|||
|
|
@ -61,7 +61,9 @@ return {
|
|||
vim.keymap.set("n", "<2-LeftMouse>", api.node.open.edit, opts("Open"))
|
||||
vim.keymap.set("n", "<2-RightMouse>", api.tree.change_root_to_node, opts("CD"))
|
||||
end,
|
||||
respect_buf_cwd = true,
|
||||
-- respect_buf_cwd = true,
|
||||
sync_root_with_cwd = true,
|
||||
prefer_startup_root = true,
|
||||
view = {
|
||||
centralize_selection = false,
|
||||
side = "right",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue