From cdca15c909b99a4f9e86069cf4afda8cfea8ce01 Mon Sep 17 00:00:00 2001 From: ant Date: Fri, 5 Apr 2024 11:06:49 +0200 Subject: [PATCH] add Neoformat and multiple-cursors --- lua/plugins.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lua/plugins.lua b/lua/plugins.lua index 816fc1d..03500e7 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -479,6 +479,23 @@ local plugins = { justify_side = 'right', }, }, + }, + { 'sbdchd/neoformat' }, + { + "brenton-leighton/multiple-cursors.nvim", + version = "*", -- Use the latest tagged version + opts = {}, -- This causes the plugin setup function to be called + keys = { + { "", "MultipleCursorsAddDown", mode = { "n", "i" } }, + { "", "MultipleCursorsAddDown" }, + { "", "MultipleCursorsAddUp", mode = { "n", "i" } }, + { "", "MultipleCursorsAddUp" }, + { "", "MultipleCursorsMouseAddDelete", mode = { "n", "i" } }, + { "a", "MultipleCursorsAddMatches", mode = { "n", "x" } }, + { "A", "MultipleCursorsAddMatchesV", mode = { "n", "x" } }, + -- { "d", "MultipleCursorsAddJumpNextMatch", mode = { "n", "x" } }, + -- { "D", "MultipleCursorsJumpNextMatch" }, + }, } }