Created
February 1, 2014 02:18
-
-
Save anonymous/8747074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set complete-=k complete+=k | |
set dictionary=~/doc/dict/python.txt | |
set expandtab | |
set hlsearch | |
set incsearch | |
set keywordprg=pydoc | |
set mouse=a | |
set nobackup | |
set novisualbell | |
set nowritebackup | |
set shiftwidth=4 | |
set showcmd | |
set smartindent | |
set title | |
hi Search cterm=None ctermfg=yellow ctermbg=black | |
syntax enable | |
nmap <F2> :!<Up><CR> | |
nmap <F3> :new<CR>:r! | |
nmap <silent> <F4> :close!<CR> | |
nmap <F5> :!python2 -i -c "from <C-R>%<C-W><C-W> import *"<CR> | |
nmap <F6> :new<CR>:r! python2 -c "from <C-R>#<C-W><C-W> import *; print()"<Left><Left> | |
nmap <F7> yiw:new<CR>:r! python2 -c "from <C-R>#<C-W><C-W> import *; print(<C-R>0())"<CR> | |
nmap <F8> :new<CR>:r! pylint <C-R>#<CR> | |
nmap <F9> :so $MYVIMRC<CR> | |
nmap ! :! | |
nmap <C-H> :help <C-R><C-W><CR> | |
inoremap <Tab> <C-P> | |
nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment