You are on page 1of 2

"xulrunner192" ,v

",v
,V
".........................................................."=> Statusline"........
.................................................." Always hide the statuslineset
laststatus=2" Format the statusline"set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ C
WD:\ %r%{CurDir()}%h\ \ \ Line:\ %l/%L:%cfunction! CurDir()
let curdir = substitu
te(getcwd(), '/Users/amir/', "~/", "g")
return curdirendfunctionfunction! HasPast
e()
if &paste
return 'PASTE MODE '
else
return ''
endifendfunc
tion,V
" Format the statusline"set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{C
urDir()}%h\ \ \ Line:\ %l/%L:%c,V
o,v
n,v
if MySys() == "mac" nmap <D-j> <M-j> nmap <D-k> <M-k> vmap <D-j> <M-j> vmap <D-k
> <M-k>endif,V
else
let g:cmd_edited = substitute(g:cmd, "\\(.*\[\\\\\]\\).*\[\\\\\]",
"\\1", "")
endif,V
if MySys() == "linux" || MySys() == "mac",V
else
let g:cmd_edited = substitute(g:cmd, "\\(.*\[\\\\]\\).*", "\\1", "") en
dif,V
endf
unction,V
l:saved_reg,V
" From an idea by Michael Naumannfunction! VisualSearch(direction) range
le
t l:saved_reg = @"
execute "normal! vgvy"
let l:pattern =
escape(@", '\\/.*$^~[]')
let l:pattern = substitute(l:pattern
, "\n$", "", "")
if a:direction == 'b'
execute "normal ?" . l:pattern . "^M"
elseif a:direction == 'gv'
call CmdLine("vimgrep " .
'/'. l:pattern . '/' . '
**
/*.')
elseif a:direction =
=
'f'
execute
"normal /"
".
"l:pattern
". "^M"
endif
let
@/
=
l:pattern
let
@"
=,V
set go=,V
set noswapfile,V
set backupset backupdir=~/.vim_bak,V
set wildignore=*.swp,*.bak,V
".........................................................."=> "..................
........................................,V
".........................................................."=> Colors and fonts"..
........................................................,V
set encoding=utf-8,V
colorscheme MountainDew,V
set gfn=Monaco\ for\ Powerline,V
,v

".........................................................."=> vim user interface,


V
".........................................................."=> vim user interface"
..........................................................,V
set visualbell,V
set noerrorbells,V
set incsearch,V
set hlsearch,V
set smartcase,V
set ignorecase,V
se backspace=indent,eol,start,V
set ruler,V
"TextMate style snips,V

You might also like