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')
2023-10-19 16:55:48 +03:00
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.