This commit is contained in:
2026-02-26 11:15:22 +01:00
commit d36d07d224
19 changed files with 2020 additions and 0 deletions

14
lua/custom/keymaps.lua Normal file
View File

@@ -0,0 +1,14 @@
-- Set custom maps
local map = vim.keymap.set
-- Horizontal split for terminal
map('n', '<C-t>', ':split | terminal<CR>', { desc = '[T]erminal (Horizontal Split)' })
-- Open neo-filetree
map('n', '<C-e>', ':Neotree toggle<CR>', { desc = '[E]xplorer (toggle neotree)' })
-- Open lazygit in overlay
map('n', '<C-g>', '<cmd>LazyGit<CR>', { desc = 'LazyGit' })
-- Telescope grep all files in working dir
map('n', '<C-f>', '<cmd>builtin.grep_string<CR>', { desc = '[F]ind (Telescope ripgrep all files in work_dir)' })