summary refs log tree commit diff
path: root/.vim/after/ftplugin/markdown.lua
blob: 45219ee5134c018e85bdefb06517babd0f212492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require('spell')
vim.opt.foldlevel = 1

-- vim.fn.matchadd('Conceal', '\\[ \\]', 0, -1, { conceal = '☐' })
-- vim.fn.matchadd('Conceal', '\\[x\\]', 0, -1, { conceal = '☑' })
-- vim.fn.matchadd('Conceal', '\\[-\\]', 0, -1, { conceal = '☒' })
-- vim.fn.matchadd('Conceal', '\\[\\]', 0, -1, { conceal = '🞕' })

vim.keymap.set('n',
  '<Plug>Markdown_OpenUrlUnderCursor',
  function() require('misc').open_under_cursor('url-launcher') end
)


-- vim.keymap.set('n', '<leader>zn', function() require('zk').new() end)
-- vim.keymap.set('n', '<leader>zi', function() require('zk').index() end)
-- vim.cmd [[ command! -nargs=* ZettelkastenNew lua require('zk').new(nil, <f-args>) ]]