diff --git a/keybindings.vim b/keybindings.vim index 9fa6c5b..bda57ef 100644 --- a/keybindings.vim +++ b/keybindings.vim @@ -48,18 +48,18 @@ nmap bn :bnext nmap bp :bprev nmap ca :lua vim.lsp.buf.code_action() -nmap cc :vert Copilot nmap cd :Telescope diagnostics +nmap cp :vert Copilot panel +nmap cs :lua require("copilot.suggestion").toggle_auto_trigger() " nmap cl :lua vim.lsp.diagnostic.show_line_diagnostics() -nnoremap cn :DashboardNewFile +" nnoremap cn :DashboardNewFile nnoremap ff :Telescope find_files nnoremap fg :Telescope live_grep nnoremap fb :Telescope buffers -nnoremap fh :Telescope help_tags -nmap fa :DashboardFindWord -nmap fb :DashboardJumpMark -nmap fh :DashboardFindHistory +" nmap fa :DashboardFindWord +" nmap fb :DashboardJumpMark +" nmap fh :DashboardFindHistory nmap gb :Gitsigns blame_line nmap gc :Telescope git_commits @@ -73,7 +73,7 @@ nnoremap gpd lua require('goto-preview').goto_preview_definition() nnoremap gpi lua require('goto-preview').goto_preview_implementation() nmap hc :Telescope commands -nmap hh :Telescope tags +nnoremap hv :Telescope help_tags nmap hk :Telescope keymaps nmap hs :Telescope spell_suggest @@ -98,7 +98,8 @@ nmap lw :Telescope lsp_dynamic_workspace_symbols nmap n :NvimTreeToggle -nmap ob :FloatermNew --title=bpytop --opener=vsplit bpytop +nmap ob :Telescope file_browser +nmap oB :FloatermNew --title=bpytop --opener=vsplit bpytop nmap od :FloatermNew --title=lazydocker --opener=vsplit lazydocker nmap of :wa:FloatermToggle floatterm nmap oh :FloatermNew --title=floaterm --name=split-term --opener=edit --wintype=split --position=botright --height=0.45 @@ -121,7 +122,6 @@ nmap s/ :Telescope search_history nnoremap tc :Telescope colorscheme nmap tf :wa:FloatermToggle floatterm -nmap to :SymbolsOutline nmap tp :FloatermToggle ipython nmap tP :FloatermToggle ipython-full nmap tt :FloatermToggle split-term diff --git a/plugin-confs/nvim-cmp.lua b/plugin-confs/nvim-cmp.lua index e3e9246..184eb65 100644 --- a/plugin-confs/nvim-cmp.lua +++ b/plugin-confs/nvim-cmp.lua @@ -183,10 +183,9 @@ for _, lsp in ipairs(servers) do } end - -cmp.event:on("menu_opened", function() - vim.b.copilot_suggestion_hidden = true -end) -cmp.event:on("menu_closed", function() - vim.b.copilot_suggestion_hidden = false -end) +-- cmp.event:on("menu_opened", function() +-- vim.b.copilot_suggestion_hidden = true +-- end) +-- cmp.event:on("menu_closed", function() +-- vim.b.copilot_suggestion_hidden = false +-- end)