Permalink
Browse files

Few minor changes

  • Loading branch information...
1 parent 90608fd commit 85b0d8ac7ba1fdfc22ef6237fd814f865d0778e3 Andrey Paramonov committed Sep 24, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 .gitconfig
  2. +5 −5 .vimrc
View
2 .gitconfig
@@ -11,6 +11,6 @@
df = diff
sb = show-branch
lg = log -p
- k = log --pretty=oneline --graph
+ k = log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev=8
[rerere]
enabled = 1
View
10 .vimrc
@@ -9,9 +9,6 @@
"
" ------------------------------------------------------------------------------
-filetype off
-call pathogen#infect()
-filetype plugin indent on
syntax on
set nocompatible
@@ -57,7 +54,7 @@ set statusline=%f\ %m\ %r\ Line:%l/%L[%p%%]\ Col:%v\ Buf:#%n\ [%b][0x%B]
" the text and replacing it
set cpoptions+=$
-" Shoe line numbers
+" Show line numbers
set number
" Add the unnamed register to the clipboard
@@ -66,7 +63,7 @@ set clipboard+=unnamed
" Search options
set ignorecase
set smartcase
-set gdefault
+"set gdefault
set incsearch
set showmatch
set hlsearch
@@ -111,6 +108,9 @@ nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
+" Write the file you don't have permissions to
+cmap w!! w !sudo tee > /dev/null %
+
" ------------------------------------------------------------------------------
" GUI settings
" ------------------------------------------------------------------------------

0 comments on commit 85b0d8a

Please sign in to comment.