Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- call pathogen#infect()
- call pathogen#helptags()
- let mapleader = ","
- set nocompatible
- set smartindent
- set autoindent
- set hlsearch
- set incsearch
- set showmatch
- set showcmd " display incomplete commands
- set ruler " show the cursor position all the time
- set cursorline
- syntax on
- colorscheme desert
- set background=dark
- filetype on " enables filetype detection
- filetype plugin on " enables filetype specific plugins
- filetype indent on
- set tabstop=4
- set shiftwidth=4
- set expandtab
- set softtabstop=4
- set scrolloff=3 " keep three lines at the bottom or top
- set colorcolumn=80,81,82
- highlight ColorColumn ctermbg=darkgrey guibg=#313131
- highlight clear SignColumn " Make GitGutter look nice
- nmap ,, :tabnew<CR>
- nmap ,. :tabnext<CR>
- nmap ., :tabpre<CR>
- " run current file in python
- nmap rr :!python %<CR>
- " run the tests of the file
- nmap rt :!python tests\test_%<CR>
- "PYTHON-MODE OPTIONS
- " Enable python folding
- let g:pymode_folding = 0
- " Switch pylint, pyflakes, pep8, mccabe code-checkers
- " Can have multiply values "pep8,pyflakes,mcccabe"
- let g:pymode_lint_checker = "pep8,pyflakes"
- " Run linter on the fly
- let g:pymode_lint_onfly = 0
- " Minimal height of pylint error window
- let g:pymode_lint_minheight = 1
- " Load run code plugin
- let g:pymode_run = 1
- autocmd InsertEnter * :set number
- autocmd InsertLeave * :set relativenumber
- "enaml
- autocmd BufNewFile,BufRead,BufEnter *.enaml setfiletype enaml
- "no icon bar
- set guioptions-=T
- autocmd QuickFixCmdPost *grep* cwindow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement