This commit is contained in:
2025-07-18 22:03:45 +07:00
parent 9b1e5c7069
commit 13b27243ea
4 changed files with 67 additions and 61 deletions

View File

@@ -19,16 +19,19 @@ ct.map('n', '<C-M-f>', ':!' .. defs.external_filemgr .. ' . &<CR><CR>')
ct.map('n', '<Leader>s', ':set spell!<CR>')
-- Buffer Navigation
ct.map('n', '<Leader>w', ':bnext<CR>')
ct.map('n', '<Leader>W', ':bprevious<CR>')
ct.map('n', '<Leader>w', '<cmd>bnext<CR>')
ct.map('n', '<Leader>W', '<cmd>bprevious<CR>')
-- close buffer
ct.map('n', '<Leader>q', ':bd<CR>')
ct.map('n', '<Leader>wq', '<cmd>w<CR><cmd>bd<CR>')
-- netrw
ct.map('n', '<Leader>e', '<cmd>Explore<CR>')
--
-- Commands
--
-- ct.defcmd('Xrdb', '!xrdb %')
ct.defcmd('ExTerm', '!' .. defs.external_term .. '&<CR><CR>')
ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '. &<CR><CR>')
-- ct.defcmd('ExTerm', '!' .. defs.external_term .. '&<CR><CR>')
-- ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '. &<CR><CR>')