nvim-config

Log | Files | Refs | Submodules | README

commit 8b14ccac26123fd6f32c91fac01364c0d8a2579a
parent 6294936a504e83a99bb8d85690557ed2433169dd
Author: Thomas Vigouroux <tomvig38@gmail.com>
Date:   Sat,  1 May 2021 10:59:35 +0200

feat: add mapping for cnext and cprev

Diffstat:
Mafter/plugin/mappings.vim | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/after/plugin/mappings.vim b/after/plugin/mappings.vim @@ -1,4 +1,4 @@ -" Last Change: 2020 Nov 30 +" Last Change: 2021 May 01 vnoremap <silent> < <gv vnoremap <silent> > >gv @@ -25,6 +25,9 @@ nnoremap <silent> <Leader><Leader> <C-^> nnoremap <silent> <C-O> <C-O>zz nnoremap <silent> <C-I> <C-I>zz +nnoremap ]c <cmd>cnext<CR> +nnoremap [c <cmd>cprevious<CR> + " Got from https://prettier.io/docs/en/vim.html nnoremap gp :silent %!prettier --stdin-filepath % --trailing-comma all --single-quote<CR>