aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/python.vim
blob: 185aa6e6b83f42c87a4ff88aea9a3fa699117cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if exists(':AsyncRun')
  nnoremap <buffer><silent> <F9> :<C-U>AsyncRun python -u "%"<CR>
endif

" Do not wrap Python source code.
set nowrap
set sidescroll=5
set sidescrolloff=2
set colorcolumn=100

set tabstop=4       " number of visual spaces per TAB
set softtabstop=4   " number of spaces in tab when editing
set shiftwidth=4    " number of spaces to use for autoindent
set expandtab       " expand tab to spaces so that tabs are spaces

" For delimitMate
let b:delimitMate_matchpairs = "(:),[:],{:}"