You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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
|
|
|
|
|
|
|
|
" Set beam shape in insert mode, underline shape in replace mode and block shape in normal mode.
|
|
|
|
let &t_SI = "\<Esc>[6 q"
|
|
|
|
let &t_SR = "\<Esc>[4 q"
|
|
|
|
let &t_EI = "\<Esc>[2 q"
|
|
|
|
|
|
|
|
" 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>
|