Add Shift-scroll for single-line scrolling
This commit is contained in:
parent
770f21037e
commit
2b178e6cf3
1 changed files with 7 additions and 0 deletions
7
vimrc
7
vimrc
|
@ -49,6 +49,13 @@ nnoremap <up> <nop>
|
|||
nnoremap gB :bprevious<CR>
|
||||
nnoremap gb :bnext<CR>
|
||||
|
||||
map <C-ScrollWheelDown> <C-F>
|
||||
map <C-ScrollWheelUp> <C-B>
|
||||
map <S-ScrollWheelDown> <C-E>
|
||||
map <S-ScrollWheelUp> <C-Y>
|
||||
map <ScrollWheelDown> 3<C-E>
|
||||
map <ScrollWheelUp> 3<C-Y>
|
||||
|
||||
" Text wrapping and margin settings. Setting tw=72 is ideal for emails or
|
||||
" anything that will be read in a Terminal, while tw=100 is better for code or
|
||||
" for general text that will be viewed in a GUI. If printing, an A4-sized page
|
||||
|
|
Loading…
Reference in a new issue