Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Few minor changes

  • Loading branch information...
commit 85b0d8ac7ba1fdfc22ef6237fd814f865d0778e3 1 parent 90608fd
Andrey Paramonov authored
Showing with 6 additions and 6 deletions.
  1. +1 −1  .gitconfig
  2. +5 −5 .vimrc
2  .gitconfig
View
@@ -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
10 .vimrc
View
@@ -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
" ------------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.