summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/fugitive.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 23:33:16 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 23:33:16 +0200
commit78d2f88b3207f00cac1d5cbe21e00286dec417e8 (patch)
tree7dc06adbc96bf2cbc7627e5f83a1a5fe9783aa97 /.config/nvim/after/plugin/fugitive.lua
parent30543e85eeae846b83146279e18d00da6c8473a4 (diff)
nvim: Move ‘remap()’ to mango.lib
Diffstat (limited to '.config/nvim/after/plugin/fugitive.lua')
-rw-r--r--.config/nvim/after/plugin/fugitive.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/fugitive.lua b/.config/nvim/after/plugin/fugitive.lua
index 6e1b92d..39f7df6 100644
--- a/.config/nvim/after/plugin/fugitive.lua
+++ b/.config/nvim/after/plugin/fugitive.lua
@@ -1 +1,3 @@
-vim.keymap.set('n', '<leader>gs', vim.cmd.Git)
+local lib = require('mango.lib')
+
+lib.remap('n', '<leader>gs', vim.cmd.Git)