Browse Source

vim: Avoid customization

Starting with version 8.0 the default behaviour of vim is a lot more
user friendly.
android-5
Fredrik Fornwall 8 years ago
parent
commit
4c4f1e9709
  1. 5
      packages/neovim/sysinit.vim
  2. 14
      packages/vim-python/vimrc
  3. 14
      packages/vim/vimrc

5
packages/neovim/sysinit.vim

@ -1,8 +1,3 @@
set autowrite
set ignorecase
set smartcase
set title
" 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>

14
packages/vim-python/vimrc

@ -1,17 +1,3 @@
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>

14
packages/vim/vimrc

@ -1,17 +1,3 @@
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>

Loading…
Cancel
Save