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

5 lines
317 B
Lua

require('key/rekey')
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 = false, regex = true, reverse = true })<cr>') -- align from right.