Skip to content

Commit

Permalink
togglecursor: make it think we're not in tmux
Browse files Browse the repository at this point in the history
This fixes jszakmeister/vim-togglecursor#43
with tmux 3.1_c.
  • Loading branch information
lilydjwg committed Dec 5, 2020
1 parent 311eeb5 commit 22e8083
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pack/general/start/togglecursor/plugin/togglecursor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ let s:xterm_blinking_block = "\<Esc>[0 q"
let s:xterm_blinking_line = "\<Esc>[5 q"
let s:xterm_blinking_underline = "\<Esc>[3 q"

let s:in_tmux = exists("$TMUX")
" This fixes https://github.com/jszakmeister/vim-togglecursor/issues/43
let s:in_tmux = 0

" Detect whether this version of vim supports changing the replace cursor
" natively.
Expand Down

0 comments on commit 22e8083

Please sign in to comment.