Commit graph

7 commits

Author SHA1 Message Date
Itai Y. Efrat
7933e54542 refactor!(:term): toggle commands now always hide
BREAKING CHANGE: previously, <leader> o t commands would only hide the
terminal popup if it was focused. If not, they would move the focus to
the terminal window. This is unintuitive to the "toggle" description,
and arguably less useful, since refocusing to the terminal can be easily
done with regular window refocus commands. Therefore, <leader> o t now
just hides the terminal popup.

Fix #3374
2021-09-23 11:39:36 +02:00
Henrik Lissner
f0abb3264c
Fix #2014: +shell/here doesn't execute COMMAND 2020-01-01 22:47:59 -05:00
Henrik Lissner
aa19eeed0f
Fix #2100: shell modeline doesn't stay hidden 2019-11-22 13:17:06 -05:00
Henrik Lissner
0212bb95f8
term/shell: fix void-variable dir #2095 2019-11-21 13:54:37 -05:00
Henrik Lissner
6647ebc736
term/shell: fix void-variable buffer error on +shell/toggle 2019-08-05 11:29:22 -04:00
Henrik Lissner
149b2617b0
💥 revise hook/var fns naming convention (2/2)
This is second of three big naming convention changes. In this commit,
we change the naming conventions for hook functions and variable
functions:

1. Replace the bar | to indicate a hook function with a -h suffix, e.g.

     doom|init-ui -> doom-init-ui-h
     doom|run-local-var-hooks -> doom-run-local-var-hooks-h

2. And add a -fn suffix for functions meant to be set on variables,
   e.g.

     (setq magit-display-buffer-function #'+magit-display-buffer-fn)

See ccf327f8 for the reasoning behind these changes.
2019-07-22 02:30:38 +02:00
Henrik Lissner
4ebd3fad7f
Add :term shell module 2019-07-13 13:00:24 +02:00