Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible " required
- filetype off " required
- " set the runtime path to include Vundle and initialize
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- " alternatively, pass a path where Vundle should install plugins
- "call vundle#begin('~/some/path/here')
- " let Vundle manage Vundle, required
- " Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)
- Plugin 'vim-scripts/indentpython.vim'
- Plugin 'scrooloose/syntastic'
- Plugin 'nvie/vim-flake8'
- Plugin 'scrooloose/nerdtree'
- Plugin 'tpope/vim-fugitive'
- Plugin 'valloric/youcompleteme'
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- filetype plugin indent on " required
- " Enable folding
- set foldmethod=indent
- set foldlevel=99
- " Enable folding with the spacebar
- nnoremap <space> za
- set splitbelow
- set splitright
- "split navigations
- nnoremap <C-J> <C-W><C-J>
- nnoremap <C-K> <C-W><C-K>
- nnoremap <C-L> <C-W><C-L>
- nnoremap <C-H> <C-W><C-H>
- au BufNewFile,BufRead *.py
- \ set tabstop=4 |
- \ set softtabstop=4 |
- \ set shiftwidth=4 |
- \ set textwidth=79 |
- \ set expandtab |
- \ set autoindent |
- \ set fileformat=unix |
- au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
- set encoding=utf-8
- let g:ycm_autoclose_preview_window_after_completion=1
- map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
- set nu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement