Commit Graph

49 Commits

Author SHA1 Message Date
aedb7742d3 Bump :term
akermu/emacs-libvterm@797357b -> akermu/emacs-libvterm@01a1332
szermatt/emacs-bash-completion@d47edb9 -> szermatt/emacs-bash-completion@65e54c6
2020-10-13 01:03:51 -04:00
7877c92809 Docs: Fix typo: vterm-module.sh -> vterm-module.so 2020-08-24 20:46:15 -07:00
38a95f7e58 Bump :term vterm
akermu/emacs-libvterm@422ffe0 -> akermu/emacs-libvterm@797357b

akermu/emacs-libvterm#373 was merged

Fixes #3683
2020-08-13 17:02:15 -04:00
c7bfbafdcc Tempfix #3683: vterm not building on emacsgcc
Remove this when akermu/emacs-libvterm#363 is resolved.
2020-08-04 14:03:06 -04:00
6cd601cf0f remove warning message of optional vterm dependency
libvterm is an optional dependency per emacs-libvterm
2020-07-12 14:24:44 -05:00
c0d208965d Merge pull request #3073 from yangsheng6810/develop
Allow +vterm/toggle to open remotely
2020-05-09 02:24:19 -04:00
6c4e2d08d4 Move the function back and rename 2020-05-09 01:06:19 -05:00
39ce0c844b Extract implementation to a separate function 2020-05-09 00:53:10 -05:00
50bf06a57a Allow +vterm/toggle to open remotely
When `default-directory` is remote, prepare the toggled vterm at remote
location.
2020-05-09 00:38:25 -05:00
cbd4ca7b47 Bump :term vterm
akermu/emacs-libvterm@8f00dc9 -> akermu/emacs-libvterm@422ffe0
2020-05-08 15:56:41 -04:00
315ce7974b Bump :term vterm
akermu/emacs-libvterm@e63bd65 -> akermu/emacs-libvterm@8f00dc9
2020-05-07 03:16:21 -04:00
9b1b8e2774 Bump :term
akermu/emacs-libvterm@aa512b8 -> akermu/emacs-libvterm@e63bd65

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:29:34 -04:00
309e71eea7 term/vterm: mention vterm-module-cmake-args in readme 2020-04-24 02:36:44 -04:00
346a90c95d Refactor vterm module 2020-04-23 23:28:47 -04:00
efb30ac5a5 Bump :term vterm
akermu/emacs-libvterm@996c535 -> akermu/emacs-libvterm@aa512b8
2020-04-17 22:13:30 -04:00
b3f3aa6dd3 Bump to akermu/emacs-libvterm@996c535
From akermu/emacs-libvterm@b9bccf3
2020-03-27 16:52:55 -04:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
535a0e753c Autoload vterm and vterm-mode 2020-03-04 17:17:47 -05:00
532a31f4fe Fix +vterm/{toggle,here}... ... ...again 2020-03-04 17:10:07 -05:00
9ce3f6df87 Fix +vterm/{toggle,here}... again 2020-03-04 16:52:14 -05:00
f1f1609021 Fix void-function vterm-mode 2020-03-04 16:45:19 -05:00
cee3010d2a Fix +vterm/* commands spawning new buffer each time 2020-03-04 16:32:22 -05:00
5f98e12b0e Fix #2608: +vterm/here opening in popup
Due to akermu/emacs-libvterm@a9ec753
2020-03-03 15:44:11 -05:00
e694569482 Bump to akermu/emacs-libvterm@b9bccf3
akermu/emacs-libvterm@4fbf8f8
2020-02-28 02:38:20 -05:00
1fe584fc21 address feedback 2020-02-22 21:42:04 -05:00
bfd6d5ede8 vterm returns to where it was entering insert 2020-02-22 19:10:19 -05:00
f7445a10db General refactor & reformatting across the board 2020-02-18 22:56:47 -05:00
5b242c73bb Bump to akermu/emacs-libvterm@4fbf8f8 2020-01-31 13:01:10 -05:00
58c6aea7c5 Bump to akermu/emacs-libvterm@a970b4f472 2020-01-30 17:38:12 -05:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
520fefbd0f Prevent premature h-scrolling in vterm buffers 2020-01-12 20:05:26 -05:00
146e9a1acf vterm: adapt to new function signature
emacs-libvterm@376db7cf416 had a breaking change for
`vterm-exit-functions` which sends the event as the second argument.
2019-12-09 14:50:28 -08:00
996188250b Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
323e0adf45 Minor refactors & reformatting across the board 2019-10-17 01:47:58 -04:00
2485123164 term/{eshell,vterm}: remove already in * buffer check
Allows users to spawn additional eshell/vterm buffers, if they like.
2019-08-22 14:44:14 -04:00
0c7e6261e8 term/vterm: don't reset vterm popup 2019-08-11 02:05:09 -04:00
19ecf8e46a Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
76cacb5bfe 💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
703b58f325 term/*: conform to new conventions 2019-07-23 00:07:14 +02:00
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
648e81f765 term/vterm: remove evil config
It's been implemented in evil-collection-vterm.
2019-07-06 23:22:28 +02:00
0eeb6b5092 term/vterm: add nixos recipes to README 2019-07-05 20:11:25 +02:00
63883d575b term/vterm: prefer built-in vterm to elpa
If it's present. Particularly useful for nix-os users who install
Emacs+vterm with this statement:

  systemPackages = with pkgs; [
    ((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [
      epkgs.emacs-libvterm
    ]))
  ];

Or with home-manager:

  programs.emacs = {
    enable = true;
    extraPackages = epkgs: [ epkgs.emacs-libvterm ];
  };
2019-07-05 20:04:42 +02:00
9c842bfad8 Open term popups in current dir, instead of project-root
CDing into the project root can be accomplished with external tools, e.g.

  cd $(git rev-parse --show-toplevel)
  cd $(hg root)
  cd $(npm root)

Any of which could be aliased. Also, +vterm/toggle and term/toggle
define the PROOT environment variable, so `cd $PROOT` will work too.

On the other hand, CDing to the current file/folder requires that the
shell be made aware of the file/directory of some Emacs state, which is
a little trickier to deal with, so I made that the default behavior for
+term/toggle, +vterm/toggle and +eshell/toggle.
2019-06-17 19:25:17 +02:00
43615c4d64 Integrate term toggle commands w/ persp-mode #1492
By namespacing the dedicated term buffers you get perspective-local
popup terminals.
2019-06-16 19:16:23 +02:00
b2da28edfe Revert to initial evil state on term popup toggle
i.e. switch to insert state and move cursor to prompt.
2019-06-12 20:17:47 +02:00
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
8c65a63b1c Move eshell, term & vterm modules to :term 2019-05-19 02:17:59 -04:00