summary refs log tree commit diff
path: root/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-02-09 13:37:48 -0500
committerJune McEnroe <programble@gmail.com>2016-02-09 13:37:48 -0500
commitd01ec487366d13c47a1e98e8bbfa2427b058a810 (patch)
tree7016d9451f6e0914f9f8d05d6b5d514b1df78fb0 /.config/nvim
parentAlways render fonts with thin strokes (diff)
downloadsrc-d01ec487366d13c47a1e98e8bbfa2427b058a810.tar.gz
src-d01ec487366d13c47a1e98e8bbfa2427b058a810.zip
Map scroll wheel in nvim
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index bfb3ddc2..863c12c4 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -17,6 +17,9 @@ noremap \ ,
 let mapleader = ','
 nmap <leader>n :nohlsearch<CR>
 
+map <ScrollWheelUp> <C-Y>
+map <ScrollWheelDown> <C-E>
+
 set background=dark
 let $NVIM_TUI_ENABLE_TRUE_COLOR = 1
 let g:gruvbox_italic = 0