From cfcdd908b641348b1dd3794444512593b69ac7b8 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 22 Nov 2023 10:16:42 -0500 Subject: [PATCH] Move nvim-only keybinds to correct config --- configs/nvim/init.vim | 5 +++++ configs/vim/.vimrc | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/nvim/init.vim b/configs/nvim/init.vim index 60e7b49..8347f88 100644 --- a/configs/nvim/init.vim +++ b/configs/nvim/init.vim @@ -30,6 +30,11 @@ endif " Enable Leap lua require('leap').add_default_mappings() +" VSCode-style comment toggling +nnoremap :Commentary +vnoremap :Commentary +inoremap :Commentary + " Custom functions function! MkdirAndWrite() let dir = expand('%:p:h') diff --git a/configs/vim/.vimrc b/configs/vim/.vimrc index 275dd4a..73ea498 100644 --- a/configs/vim/.vimrc +++ b/configs/vim/.vimrc @@ -27,11 +27,6 @@ inoremap inoremap lcw nnoremap cwl -" VSCode-style comment toggling -nnoremap :Commentary -vnoremap :Commentary -inoremap :Commentary - " Force VIM to use system clipboard set clipboard=unnamedplus