Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update gitconfig and vim key mappings

  • Loading branch information...
commit 23d16964072b51922355c26f2592e589fcea49b3 1 parent ee3543f
@kaishin authored
Showing with 7 additions and 5 deletions.
  1. +3 −3 gitconfig
  2. +4 −2 vim/vimrc/mappings.vim
View
6 gitconfig
@@ -1,12 +1,12 @@
[include]
path = .githubconfig
[user]
- name = Reda Lemeden
- email = reda@thoughtbot.com
+ name = Reda Lemeden
+ email = reda@thoughtbot.com
[core]
excludesfile = /Users/reda/.gitignore
[mergetool]
- keepBackup = true
+ keepBackup = true
[alias]
co = !git checkout
c = commit -m
View
6 vim/vimrc/mappings.vim
@@ -17,8 +17,10 @@ nmap <return> :
" Handy shortcuts
nmap <Leader>n :NERDTreeToggle<cr>
nmap <Leader>t :CommandT<cr>
-nmap <Leader>v :e $MYVIMRC<cr>
-nmap <leader>u :source $MYVIMRC<cr> :echoe "Vimrc sourced!"<cr>
+nmap <Leader>v :tabe $MYVIMRC<cr>:vsp $HOME/.vim/vimrc/mappings.vim<cr>
+nmap <leader>u :source $MYVIMRC<cr> :echoe "vimrc sourced!"<cr>
+nmap <leader>i ==
+vmap <leader>i ==
map <leader>c <c-_><c-_>
" CSS Sorting
Please sign in to comment.
Something went wrong with that request. Please try again.