From b9dd7a5a29cce071ca1bfdd14166774e72b127a3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 16 Feb 2018 22:58:17 +1300 Subject: Check for 'esckeys' option for NeoVim NeoVim v0.2.3-708-g77286915a no longer includes this option, and raises an error if I try to set it. --- vim/config/terminal.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/config/terminal.vim b/vim/config/terminal.vim index 202705a7..04ec5653 100644 --- a/vim/config/terminal.vim +++ b/vim/config/terminal.vim @@ -7,7 +7,9 @@ set pastetoggle= " Don't bother about checking whether Escape is being used as a means to enter " a Meta-key combination, just register Escape immediately -set noesckeys +if exists('+esckeys') + set noesckeys +endif " Don't bother drawing the screen while executing macros or other automated or " scripted processes, just draw the screen as it is when the operation -- cgit v1.2.3