From 0ed67663fb9bef757ea13f0c5aa6c5ba72d336c9 Mon Sep 17 00:00:00 2001 From: Matheus Peviani Vellone Date: Wed, 16 May 2018 00:43:35 -0300 Subject: [PATCH] Git aliases, vim cursor line and split resize key maps --- git/.gitconfig | 10 +++++----- vim/init.vim | 8 ++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/git/.gitconfig b/git/.gitconfig index aea8450..dcffd6e 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,15 +1,15 @@ [alias] - # List aliases aliases = config --get-regexp alias - # Amend the currently staged files to the latest commit amend = commit --amend --reuse-message=HEAD - # View the current working tree status using the short format - s = status -s - + s = status a = add + ap = add -p + pf = push origin HEAD --force-with-lease + po = pull origin HEAD --rebase [user] + signingkey = AAD459565BD6239C email = matheusvellone@hotmail.com name = Matheus Peviani Vellone [commit] diff --git a/vim/init.vim b/vim/init.vim index 7ad69b3..e1b3fe9 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -33,6 +33,7 @@ set background=dark set number set relativenumber +set cursorline set inccommand=split @@ -53,6 +54,13 @@ nnoremap a gT nnoremap sh s nnoremap sv v +set fillchars+=vert:│ + +nnoremap + +nnoremap - +nnoremap < +nnoremap > + nnoremap zw \|_ nnoremap zr =