diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-06 02:27:38 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-06 02:27:38 +0100 |
commit | 59bec87353bbfc4cccf1a94ad0aec606871eefc2 (patch) | |
tree | 9a777ae5f21164a23b9e09a3cfa52c67bbe9bd71 /.config/nvim/lua/mango | |
parent | e74474ed1bcc466656af0f59fb86ec499978f20b (diff) |
nvim: Add remap to sort lines
Diffstat (limited to '.config/nvim/lua/mango')
-rw-r--r-- | .config/nvim/lua/mango/remap.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua index 210bb12..a497b8b 100644 --- a/.config/nvim/lua/mango/remap.lua +++ b/.config/nvim/lua/mango/remap.lua @@ -67,3 +67,6 @@ end) remap('n', 'g–', function() vim.cmd('split | Ex') end) + +-- Sort lines in selection +remap('v', 's', ':sort<CR>') |