nvim : align : disable preview and enable regex.
This commit is contained in:
parent
6a38f800ec
commit
fda2bc324b
|
@ -1,4 +1,4 @@
|
||||||
require('key/rekey')
|
require('key/rekey')
|
||||||
|
|
||||||
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 = false, regex = true, 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.
|
rekey_visual('<Leader>a', '<cmd>lua require("align").align_to_string({ preview = false, regex = true, reverse = true })<cr>') -- align from right.
|
||||||
|
|
Reference in a new issue