Skip to content

Commit

Permalink
Git aliases, vim cursor line and split resize key maps
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed May 16, 2018
1 parent 8a01623 commit 0ed6766
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions git/.gitconfig
Original file line number Diff line number Diff line change
@@ -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 = [email protected]
name = Matheus Peviani Vellone
[commit]
Expand Down
8 changes: 8 additions & 0 deletions vim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ set background=dark

set number
set relativenumber
set cursorline

set inccommand=split

Expand All @@ -53,6 +54,13 @@ nnoremap <leader>a gT
nnoremap <leader>sh <C-w>s
nnoremap <leader>sv <C-w>v
set fillchars+=vert:│

nnoremap <S-Down> <c-w>+
nnoremap <S-Up> <c-w>-
nnoremap <S-Left> <c-w><
nnoremap <S-Right> <c-w>>
nnoremap <leader>zw <C-w>\|<C-w>_
nnoremap <leader>zr <C-w>=
Expand Down

0 comments on commit 0ed6766

Please sign in to comment.