Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "NeoBundle Scripts-----------------------------
- if has('vim_starting')
- if &compatible
- set nocompatible " Be iMproved
- endif
- " Required:
- set runtimepath+=/home/rustam/.vim/bundle/neobundle.vim/
- endif
- " Required:
- call neobundle#begin(expand('/home/rustam/.vim/bundle'))
- " Let NeoBundle manage NeoBundle
- " Required:
- NeoBundleFetch 'Shougo/neobundle.vim'
- " Add or remove your Bundles here:
- NeoBundle 'Shougo/neosnippet.vim'
- NeoBundle 'Shougo/neosnippet-snippets'
- NeoBundle 'tpope/vim-fugitive'
- NeoBundle 'ctrlpvim/ctrlp.vim'
- NeoBundle 'flazz/vim-colorschemes'
- NeoBundle 'bling/vim-airline'
- NeoBundle 'ervandew/supertab'
- NeoBundle 'scrooloose/nerdtree'
- " You can specify revision/branch/tag.
- NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
- " Required:
- call neobundle#end()
- " Required:
- filetype plugin indent on
- " If there are uninstalled bundles found on startup,
- " this will conveniently prompt you to install them.
- NeoBundleCheck
- "End NeoBundle Scripts-------------------------
- " Airline settings
- let g:airline_powerline_fonts = 1
- if !exists('g:airline_symbols')
- let g:airline_symbols = {}
- endif
- let g:airline_symbols.space = "\ua0"
- let g:airline_theme = "tomorrow"
- set laststatus=2
- " End Airline settings
- " Required in order to get correct colors
- colorscheme 3dglasses
- colorscheme gruvbox
- set cursorline
- "hi cursorline cterm=none ctermbg=darkgray
- set list listchars=tab:ยป\ ,trail:\ ,extends:$
- set ts=4
- set shiftwidth=4
- set number
- set smarttab
- set smartindent
- set autoindent
- set gfn=Menlo\ for\ Powerline\ 11
- set guioptions-=T
- set guioptions-=m
- " Automatically close matching brackets
- inoremap { {}<Left>
- inoremap {<CR> {<CR>}<Esc>O
- inoremap {{ {
- inoremap {} {}
- inoremap ( ()<Left>
- inoremap <expr> ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
- inoremap <expr> ' strpart(getline('.'), col('.')-1, 1) == "\'" ? "\<Right>" : "\'\'\<Left>"
- inoremap <expr> " strpart(getline('.'), col('.')-1, 1) == "\"" ? "\<Right>" : "\"\"\<Left>"
- " Delete previous word by Ctrl-Backspace
- imap <C-BS> <C-W>
- " Incremental search
- set incsearch
Advertisement
Add Comment
Please, Sign In to add comment