summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/mango/remap.lua3
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>')