Commit Graph

7 Commits

Author SHA1 Message Date
Henrik Lissner
8bf902d5f4 General refactors & reformatting across the board 2020-06-04 20:13:28 -04:00
Henrik Lissner
e56cc98ae9 Move multi-term-buffer-name to :term term 2019-12-17 18:09:39 -05:00
Henrik Lissner
802cd5bfca Revert 5f9a630c2
manateelazycat/multi-term#2 wass merged.
2019-11-04 12:42:23 -05:00
Henrik Lissner
5f9a630c2f term/term: fix void-function tramp-tramp-file-p error
multi-term uses tramp functions before tramp is loaded.

Remove this once manateelazycat/multi-term#2 is merged.
2019-10-21 16:23:44 -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
4fec3eb698 Revise term/vterm/eshell commands & keybinds
The semantics of SPC o t and SPC o T (or SPC o e and SPC o E in eshell's
case) have been reversed.

The lowercase keybind toggles the popup (and the prefix arg forciby
recreates the popup), and the uppercase keybind switches to that
terminal in the current buffer (whose prefix arg will open the terminal
in default-directory, rather than the project root).

- +{term,vterm,eshell}/open have been replaced with +X/here commands and
  are bound to SPC o T (and SPC o E in eshell's case).
- +{term,vterm,eshell}/popup* have been replaced with +x/toggle commands
  and are bound to SPC o t (and SPC o e in eshell's case).

The "toggle" behavior will do as the name implies, except will select
the popup if it is visible but unfocused.
2019-06-11 07:53:50 +02:00
Henrik Lissner
8c65a63b1c Move eshell, term & vterm modules to :term 2019-05-19 02:17:59 -04:00