mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-12 15:50:13 +08:00
[add] cursormode's toggle
This commit is contained in:
1 parent
7c31850381
commit
37273299f7
1 file changed
+4
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user