forked from python-mode/python-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debugvimrc.vim
32 lines (27 loc) · 836 Bytes
/
debugvimrc.vim
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
" Use this settings for testing the plugin.
"
" Run vim with command:
"
" $ vim -u ./debug.vim /my/py/file.py
"
" Only python-mode will be loaded.
" Disable all persistence between sessions.
let skip_defaults_vim=1
" TODO XXX: this nevertheless keeps viminfo enabled. As a workaround the flag
" '-i NONE' should be added to vim's loading.
set viminfo=
set nobackup
set noswapfile
" Modify vimrc configuration.
execute('set rtp+='. expand('<sfile>:p:h'))
set rtp -=$HOME/.vim
set rtp -=$HOME/.vim/after
set nocompatible
" Activate debugging.
let g:pymode_debug = 1
" Define a common shell for non Windows systems.
if ! (has('win16') || has('win32') || has('win64'))
set shell=/bin/bash
endif
" IMPORTANT: Do note that the history of this session is saved on the log file.
" See the augroup in ./ftplugin/python/pymode.vim file.