From d19c2063fb609bacddec617136740bba2ba814e5 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 6 Nov 2021 13:25:18 +0100 Subject: Added vim-cool plugin --- config/nvim/lua/mappings.lua | 3 +-- config/nvim/lua/plugins.lua | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'config/nvim/lua') diff --git a/config/nvim/lua/mappings.lua b/config/nvim/lua/mappings.lua index 566b647..ef6d8d6 100644 --- a/config/nvim/lua/mappings.lua +++ b/config/nvim/lua/mappings.lua @@ -3,7 +3,7 @@ local map = vim.api.nvim_set_keymap map('', 'Y', 'y$', {}) -- 'Y' yank to the end of the line map('i', 'kj', '', {}) -- kj to exit insert mode map('', 'Q', '', {}) -- remove visual mode keybinding -map('n', 'sc', ':source $MYVIMRC', {}) -- source vimrc +map('n', 'sc', ':source $MYVIMRC', {}) -- source vimrc map('n', ';', 'mqA;`q', {}) -- put semicolon at the end of line map('n', 'cu', 'ct_', {}) -- common change until @@ -54,4 +54,3 @@ map('n', 'ga', ':EasyAlign', {}) map('n', '', ':Telescope git_files', {}) map('n', '', ':Telescope help_tags', {}) - diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index a37dd64..406404d 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -7,6 +7,8 @@ return require('packer').startup(function() use 'AndrewRadev/sideways.vim' -- Move arguments sideways use 'FooSoft/vim-argwrap' -- Put arguments on multiple lines use 'tpope/vim-eunuch' -- basic commands on current file (Rename/Remove) + use 'romainl/vim-cool' -- only highlight search matches when searching + -- color scheme use {'ellisonleao/gruvbox.nvim', requires = {'rktjmp/lush.nvim'}} -- status line -- cgit