Merge pull request #2116 from kazukazuinaina/add_cursormode_toggle

[add] cursormode's toggle
This commit is contained in:
Christian Brabandt 2020-04-17 09:38:51 +02:00 committed by GitHub
commit 0074044413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@
scriptencoding utf-8
if !exists('g:loaded_cursormode')
finish
endif
let s:is_win = has('win32') || has('win64')
let s:is_iTerm = exists('$TERM_PROGRAM') && $TERM_PROGRAM =~# 'iTerm.app'
let s:is_AppleTerminal = exists('$TERM_PROGRAM') && $TERM_PROGRAM =~# 'Apple_Terminal'