;ELC   
;;; Compiled
;;; in Emacs version 29.3
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307DD\310\311\312\313\314&\210\303\315\305\306\316DD\317\311\312\313\306&\207" [require evil-collection term custom-declare-variable evil-collection-term-sync-state-and-mode-p funcall function #[0 "\300\207" [t] 1 #1=""] "Synchronize insert/normal state with char/line-mode respectively.\n\nWhen non-nil, going to normal state will automatically switch to\nline-mode.  Conversely, going to insert state on the last\ncommandline will automatically switch to char-mode.\n\nWarning: This feature is experimental." :group evil-collection-term :type boolean evil-collection-term-sync-state-function #[0 "\300\207" [evil-collection-term-switch-to-char-mode-on-insert] 1 #1#] "Function used when synchronizing insert/normal state with char/line-mode.\n\nThis is only used if `evil-collection-term-sync-state-and-mode-p' is true."] 8)
(defconst evil-collection-term-maps '(term-raw-map term-mode-map))#@166 Go back to normal state but don't move cursor backwards.
Moving cursor backwards is the default Vim behavior but
it is not appropriate in some cases like terminals.
(defalias 'evil-collection-term-escape-stay #[0 "\301\300!\210\302\211\207" [evil-move-cursor-back make-local-variable nil] 2 (#$ . 1035)])#@52 Switch to `term-char-mode' and enter insert state.
(defalias 'evil-collection-term-char-mode-insert #[0 "\300 \210\301 \207" [term-char-mode evil-insert-state] 1 (#$ . 1346) nil])#@51 Maybe switch to `term-char-mode' on insert state.
(defalias 'evil-collection-term-char-mode-entry-function #[0 "\300p!\2052 \301\212db\210\302 \303 U\203 \3041 \305u0\210\202 \210\306\301!\302 ])\262`Y\2050 \307 \262\207" [get-buffer-process nil line-beginning-position line-end-position (error) -1 term-bol term-char-mode] 3 (#$ . 1531)])#@45 Switch to `term-char-mode' on insert state.
(defalias 'evil-collection-term-switch-to-char-mode-on-insert #[0 "\300p!\205 \301 \207" [get-buffer-process term-char-mode] 2 (#$ . 1882)])#@74 Sync `term-char-mode' and `term-line-mode' with insert and normal state.
(defalias 'evil-collection-term-sync-state-and-mode #[0 "\301\302\303\304$\210\301\305\306\303\304$\207" [evil-collection-term-sync-state-function add-hook evil-insert-state-entry-hook nil t evil-insert-state-exit-hook term-line-mode] 5 (#$ . 2073)])#@24 Send tab in term mode.
(defalias 'evil-collection-term-send-tab #[0 "\300\301!\207" [term-send-raw-string "	"] 2 (#$ . 2403) nil])#@36 Set up `evil' bindings for `term'.
(defalias 'evil-collection-term-setup #[0 "\301\302\303\"\210\203 \304\305\306\"\210\202 \307\305\306\"\210\304\305\310\"\210\311\303\312\313\314\315\314\316\314\317\314\320\314\321\314\322\314\323\314\324\314\325\314\326\314\327\314\330\314\331\314\332\314\333\314\334\314\335\314\336\314\337\340\341\342\343\344&.\210\345\346\347\350#\210\311\351\346\352\353\354\355\356\357\360\361&\n\210\345\346\362\363\364\365\366\363\367\365&	\210\370\371\372\"\207" [evil-collection-term-sync-state-and-mode-p evil-set-initial-state term-mode insert add-hook term-mode-hook evil-collection-term-sync-state-and-mode remove-hook evil-collection-term-escape-stay evil-collection-define-key term-raw-map "" term-send-raw "" "" "" "" "" "\f" "" "" "" "" "" "" "" "" "" "" "" "" [tab] evil-collection-term-send-tab "" term-send-eof "" term-stop-subjob evil-collection-bind term-mode-map repl-submit term-send-input normal "" evil-collection-term-char-mode-insert "p" term-paste "^" term-bol "$" term-show-maximum-output next-item term-next-prompt prev-item term-previous-prompt next-section prev-section eval-after-load multi-term #[0 "\300\301\302\303\304$\210\300\305\306\307\304$\207" [evil-collection-define-key normal term-mode-map [134217855] term-send-backward-kill-word insert term-raw-map [134217855]] 5]] 47 (#$ . 2539)])
(provide 'evil-collection-term)
