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
253 B
Lua
Raw Normal View History

2023-08-08 16:24:15 +03:00
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.