Update vimrc and zshrc

This commit is contained in:
Rob Watson 2021-04-19 10:10:47 +02:00
parent 8d9afa4ef2
commit bdb7203f05
2 changed files with 2 additions and 0 deletions

1
vimrc
View File

@ -160,6 +160,7 @@ nnoremap <leader>as :Gstatus<cr>
nnoremap <leader>ac :Commits<cr>
nnoremap <leader>ah :GitGutterLineHighlightsToggle<cr>
nnoremap <leader>aY :call CopyGitURLToLineOrRange()<cr>
vnoremap <leader>aY :call CopyGitURLToLineOrRange()<cr>
nnoremap <leader>ao :call OpenGitURLToLineOrRange()<cr>
" echo filename of current buffer:

1
zshrc
View File

@ -54,6 +54,7 @@ bindkey '^r' history-incremental-search-backward
alias be="bundle exec"
alias berc="bundle exec rails console"
alias bers="bundle exec rails server"
alias berspec="bundle exec rspec --no-profile"
alias c-="cd -"
alias c.="cd .."
alias cdg=cdgit