diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-02-16 22:58:17 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-02-16 22:59:22 +1300 |
commit | b9dd7a5a29cce071ca1bfdd14166774e72b127a3 (patch) | |
tree | 9bd0b682414f1692a11fefa81cb762c3673b3b87 /vim | |
parent | Add Makefile tweak for Neovim installation (diff) | |
download | dotfiles-b9dd7a5a29cce071ca1bfdd14166774e72b127a3.tar.gz dotfiles-b9dd7a5a29cce071ca1bfdd14166774e72b127a3.zip |
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.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/config/terminal.vim | 4 |
1 files changed, 3 insertions, 1 deletions
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=<F10> " 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 |