nvim : update align config to enable preview again.

This commit is contained in:
Dmitry Voronin 2023-10-26 20:23:22 +03:00
parent fe09fa9139
commit 8aa13c228e

View file

@ -1,4 +1,4 @@
require('key/rekey')
rekey_visual('<Leader>A', '<cmd>lua require("align").align_to_string(false, false, true)<cr>') -- align from left.
rekey_visual('<Leader>a', '<cmd>lua require("align").align_to_string(false, true, true)<cr>') -- align from right.
rekey_visual('<Leader>A', '<cmd>lua require("align").align_to_string({ preview = true, regex = false, reverse = false })<cr>') -- align from left.
rekey_visual('<Leader>a', '<cmd>lua require("align").align_to_string({ preview = true, regex = false, reverse = true })<cr>') -- align from right.