Add rst keymaps for adding text annotations/notes
Used for adding speaker notes to presentation slides with rst2pdf.
This commit is contained in:
parent
55f57ddd26
commit
2e6f381772
1 changed files with 3 additions and 0 deletions
|
@ -15,3 +15,6 @@ cmp.setup.buffer { sources = sources }
|
||||||
-- Convert lines into a list.
|
-- Convert lines into a list.
|
||||||
vim.keymap.set("n", "<leader>l", "vip:norm I* <CR>")
|
vim.keymap.set("n", "<leader>l", "vip:norm I* <CR>")
|
||||||
vim.keymap.set("v", "<leader>l", ":norm I* <CR>")
|
vim.keymap.set("v", "<leader>l", ":norm I* <CR>")
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>ta", '_iTextAnnotation "<Esc>A"<Esc>j')
|
||||||
|
vim.keymap.set("v", "<leader>ta", ':norm ITextAnnotation "<Esc>gv:norm A"<Esc>')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue