Add experimental vim-python package

This commit is contained in:
Fredrik Fornwall
2015-09-14 20:24:25 -04:00
parent 957060d6a3
commit 56cc582012
6 changed files with 94 additions and 0 deletions

18
packages/vim-python/vimrc Normal file
View File

@@ -0,0 +1,18 @@
set autowrite
set backspace=2
set hlsearch
set ignorecase
set incsearch
set mouse=a
set nocompatible
set smartcase
set smartindent
set title
syntax on
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
map <ScrollWheelUp> <C-Y>
imap <ScrollWheelUp> <C-X><C-Y>
map <ScrollWheelDown> <C-E>
imap <ScrollWheelDown> <C-X><C-E>