From b6033cb4d46e2c16c6066f795b34854b3285a6a6 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 9 May 2017 17:38:01 -0400 Subject: [PATCH] Work around deficiencies in nvim --- plugin/sensible.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugin/sensible.vim b/plugin/sensible.vim index 2fcbc86..1880208 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -5,7 +5,7 @@ if exists('g:loaded_sensible') || &compatible finish else - let g:loaded_sensible = 1 + let g:loaded_sensible = 'yes' endif if has('autocmd') @@ -24,8 +24,10 @@ set smarttab set nrformats-=octal -set ttimeout -set ttimeoutlen=100 +if !has('nvim') + set ttimeout + set ttimeoutlen=100 +endif set incsearch " Use to clear the highlighting of :set hlsearch.