Skip to content

Commit

Permalink
Pre folder to src and MakeFile
Browse files Browse the repository at this point in the history
  • Loading branch information
moacirosa committed Mar 12, 2012
1 parent ca7eac4 commit 16d7190
Show file tree
Hide file tree
Showing 14 changed files with 137 additions and 0 deletions.
30 changes: 30 additions & 0 deletions MakeFile
@@ -0,0 +1,30 @@
# Installs extensions and compiles things that need compiling.
#
#
help:
@echo "install - install + compile native things."
@echo "update - Download update for all plugins."

install: symlink submodules commandt fonts

submodules:
git submodule init
git submodule update

commandt:
cd src/bundle/Command-T/ruby/command-t/;\
/usr/bin/ruby extconf.rb;\
make clean && make

update:
git submodule foreach git pull origin master

symlink:
ln -sf ~+/src/vimrc ~/.vimrc
ln -sf ~+/src/gvimrc ~/.gvimrc
ln -sf ~+/src/vim ~/.vim

fonts:
mkdir -p /usr/share/fonts/truetype/font-install
cp bin/Monaco.ttf /usr/share/fonts/truetype/font-install/Monaco.ttf
fc-cache -fv
58 changes: 58 additions & 0 deletions src/gvimrc
@@ -0,0 +1,58 @@
"" Pathogen

call pathogen#infect()

filetype plugin on
au FileType c,vim,lisp filetype indent on


"" General settings

syntax enable

set background=dark

colorscheme solarized

set tabstop=4
set expandtab
set shiftwidth=4
set linespace=5
set autoindent
set smartindent
set nowrap
set number
set ignorecase

set guioptions-=T "remove toolbar
set guifont=Monaco

"" Some maps

nmap <silent> <F7> :NERDTreeToggle<CR>
nmap <silent> <F8> :Tlist<CR>
let mapleader = ","

"" Autocomplete

autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP

"" Syntax

au BufNewFile,BufRead *.less set filetype=less

"" Code Standard

let g:syntastic_phpcs_conf = "--standard=CakePHPPear"

if has("gui_running")
" GUI is running or is about to start.
" Maximize gvim window.
set lines=40 columns=205
endif

File renamed without changes.
Submodule command-t updated from 000000 to 07027c
Submodule delimitMate updated from 000000 to 0b34ae
File renamed without changes.
Submodule git-vim updated from 000000 to 74d01a
Submodule nerdtree updated from 000000 to 678bb2
Submodule snipmate.vim updated from 000000 to f5a75d
Submodule syntastic updated from 000000 to ed515f
Submodule taglist updated from 000000 to 53041f
Submodule vim-colors-solarized updated from 000000 to 528a59
Submodule vim-markdown updated from 000000 to 10073c
49 changes: 49 additions & 0 deletions src/vimrc
@@ -0,0 +1,49 @@
"" Pathogen

call pathogen#infect()

filetype plugin on
au FileType c,vim,lisp filetype indent on


"" General settings

syntax enable

set background=dark

colorscheme solarized

set tabstop=4
set expandtab
set shiftwidth=4
set linespace=5
set autoindent
set smartindent
set nowrap
set number
set ignorecase

"" Some maps

nmap <silent> <F7> :NERDTreeToggle<CR>
nmap <silent> <F8> :Tlist<CR>
let mapleader = ","

"" Autocomplete

autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP

"" Syntax

au BufNewFile,BufRead *.less set filetype=less

"" Code Standard

let g:syntastic_phpcs_conf = "--standard=CakePHPPear"

0 comments on commit 16d7190

Please sign in to comment.