From 4cd55ff5f74786b948e27a5945d645fdfea28957 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sat, 24 Jun 2023 13:30:26 +0200 Subject: [PATCH] vim: add git binding --- files/vim/.vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/vim/.vimrc b/files/vim/.vimrc index 09c56a3..30cbf77 100644 --- a/files/vim/.vimrc +++ b/files/vim/.vimrc @@ -16,13 +16,13 @@ call plug#begin() Plug 'tpope/vim-sleuth' " heuristic file indendation Plug 'jiangmiao/auto-pairs' " pair completion Plug 'tpope/vim-fugitive' " git wrapper -Plug 'tpope/vim-commentary' +Plug 'tpope/vim-commentary' " DWIM comments Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' Plug 'sainnhe/everforest' " color scheme -Plug 'vim-airline/vim-airline' " a nicer status line +Plug 'vim-airline/vim-airline' " nicer status line Plug 'vim-airline/vim-airline-themes' " auto settings theme for airline Plug 'autozimu/LanguageClient-neovim', { @@ -124,6 +124,8 @@ command! -bang -nargs=* GGrep map :GFiles map :GGrep +cabbrev g Git + fun! TrimWhitespace() let l:save = winsaveview() keeppatterns %s/\s\+$//e