2015-06-13 01:03:31 +02:00
|
|
|
set autowrite
|
|
|
|
set backspace=2
|
2016-03-19 14:20:40 +01:00
|
|
|
set encoding=utf-8
|
2015-06-13 01:03:31 +02:00
|
|
|
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>
|