init
This commit is contained in:
14
lua/custom/keymaps.lua
Normal file
14
lua/custom/keymaps.lua
Normal 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)' })
|
||||
Reference in New Issue
Block a user