Last active
May 22, 2016 12:55
-
-
Save diegograssato/491275ec17e00e12cfbc46438376b0b7 to your computer and use it in GitHub Desktop.
My VIMRC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/.vim/bundle | |
cd ~/.vim/bundle | |
git clone https://github.com/StanAngeloff/php.vim.git | |
vi ~/.vimrc | |
set backspace=2 " backspace in insert mode works like normal editor | |
syntax on " syntax highlighting | |
filetype indent on " activates indenting for files | |
set autoindent " auto indenting | |
"set number " line numbers | |
colorscheme darkblue " colorscheme desert/darkblue | |
set nobackup " get rid of anoying ~file | |
set ignorecase " Ignore case when searching | |
set hlsearch " Highlight search results | |
set smartcase " When searching try to be smart about cases | |
set encoding=utf8 " Set utf8 as standard encoding and en_US as the standard language | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Files, backups and undo | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Turn backup off, since most stuff is in SVN, git et.c anyway... | |
set nobackup | |
set nowb | |
set noswapfile | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set laststatus=2 "black status line at bottom of window | |
if has("win32") | |
set statusline=%<%f%h%m%r%=%{strftime(\"%I:%M:%S\ \%p,\ %a\ %b\ %d,\ %Y\")}\ %{&ff}\ %l,%c%V\ %P | |
else | |
set statusline=%<%f%h%m%r%=%{strftime(\"%l:%M:%S\ \%p,\ %a\ %b\ %d,\ %Y\")}\ %{&ff}\ %l,%c%V\ %P | |
set pheader=%<%f%h%m\ %40{strftime(\"%c\",getftime(expand(\"%%\")))}%=Page\ %N | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment