initial commit

This commit is contained in:
2022-09-30 20:06:55 +08:00
commit 0e1bf5aad4
11 changed files with 752 additions and 0 deletions

26
lua/binds.lua Normal file
View File

@@ -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>')