1
Fork 0

Vim latex setup improvements (and more)

This commit is contained in:
Matei Adriel 2023-09-18 03:15:13 +03:00
parent 500f79cbdf
commit 0ca50395eb
No known key found for this signature in database
9 changed files with 28 additions and 7 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -7,7 +7,7 @@ local M = {
}
local venn_hint_old = [[
^^^Arrow^^^ Select region with <C-v>
^^^Draw arrow^^^ Select region with <C-v>
^ ^ _K_ ^ ^ _f_: surround it with box
_H_ ^ ^ _L_
^ ^ _J_ ^ ^ _<Esc>_
@ -16,12 +16,13 @@ local venn_hint_old = [[
local H = require("my.plugins.hydra").hint
local venn_hint = H.concat_many_h({
H.add_title("Arrow", H.directional("H", "J", "K", "L", 3)),
H.add_title("Draw arrows", H.directional("H", "J", "K", "L", 3)),
H.add_title(
"Actions",
H.concat_many_w({
H.concat_h("<C-v>", ": select region"),
H.concat_h(H.pad_right(H.highlight("f"), 5), ": surround with box"),
H.concat_h(H.pad_right(H.highlight("<Esc>"), 5), ": quit"),
}, { justify = "left" })
),
}, 3).value