Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "behave mswin
- highlight Cursor guifg=white guibg=black
- highlight iCursor guifg=white guibg=black
- set guicursor=n-v-c:block-Cursor
- set guicursor+=n-v-c:blinkon0
- set t_Co=256
- set autoindent
- " Here's your modeline,
- " set ts=2 sw=2 et
- set tabstop=2 shiftwidth=2 expandtab
- set noswapfile nobackup
- set nocompatible
- syntax on
- filetype plugin indent on
- set hlsearch
- set incsearch
- set ic
- set mouse=a
- set backspace=indent,eol,start whichwrap+=<,>,[,]
- runtime! macros/matchit.vim
- augroup myfiletypes
- " Clear old autocmds in group
- autocmd!
- " autoindent with two spaces, always expand tabs
- " autocmd FileType ruby,eruby,yaml set ai sw=2 sts=2 et
- " autoindent with real tabs
- " autocmd FileType cf set ai sts=0 noet
- augroup END
- "Personal Settings
- colorscheme railscasts
- "colorscheme ir_black
- "colorscheme wombat
- set guifont=consolas:h12
- set nowrap
- "Personal key bindings
- "map <C-o> :bprevious<CR>
- "map <C-i> :bnext<CR>
- "command Flow cd C:\Development\curtin-flow\flow-share\trunk | NERDTree dashlets
- " map t :NERDTreeToggle<CR>
- " let NERDTreeShowBookmarks=1
- " let NERDTreeQuitOnOpen=1
- map <Leader>f :FuzzyFinderFile!<CR>
- set pastetoggle=<F5>
- nmap <Leader>sh :source ~/.vim/vimsh/vimsh.vim<CR>
- nmap <Leader>r :!touch tmp/restart.txt<CR><CR>
- nmap <Leader>a :e #<CR>
- map <Leader>u :!ant<CR><CR>
- " Abbreviate :hide edit to :HE, maintaining file completion
- command -nargs=1 -complete=file HE hide edit <args>
- "OSX Copy/Paste
- " command Copy .w !pbcopy
- " command Paste r !pbpaste
- "Project plugin
- ":let g:proj_flags="imstvcg"
- "XML plugin
- "let xml_use_xhtml = 1
- "Windows settings
- "behave mswin
- "set lines=40 columns=110
- "Autocompletion
- if has("autocmd") && exists("+omnifunc")
- autocmd Filetype *
- \ if &omnifunc == "" |
- \ setlocal omnifunc=syntaxcomplete#Complete |
- \ endif
- endif
- set modeline
- " call pathogen#infect()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement