This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/key/align.lua
Dmitry Voronin 96b7f449f8 add readme with info about configs.
Co-authored-by: desktop <account@voronind.com>
Co-committed-by: desktop <account@voronind.com>
2023-10-21 18:38:38 +00:00

5 lines
253 B
Lua

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.