From 68488fe63c9cd279a819de12fd56f1d62b7767f2 Mon Sep 17 00:00:00 2001 From: Mathias Rothenhaeusler Date: Thu, 21 Sep 2023 12:24:43 +0200 Subject: [PATCH] added easymotion --- lua/custom/keymaps.lua | 5 +++++ lua/custom/plugins/init.lua | 1 + 2 files changed, 6 insertions(+) diff --git a/lua/custom/keymaps.lua b/lua/custom/keymaps.lua index 9b82824..3107ffd 100644 --- a/lua/custom/keymaps.lua +++ b/lua/custom/keymaps.lua @@ -53,3 +53,8 @@ keymap.set('n', '', 'ToggleTerm direction=horizontal', { silent = keymap.set('n', 'f', 'Sneak_s', { silent = true }) keymap.set('n', 'F', 'Sneak_S', { silent = true }) keymap.set('n', 's', 's', { silent = true }) + + +-- easymotion +keymap.set('n', 'f', '(easymotion-prefix)', { silent = true }) +keymap.set('n', 'fs', '(easymotion-overwin-f2)', { silent = true }) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 828d219..ed91112 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -73,4 +73,5 @@ return { }, }, }, + "easymotion/vim-easymotion", }