nmap zz nmap n nzzzv nmap N Nzzzv " paste visually without yanking to clipboard xnoremap p "_dP " reselect visual selection after indent vnoremap < >gv " move selected line(s) up or down and respect indent vnoremap J :m '>+1gv=gv vnoremap K :m '<-2gv=gv " search nnoremap // :Telescope current_buffer_fuzzy_find nnoremap ?? :Telescope lsp_document_symbols " nnoremap Q !!$SHELL " nnoremap rn :lua vim.lsp.buf.rename() nnoremap :bnext nnoremap :bprev nnoremap :wa:FloatermToggle floatterm tnoremap :FloatermToggle floatterm tnoremap tnoremap tt :FloatermToggle split-term tnoremap tf :FloatermToggle floatterm tnoremap tp :FloatermToggle ipython tnoremap tP :FloatermToggle ipython-full "fix issue with space in terminal leader key tnoremap nnoremap gA :lua vim.lsp.buf.code_actions() nnoremap gd :Telescope lsp_definitions nnoremap gDc :Telescope lsp_implementations nnoremap gDf :Telescope lsp_definitions nnoremap gF :edit nnoremap gT :Telescope lsp_type_definitions nnoremap gb :Gitsigns blame_line nnoremap gi :Telescope lsp_implementations nnoremap gj :Telescope jumplist nnoremap gl :lua vim.lsp.buf.code_lens() nnoremap gr :Telescope lsp_references nnoremap gs :lua vim.lsp.buf.signature_help() nnoremap bb :Telescope buffers nnoremap bk :bdelete nnoremap bn :bnext nnoremap bp :bprev nnoremap ca :lua vim.lsp.buf.code_action() nnoremap cA :lua vim.lsp.buf.code_action() nnoremap cd :Telescope diagnostics nnoremap cDn :lua vim.diagnostic.goto_next() nnoremap cDp :lua vim.diagnostic.goto_prev() nnoremap cl :lua vim.diagnostic.setloclist() nnoremap cp :vert Copilot panel nnoremap Ci :lua require('chatgpt').edit_with_instructions() nnoremap Cd :ChatGPTRun docstring nnoremap Ct :ChatGPTRun add_tests nnoremap Co :ChatGPTRun optimize_code nnoremap Cs :ChatGPTRun summarize nnoremap Cf :ChatGPTRun fix_bugs nnoremap Ce :ChatGPTRun explain_code xnoremap Ci :lua require('chatgpt').edit_with_instructions() xnoremap Cd :ChatGPTRun docstring xnoremap Ct :ChatGPTRun add_tests xnoremap Co :ChatGPTRun optimize_code xnoremap Cs :ChatGPTRun summarize xnoremap Cf :ChatGPTRun fix_bugs xnoremap Ce :ChatGPTRun explain_code nnoremap db :lua require("dap").toggle_breakpoint() nnoremap dc :lua require("dap").continue() nnoremap di :lua require("dap").step_into() nnoremap do :lua require("dap").step_over() nnoremap dO :lua require("dap").step_out() nnoremap dr :lua require("dap").repl.open() nnoremap dl :lua require("dap").run_last() nnoremap dh :lua require("dap.ui.widgets").hover() nnoremap dp :lua require("dap.ui.widgets").preview() nnoremap df :lua require('dap.ui.widgets').centered_float(require('dap.ui.widgets').frames) nnoremap ds :lua require('dap.ui.widgets').centered_float(require('dap.ui.widgets').scopes) nnoremap dut :lua require("dapui").toggle() nnoremap duo :lua require("dapui").open() nnoremap duc :lua require("dapui").close() nnoremap dPm :lua require("dap-python").test_method() nnoremap dPc :lua require("dap-python").test_class() nnoremap dPs :lua require("dap-python").debug_selection() vnoremap dh :lua require("dap.ui.widgets").hover() vnoremap dp :lua require("dap.ui.widgets").preview() vnoremap dpe :lua require("dapui").eval() nnoremap :lua require('dap').step_over() nnoremap :lua require('dap').step_into() nnoremap :lua require('dap').step_out() nnoremap D :Dotenv .env nnoremap ec :e ~/.config/nvim/init.vim nnoremap ek :e ~/.config/nvim/keybindings.vim nnoremap ep :e ~/.config/nvim/lua/plugins.lua nnoremap es :e ~/.config/nvim/lua/settings.lua nnoremap fb :Telescope file_browser nnoremap fc :Telescope color_names theme=dropdown layout_config={width=0.45,height=25,prompt_position="bottom"} layout_strategy=vertical nnoremap ff :Telescope find_files nnoremap fg :Telescope glyph theme=dropdown layout_config={width=0.45,height=35,prompt_position="bottom"} layout_strategy=vertical nnoremap fr :Telescope oldfiles nnoremap gb :Gitsigns blame_line nnoremap gc :Telescope git_commits nnoremap gf :Telescope git_files nnoremap gg :FloatermNew --title=lazygit --width=1.0 --height=1.0 --opener=vsplit lazygit nnoremap gP lua require('goto-preview').close_all_win() nnoremap gR Telescope lsp_references nnoremap gpc lua require('goto-preview').close_all_win() nnoremap gpd lua require('goto-preview').goto_preview_definition() nnoremap gpi lua require('goto-preview').goto_preview_implementation() nnoremap hc :Telescope commands nnoremap hdc :Telescope dap commands nnoremap hdC :Telescope dap configurations nnoremap hdb :Telescope dap list_breakpoints nnoremap hdv :Telescope dap variables nnoremap hdf :Telescope dap frames nnoremap hv :Telescope vim_options nnoremap hk :Telescope keymaps nnoremap hs :Telescope spell_suggest nnoremap isp :-1read $HOME/Templates/python.py4jw nnoremap j :AnyJump nnoremap K :lua vim.lsp.buf.hover() nnoremap ld :Telescope lsp_definitions nnoremap lD :Telescope diagnostics nnoremap la :lua vim.lsp.buf.code_action() nnoremap lci :Telescope lsp_incoming_calls nnoremap lco :Telescope lsp_outgoing_calls nnoremap lh :lua vim.lsp.buf.signature_help() nnoremap li :Telescope lsp_implementations nnoremap lr :Telescope lsp_references nnoremap lR :lua vim.lsp.buf.rename() nnoremap ls :Telescope lsp_document_symbols nnoremap lt :Telescope lsp_type_definitions nnoremap lw :Telescope lsp_dynamic_workspace_symbols nnoremap n :NvimTreeToggle " nnoremap r :NvimTreeRefresh nnoremap ob :Telescope file_browser nnoremap oc :ChatGPT nnoremap oC :e ~/.config/nvim/init.vim nnoremap oB :FloatermNew --title=btop --opener=vsplit btop nnoremap od :FloatermNew --title=lazydocker --opener=vsplit lazydocker nnoremap of :wa:FloatermToggle floatterm nnoremap oh :FloatermNew --title=floaterm --name=split-term --opener=edit --wintype=split --position=botright --height=0.45 nnoremap on :FloatermNew --title=ncmpcpp --opener=vsplit ncmpcpp nnoremap op :FloatermNew --title=ipython --name=ipython --opener=split --wintype=vsplit --position=botright --width=0.5 ipython nnoremap oP :FloatermNew --title=ipython-full --name=ipython-full --opener=edit --width=1.0 --height=1.0 ipython nnoremap or :FloatermNew --title=ranger --opener=vsplit ranger --cmd="cd $PWD" nnoremap ot :FloatermNew --title=floaterm --name=split-term --opener=edit --wintype=vsplit --position=botright --width=0.5 nnoremap sc :nohls nnoremap sC :Telescope commands nnoremap sf :Telescope find_files nnoremap sg :Telescope live_grep nnoremap sG :Telescope glyph nnoremap sh :Telescope command_history nnoremap sm :Telescope man_pages nnoremap s/ :Telescope search_history nnoremap tc :Telescope colorscheme nnoremap tf :wa:FloatermToggle floatterm nnoremap tp :FloatermToggle ipython nnoremap tP :FloatermToggle ipython-full nnoremap tt :FloatermToggle split-term nnoremap td :DBUIToggle nnoremap Tc :Telescope color_names theme=dropdown layout_config={width=0.45,height=25,prompt_position="bottom"} layout_strategy=vertical nnoremap Tg :Telescope glyph theme=dropdown layout_config={width=0.45,height=35,prompt_position="bottom"} layout_strategy=vertical nnoremap Tn :Telescope notify nnoremap Tt :Telescope nnoremap wa :lua vim.lsp.buf.add_workspace_folder() nnoremap wl :lua print(vim.inspect(vim.lsp.buf.list_workspace_folders())) nnoremap wr :lua vim.lsp.buf.remove_workspace_folder() nmap x !chmod +x % nnoremap y "+ vmap y "+