summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-02-09 13:37:48 -0500
committerJune McEnroe <june@causal.agency>2016-02-09 13:37:48 -0500
commita013a845a3836d67b6ea438712e62679c696a123 (patch)
tree3cc09725b8052968e8edf211a722792baf62cc7b
parentAlways render fonts with thin strokes (diff)
downloadsrc-a013a845a3836d67b6ea438712e62679c696a123.tar.gz
src-a013a845a3836d67b6ea438712e62679c696a123.zip
Map scroll wheel in nvim
Diffstat (limited to '')
-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