mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 04:34:26 +08:00
[add] cursormode's toggle
This commit is contained in:
@@ -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