if get(g:, 'loaded_tmux_focus_events', 0)
  " Override vim-tmux-focue-events command-line mappings when tmux send <F24>
  " FocusLost and <F25> FocusLost instead of to call do#sink() which does
  " nothing. This is required due to errors emitted from the
  " vim-tmux-focus-events plugin when chaning focus.
  cnoremap <silent> <F24> <C-\>edo#sink()<CR>
  cnoremap <silent> <F25> <C-\>edo#sink()<CR>
endif