15 lines
517 B
Lua
15 lines
517 B
Lua
-- 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)' })
|