summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango/remap.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-21 11:35:29 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-21 11:35:29 +0100
commit66439533666e8b80c8eae377de2df00be86030c1 (patch)
treedd879c3fd772b29ce3f9ea05fb62cfb264c00909 /.config/nvim/lua/mango/remap.lua
parent7d070820e83413da114909908dce674041b0ef07 (diff)
nvim: Minor config fixes
Diffstat (limited to '.config/nvim/lua/mango/remap.lua')
-rw-r--r--.config/nvim/lua/mango/remap.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua
index 787ae1e..a22632e 100644
--- a/.config/nvim/lua/mango/remap.lua
+++ b/.config/nvim/lua/mango/remap.lua
@@ -27,9 +27,8 @@ remap('n', '<C-u>', '<C-u>zz')
remap('n', 'n', 'nzzzv')
remap('n', 'N', 'Nzzzv')
--- Swap the jump-to-mark bindings
--- remap('nv', "'", '`')
--- remap('nv', '`', "'")
+-- Compile code quickly
+remap('n', 'M', ':make<CR>')
-- Transpose characters; for some reason it has a noticable delay if I just give
-- a string instead of lambda functions