Commit Graph

53 Commits

Author SHA1 Message Date
Henrik Lissner
6ea11d0c94 Bump :term
akermu/emacs-libvterm@fb12d7f -> akermu/emacs-libvterm@a3fadd2
akreisher/eshell-syntax-highlighting@6cc32ee -> akreisher/eshell-syntax-highlighting@172c9fb
2021-02-11 22:31:17 -05:00
Henrik Lissner
8566cfac7b Bump evil-collection, vterm
emacs-evil/evil-collection@ffbf149 -> emacs-evil/evil-collection@e6824e2
akermu/emacs-libvterm@101ff86 -> akermu/emacs-libvterm@fb12d7f

Closes #4591

Co-authored-by: Michael Lingelbach <mjlbach@users.noreply.github.com>
2021-01-31 04:30:48 -05:00
Henrik Lissner
65b56a5671
Bump :term vterm
akermu/emacs-libvterm@01a1332 -> akermu/emacs-libvterm@101ff86
2020-11-25 12:33:53 -05:00
Henrik Lissner
0446c2a853
vterm-max-scrollback = 5000 2020-11-04 15:25:40 -05:00
Henrik Lissner
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
Gabriele Bozzola
7877c92809 Docs: Fix typo: vterm-module.sh -> vterm-module.so 2020-08-24 20:46:15 -07:00
Henrik Lissner
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
Henrik Lissner
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
jtpavlock
6cd601cf0f
remove warning message of optional vterm dependency
libvterm is an optional dependency per emacs-libvterm
2020-07-12 14:24:44 -05:00
Henrik Lissner
c0d208965d
Merge pull request #3073 from yangsheng6810/develop
Allow +vterm/toggle to open remotely
2020-05-09 02:24:19 -04:00
Sheng Yang
6c4e2d08d4 Move the function back and rename 2020-05-09 01:06:19 -05:00
Sheng Yang
39ce0c844b Extract implementation to a separate function 2020-05-09 00:53:10 -05:00
Sheng Yang
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
Henrik Lissner
cbd4ca7b47
Bump :term vterm
akermu/emacs-libvterm@8f00dc9 -> akermu/emacs-libvterm@422ffe0
2020-05-08 15:56:41 -04:00
Henrik Lissner
315ce7974b
Bump :term vterm
akermu/emacs-libvterm@e63bd65 -> akermu/emacs-libvterm@8f00dc9
2020-05-07 03:16:21 -04:00
Henrik Lissner
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
Henrik Lissner
309e71eea7
term/vterm: mention vterm-module-cmake-args in readme 2020-04-24 02:36:44 -04:00
Henrik Lissner
346a90c95d
Refactor vterm module 2020-04-23 23:28:47 -04:00
Henrik Lissner
efb30ac5a5
Bump :term vterm
akermu/emacs-libvterm@996c535 -> akermu/emacs-libvterm@aa512b8
2020-04-17 22:13:30 -04:00
Henrik Lissner
b3f3aa6dd3
Bump to akermu/emacs-libvterm@996c535
From akermu/emacs-libvterm@b9bccf3
2020-03-27 16:52:55 -04:00
Henrik Lissner
169f9a6121
General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
Henrik Lissner
535a0e753c
Autoload vterm and vterm-mode 2020-03-04 17:17:47 -05:00
Henrik Lissner
532a31f4fe
Fix +vterm/{toggle,here}... ... ...again 2020-03-04 17:10:07 -05:00
Henrik Lissner
9ce3f6df87
Fix +vterm/{toggle,here}... again 2020-03-04 16:52:14 -05:00
Henrik Lissner
f1f1609021
Fix void-function vterm-mode 2020-03-04 16:45:19 -05:00
Henrik Lissner
cee3010d2a
Fix +vterm/* commands spawning new buffer each time 2020-03-04 16:32:22 -05:00
Henrik Lissner
5f98e12b0e
Fix #2608: +vterm/here opening in popup
Due to akermu/emacs-libvterm@a9ec753
2020-03-03 15:44:11 -05:00
Henrik Lissner
e694569482
Bump to akermu/emacs-libvterm@b9bccf3
akermu/emacs-libvterm@4fbf8f8
2020-02-28 02:38:20 -05:00
Matt Briggs
1fe584fc21 address feedback 2020-02-22 21:42:04 -05:00
Matt Briggs
bfd6d5ede8 vterm returns to where it was entering insert 2020-02-22 19:10:19 -05:00
Henrik Lissner
f7445a10db
General refactor & reformatting across the board 2020-02-18 22:56:47 -05:00
Henrik Lissner
5b242c73bb
Bump to akermu/emacs-libvterm@4fbf8f8 2020-01-31 13:01:10 -05:00
Henrik Lissner
58c6aea7c5
Bump to akermu/emacs-libvterm@a970b4f472 2020-01-30 17:38:12 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
520fefbd0f
Prevent premature h-scrolling in vterm buffers 2020-01-12 20:05:26 -05:00
Sean Farley
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
Henrik Lissner
996188250b
Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
Henrik Lissner
323e0adf45
Minor refactors & reformatting across the board 2019-10-17 01:47:58 -04:00
Henrik Lissner
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
Henrik Lissner
0c7e6261e8
term/vterm: don't reset vterm popup 2019-08-11 02:05:09 -04:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
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
Henrik Lissner
703b58f325
term/*: conform to new conventions 2019-07-23 00:07:14 +02: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
648e81f765
term/vterm: remove evil config
It's been implemented in evil-collection-vterm.
2019-07-06 23:22:28 +02:00
Henrik Lissner
0eeb6b5092
term/vterm: add nixos recipes to README 2019-07-05 20:11:25 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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