-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
executable file
·69 lines (54 loc) · 1.65 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
filetype on
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" plugins
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin indent on
call pathogen#infect('bundle/{}')
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" search
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set ignorecase
set smartcase
set hlsearch
set incsearch
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" user interface
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set noexpandtab
set smarttab
set showmatch
set autoindent
set smartindent
set wrap
set laststatus=2
set wildmenu
syntax enable
set background=light
colorscheme solarized
set cursorline
set number
set history=100
set ruler
set backspace=2
set scrolloff=8
" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif
set wildignore=*.pyc,*.swp
let g:netrw_list_hide='*\.pyc,*\.swp,'
let g:syntastic_python_pylint_post_args="--max-line-length=120"
let g:pymode_options_max_line_length=120
let g:pymode_lint_options_pep8={'max_line_length': g:pymode_options_max_line_length}
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
set runtimepath+=~/.vim/my-snippets/
let g:ultisnips_python_style="sphinx"
map <F12> :TagbarToggle<CR>
let g:ale_linters = {
\ 'python': ['flake8', 'mypy', 'pycodestyle'],
\}