Skip to content

Key Mappings

Mikael Fangel edited this page Oct 27, 2024 · 4 revisions
Mode Key Action Description
"" <C-n> NvimTreeToggle Toggle NvimTree
"" <leader>co TSContextToggle Toggle the Treesitter context
"" <leader>fm lua vim.lsp.buf.format() Format the current buffer
"" <leader>gtb Gitsigns toggle_current_line_blame Gitsigns current line blame
"" <leader>gtd Gitsigns toggle_deleted Gitsigns deleted
"" <leader>gd Gitsigns diffthis Gitsigns diff this buffer
"" <leader>grh Gitsigns reset_hunk Gitsigns reset hunk
"" <leader>grb Gitsigns reset_buffer Gitsigns reset buffer
"n" <leader>lg Lazygit Open lazygit
"n" <leader>tn tabnew Create new tab
"n" <leader>td tabclose Close tab
"n" <leader>ts tabnext Go to the sub-sequent tab
"n" <leader>tp tabprevious Go to the previous tab
"t" <esc> <C-\\><C-n> Escape terminal mode
"n" <leader>rs RustStartStandaloneServerForBuffer Start standalone rust-analyzer
Clone this wiki locally