map global insert map global insert # indentation map global insert map global insert map global insert bi map global insert wi define-command -hidden insert-char-no-hook %{ execute-keys '\i' hook -always -once window InsertChar .* %{ execute-keys '' } } define-command -hidden insert-no-hook %{ execute-keys '\i' } map global insert ': insert-char-no-hook' map global insert ': insert-no-hook'