-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
In the plugin code,
" When Tmux 'focus-events' option is on, Tmux will send <Esc>[O when the
" window loses focus and <Esc>[I when it gains focus.
exec "set <F24>=\<Esc>[O"
exec "set <F25>=\<Esc>[I"
where we have a normal map
nnoremap <silent> <F24> :silent doautocmd <nomodeline> FocusLost %<CR>
nnoremap <silent> <F25> :doautocmd <nomodeline> FocusGained %<CR>
However, I would like to use <F24>
for another mapping. In some terminals (e.g. xterm-256color) & neovim environments, <F24>
is <Shift-F12>
. As this plugin reserves for <Esc>[O
, I cannot map custom commands to <Shift-F12>
. Is the choice of or compulsory, or can we use another special key sequence?
Metadata
Metadata
Assignees
Labels
No labels