Created
February 14, 2010 15:35
-
-
Save tomgullo/304093 to your computer and use it in GitHub Desktop.
vim
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
let maplocalleader = "," | |
let mapleader = "," | |
set number | |
set nowrap | |
syntax on | |
filetype plugin indent on | |
colorscheme koehler | |
set guioptions-=T | |
set ts=4 | |
set sw=4 | |
set sts=4 | |
"set expandtab | |
imap ;so System.out.println();<left><left> | |
set backupdir=/tmp | |
set directory=/tmp | |
imap <C-s> <esc>:w<cr>a | |
map <C-s> :w<cr> | |
noremap <Leader>s :update<CR> | |
imap jj <Esc> | |
set smartindent | |
set autoindent | |
set ic | |
set scs | |
set incsearch | |
set hls | |
set et | |
au GUIEnter * set lines=52 columns=170 | |
let clj_highlight_builtins = 1 | |
let clj_highlight_contrib = 1 | |
let clj_paren_rainbow = 1 | |
let vimclojure#NailgunClient = "/home/tom/development/vimclojure-2.1.2/ng" | |
let clj_paren_rainbow=1 | |
let clj_want_gorilla = 1 | |
nmap <F8> :NERDTreeToggle <CR> | |
nmap <F2> :FufFile <CR> | |
nmap <F3> :FufBuf <CR> | |
let g:sparkupNextMapping = '<c-x>' | |
nmap <Esc>h <C-w>h | |
nmap <Esc>l <C-w>l | |
nmap <Esc>j <C-w>j | |
nmap <Esc>k <C-w>k | |
nnoremap <leader><space> :noh<cr> |
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
filetype off | |
call pathogen#helptags() | |
call pathogen#runtime_append_all_bundles() | |
let maplocalleader = "," | |
let mapleader = "," | |
set number | |
set nowrap | |
syntax on | |
filetype plugin indent on | |
colorscheme koehler | |
set guioptions-=T | |
set ts=4 | |
set sw=4 | |
set expandtab | |
imap ;so System.out.println();<left><left> | |
imap <ht <html></html><left><left><left><left><left><left><left> | |
set backupdir=/tmp | |
set directory=/tmp | |
imap <C-s> <esc>:w<cr>a | |
map <C-s> :w<cr> | |
noremap <Leader>s :update<CR> | |
imap jj <Esc> | |
set smartindent | |
set autoindent | |
set ic | |
set scs | |
set incsearch | |
set hls | |
au GUIEnter * set lines=52 columns=170 | |
let clj_highlight_builtins = 1 | |
let clj_highlight_contrib = 1 | |
let clj_paren_rainbow = 1 | |
let vimclojure#NailgunClient = "/home/tom/development/vimclojure-2.1.2/ng" | |
let clj_paren_rainbow=1 | |
let clj_want_gorilla = 1 | |
nmap <F8> :NERDTreeToggle <CR> | |
nmap <F2> :FufFile <CR> | |
nmap <F3> :FufBuffer <CR> | |
nmap <Esc>h <C-w>h | |
nmap <Esc>l <C-w>l | |
nmap <Esc>j <C-w>j | |
nmap <Esc>k <C-w>k | |
nnoremap <leader><space> :noh<cr> | |
let g:sparkup = '~/.vim/bundle/sparkup/' | |
filetype off | |
filetype indent plugin on |
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
#!/usr/bin/env ruby | |
git_bundles = [ | |
"git://github.com/rstacruz/sparkup.git", | |
"git://github.com/scrooloose/nerdtree.git", | |
"git://github.com/ervandew/supertab.git", | |
"git://github.com/vim-scripts/FuzzyFinder.git", | |
] | |
vim_org_scripts = [ | |
["l9", "3252", "plugin"], | |
] | |
require 'fileutils' | |
require 'open-uri' | |
bundles_dir = File.join(File.dirname(__FILE__), "bundle") | |
FileUtils.cd(bundles_dir) | |
puts "Trashing everything (lookout!)" | |
Dir["*"].each {|d| FileUtils.rm_rf d } | |
git_bundles.each do |url| | |
dir = url.split('/').last.sub(/\.git$/, '') | |
puts " Unpacking #{url} into #{dir}" | |
`git clone #{url} #{dir}` | |
FileUtils.rm_rf(File.join(dir, ".git")) | |
end | |
vim_org_scripts.each do |name, script_id, script_type| | |
puts " Downloading #{name}" | |
local_file = File.join(name, script_type, "#{name}.vim") | |
FileUtils.mkdir_p(File.dirname(local_file)) | |
File.open(local_file, "w") do |file| | |
file << open("http://www.vim.org/scripts/download_script.php?src_id=#{script_id}").read | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment