blob: 0f38ac2624b79aa55e82bc2e800d21480bf5d5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
vimrc.after_ftplugin('leaf', function(conf)
vim.wo.foldlevel = 1
vim.b.caw_oneline_comment = '#'
if vim.fn.exists(':AutosaveEnable') == 2 then
vim.cmd('AutosaveEnable')
end
vim.cmd([=[
nnoremap <buffer> ,t <Plug>(leaf-switch-task-status-to-todo)
nnoremap <buffer> ,T <Plug>(leaf-switch-task-status-to-todo-rec)
nnoremap <buffer> ,d <Plug>(leaf-switch-task-status-to-done)
nnoremap <buffer> ,D <Plug>(leaf-switch-task-status-to-done-rec)
nnoremap <buffer> ,c <Plug>(leaf-switch-task-status-to-canceled)
nnoremap <buffer> ,C <Plug>(leaf-switch-task-status-to-canceled-rec)
]=])
end)
|