From e74795861cf914d01c451625e29461cf519c1e29 Mon Sep 17 00:00:00 2001 From: droctothorpe Date: Wed, 16 Mar 2022 10:01:15 -0400 Subject: [PATCH] Add multiple cursor support --- lua/user/keymaps.lua | 6 +++--- lua/user/plugins.lua | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 643c6cc..89ba33d 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -36,12 +36,12 @@ keymap("n", "", ":bnext", opts) keymap("n", "", ":bprevious", opts) -- Move text up and down -keymap("n", "", ":m .+1==gi", opts) -keymap("n", "", ":m .-2==gi", opts) +keymap("n", "", ":m .+1==gi", opts) +keymap("n", "", ":m .-2==gi", opts) -- Insert -- -- Press jk fast to enter -keymap("i", "jk", "", opts) +-- keymap("i", "jk", "", opts) -- Visual -- -- Stay in indent mode diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index ff427b5..56f5d36 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -107,6 +107,8 @@ return packer.startup(function(use) end } + use "terryma/vim-multiple-cursors" + -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if PACKER_BOOTSTRAP then