summaryrefslogtreecommitdiffhomepage
path: root/src/blog/nvim-ts/skeleton.lua
blob: 0f9a54d0f6b008c623d42bbbee67562795e74c50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local function map(lhs, rhs)
	vim.keymap.set('n', lhs, function()
		--- TODO
	end, {
		buffer = true,
		noremap = true,
		silent = true,
	})
end

map('p', 'pick')
map('r', 'reword')
map('s', 'squash')
map('f', 'fixup')