aboutsummaryrefslogtreecommitdiff
path: root/vim/config/terminal.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/terminal.vim')
-rw-r--r--vim/config/terminal.vim4
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