Created
June 22, 2012 15:53
-
-
Save ulmen/2973648 to your computer and use it in GitHub Desktop.
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
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" My Bundles here: | |
" | |
" original repos on github | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'tpope/vim-rails.git' | |
Bundle 'The-NERD-Commenter' | |
Bundle 'The-NERD-tree' | |
Bundle 'ack.vim' | |
Bundle 'bufexplorer.zip' | |
Bundle 'vim-coffee-script' | |
Bundle 'L9' | |
Bundle 'FuzzyFinder' | |
Bundle 'ctrlp.vim' | |
Bundle 'SuperTab-continued.' | |
Bundle 'snipMate' | |
Bundle 'Lokaltog/vim-powerline' | |
Bundle 'molokai' | |
Bundle 'sickill/vim-monokai' | |
Bundle 'Solarized' | |
filetype plugin indent on " required! | |
" | |
" Brief help | |
" :BundleList - list configured bundles | |
" :BundleInstall(!) - install(update) bundles | |
" :BundleSearch(!) foo - search(or refresh cache first) for foo | |
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" NOTE: comments after Bundle command are not allowed.. | |
colorscheme monokai | |
" Indents | |
set autoindent " Включить автоотступы | |
set smartindent " Включаем "умные" отспупы ( например, автоотступ после {) | |
set shiftwidth=2 " длинна отступов | |
set expandtab | |
" remove whitespaces unneeded | |
autocmd BufWritePre * :%s/\s\+$//e | |
" настраиваем командную строку | |
set wildmenu " матерое автодополнение как в zsh | |
set showcmd " Показывать незавершённые команды в статусбаре | |
set number | |
" подсветить позицию курсора | |
set cursorline | |
" rvm fix | |
set shell=/bin/sh | |
if has("gui_running") | |
set guifont=Monaco\ for\ Powerline:h12 | |
set guioptions=egmrt | |
endif | |
iab RuL ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0 | |
" NERDCommenter bindings | |
map " <plug>NERDCommenterToggle | |
vmap " <plug>NERDCommenterToggle | |
" open NERDTree on vim start | |
autocmd vimenter * NERDTree | |
" closes vim if the only window left open is a NERDTree | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif | |
" NERDTree bindings | |
map <F9> :NERDTreeToggle<CR> | |
imap <F9> <Esc>:NERDTreeToggle<CR> | |
" Ack search - Command+Shift+F | |
map <D-F> :Ack<space> | |
" Powerline | |
let g:Powerline_symbols = 'fancy' |
куски твоего есть, ага )
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
это ж реинкарнация моего конфига))