diff options
| author | Ian Griffin <migriffin@disroot.org> | 2023-01-24 12:41:40 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2023-01-24 12:41:40 +0800 |
| commit | 0f73cb3fed54b16791cca87271e436b23f62c817 (patch) | |
| tree | 4daeb52aba5a247e1fcd876892c69e142d88377c /lua/binds.lua | |
| parent | e3416f0e727500f2e35a823b917f52106a6db902 (diff) | |
updates
Diffstat (limited to 'lua/binds.lua')
| -rw-r--r-- | lua/binds.lua | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lua/binds.lua b/lua/binds.lua index 6f00728..c2990f0 100644 --- a/lua/binds.lua +++ b/lua/binds.lua @@ -8,7 +8,7 @@ local defs = require('defs') -- Maps -- -- select all -ct.map('n', '<C-a>', '<esc>ggVG<LF>') +ct.map('n', '<Leader>a', '<esc>ggVG<LF>') --[[ -- spawn terminal ct.map('n', '<C-M-t>', ':!' .. defs.external_term .. ' . &<LF><LF>') @@ -16,11 +16,18 @@ ct.map('n', '<C-M-t>', ':!' .. defs.external_term .. ' . &<LF><LF>') ct.map('n', '<C-M-f>', ':!' .. defs.external_filemgr .. ' . &<LF><LF>') ]] -- spellchecking -ct.map('n', '<C-s>', ':set spell!<LF>') +ct.map('n', '<Leader>s', ':set spell!<LF>') + +-- Buffer Navigation +ct.map('n', '<Leader>w', ':bnext<LF>') +ct.map('n', '<Leader>W', ':bprevious<LF>') + +-- close buffer +ct.map('n', '<Leader>q', ':bd<LF>') -- -- Commands -- ct.defcmd('Xrdb', '!xrdb %') ct.defcmd('ExTerm', '!' .. defs.external_term .. '&<LF><LF>') -ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '&<LF><LF>') +ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '. &<LF><LF>') |
