diff options
| author | Ian Griffin <migriffin@disroot.org> | 2025-06-07 14:39:08 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2025-06-07 14:39:08 +0800 |
| commit | 9b1e5c706913ee07ea3e943340370285cf2213b1 (patch) | |
| tree | 2f25e8f446443edda660253dcb979a809fd1f285 /lua/binds.lua | |
| parent | d25bf6d7b1b9548af595a834ac9f28122b268820 (diff) | |
updated
Diffstat (limited to 'lua/binds.lua')
| -rw-r--r-- | lua/binds.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lua/binds.lua b/lua/binds.lua index f516f34..d237c6b 100644 --- a/lua/binds.lua +++ b/lua/binds.lua @@ -8,27 +8,27 @@ local defs = require('defs') -- Maps -- -- select all -ct.map('n', '<Leader>a', '<esc>ggVG<LF>') +ct.map('n', '<Leader>a', '<esc>ggVG<CR>') --[[ -- spawn terminal -ct.map('n', '<C-M-t>', ':!' .. defs.external_term .. ' . &<LF><LF>') +ct.map('n', '<C-M-t>', ':!' .. defs.external_term .. ' . &<CR><CR>') -- spwan file manager -ct.map('n', '<C-M-f>', ':!' .. defs.external_filemgr .. ' . &<LF><LF>') +ct.map('n', '<C-M-f>', ':!' .. defs.external_filemgr .. ' . &<CR><CR>') ]] -- spellchecking -ct.map('n', '<Leader>s', ':set spell!<LF>') +ct.map('n', '<Leader>s', ':set spell!<CR>') -- Buffer Navigation -ct.map('n', '<Leader>w', ':bnext<LF>') -ct.map('n', '<Leader>W', ':bprevious<LF>') +ct.map('n', '<Leader>w', ':bnext<CR>') +ct.map('n', '<Leader>W', ':bprevious<CR>') -- close buffer -ct.map('n', '<Leader>q', ':bd<LF>') -ct.map('n', '<Leader>wq', '<cmd>w<LF><cmd>bd<LF>') +ct.map('n', '<Leader>q', ':bd<CR>') +ct.map('n', '<Leader>wq', '<cmd>w<CR><cmd>bd<CR>') -- -- Commands -- -- ct.defcmd('Xrdb', '!xrdb %') -ct.defcmd('ExTerm', '!' .. defs.external_term .. '&<LF><LF>') -ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '. &<LF><LF>') +ct.defcmd('ExTerm', '!' .. defs.external_term .. '&<CR><CR>') +ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '. &<CR><CR>') |
