termux-packages/packages/neovim/init.vim

15 lines
309 B
VimL
Raw Normal View History

2015-06-13 01:03:31 +02:00
set autowrite
set ignorecase
set smartcase
set title
2016-11-28 13:29:57 +01:00
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
2015-06-13 01:03:31 +02:00
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>