[add] cursormode's toggle

This commit is contained in:
kazukazuinaina 2020-04-15 11:45:45 +09:00
parent 7c31850381
commit 37273299f7
1 changed files with 4 additions and 0 deletions

View File

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