diff options
Diffstat (limited to 'lua/binds.lua')
| -rw-r--r-- | lua/binds.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lua/binds.lua b/lua/binds.lua new file mode 100644 index 0000000..6f00728 --- /dev/null +++ b/lua/binds.lua @@ -0,0 +1,26 @@ +-- +-- Configuration Tools +-- +local ct = require('conftool') +local defs = require('defs') + +-- +-- Maps +-- +-- select all +ct.map('n', '<C-a>', '<esc>ggVG<LF>') +--[[ +-- spawn terminal +ct.map('n', '<C-M-t>', ':!' .. defs.external_term .. ' . &<LF><LF>') +-- spwan file manager +ct.map('n', '<C-M-f>', ':!' .. defs.external_filemgr .. ' . &<LF><LF>') +]] +-- spellchecking +ct.map('n', '<C-s>', ':set spell!<LF>') + +-- +-- Commands +-- +ct.defcmd('Xrdb', '!xrdb %') +ct.defcmd('ExTerm', '!' .. defs.external_term .. '&<LF><LF>') +ct.defcmd('ExFileMgr', '!' .. defs.external_filemgr .. '&<LF><LF>') |
