termux-packages/packages/vim-python/vimrc
Fredrik Fornwall a9cd51d257 vim: Remove cursor shapes
Not every terminal emulator supports cursor shapes. Fixes #641.
2017-01-01 18:14:25 -05:00

20 lines
379 B
VimL

set autowrite
set backspace=2
set encoding=utf-8
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>