From a00733dd1913c15a4e266da99b4d9f1463bd5fc5 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Wed, 3 May 2017 22:57:12 +0300 Subject: [PATCH] Restore mouse mode (when running under X11) https://github.com/neovim/neovim/commit/81525dc5c35c350c1e7e29c625368263cc8b3e33 *sighs* --- neostrophic.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neostrophic.vim b/neostrophic.vim index 19967fa..956c414 100644 --- a/neostrophic.vim +++ b/neostrophic.vim @@ -164,9 +164,10 @@ set numberwidth=3 " Disable preview by default, because it is annoying imo set completeopt-=preview -" Use X11 clipboard +" Use X11 clipboard and set up other display related settings if $DISPLAY != '' set clipboard+=unnamedplus + set mouse+=a endif " Search options