Commit graph

74 commits

Author SHA1 Message Date
Henrik Lissner
4dab595ad3
Minor refactors & comment revision 2020-11-20 14:10:29 -05:00
Henrik Lissner
892493741f
term/eshell: add syntax highlighting 2020-11-19 00:44:15 -05:00
Henrik Lissner
6f3f4de46d
Fix #4279: runaway duplication in eshell-command-aliases-list 2020-11-17 12:46:10 -05:00
Youmu
d20590b8d6
Remove eshell obsolete variable
`eshell-buffer-shorthand` was removed in Emacs 25, see https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.25#L1078-L1082
2020-11-05 23:10:51 +08:00
Henrik Lissner
0efe786d99
Fix #4207: eshell-mode backport breaks old keybinds 2020-11-03 16:03:59 -05:00
Henrik Lissner
57ef63d6ba
Fix #4176: wrong-type-arg keymapp opening eshell 2020-10-29 05:42:10 -04:00
Henrik Lissner
1b44cf9215
Fix #4176: eshell keybinds bound too soon
eshell-mode-map is defined in esh-mode.el, which isn't loaded
immediately by eshell.el.
2020-10-29 01:54:59 -04:00
Henrik Lissner
8eb8f41b33
EMACS28+ gate eshell keymap fix 2020-10-29 01:42:09 -04:00
Henrik Lissner
f33b141650
term/eshell: fix eshell resetting eshell-mode-map
This "backports" a Emacs 28 fix which prevents eshell from resetting
eshell-mode-map every time eshell-mode is activated.

Now users can bind keys to eshell-mode-map like they could for any
normal mode.
2020-10-27 21:19:59 -04: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
Henrik Lissner
461b337734
Bump :term eshell
szermatt/emacs-bash-completion@96ce14a -> szermatt/emacs-bash-completion@d47edb9

v3.1 release of bash-completion
2020-08-06 19:36:22 -04:00
Henrik Lissner
72c03965cc
Bump :editor evil
emacs-evil/evil@25fc5c6 -> emacs-evil/evil@017b442
emacs-evil/evil-collection@e065da3 -> emacs-evil/evil-collection@3e62b6b
emacs-evil/evil-surround@1c34944 -> emacs-evil/evil-surround@346d4d8
redguardtoo/evil-nerd-commenter@1bd2de5 -> redguardtoo/evil-nerd-commenter@87734b9

Some functionality has been upstreamed into evil-collection and thus
removed from their respective modules.

Closes #3577
2020-07-17 19:40:19 -04:00
Henrik Lissner
d93b789ef5
Move point to eshell prompt when switching to insert mode
This advice was broken (and superseded) by changes upstream in
evil-collection-eshell.
2020-06-05 13:08:01 -04:00
Henrik Lissner
2d3eab7a35
Make C-c {h,j,k,l} eshell keybinds evil-only
The h,j,k,l paradigm is distinctly vim's, and should not be bound for
vanilla users, so now it's only available to evil users.

Also, since C-c l is the vanilla localleader prefix, this causes "Key
sequence C-c l b starts with non-prefix key C-c l" errors.

Fixes #3224
2020-05-26 14:06:19 -04:00
Henrik Lissner
eafad7bbad
Reformat term/eshell module
- Two newlines between use-package! blocks
- Remove comment that was redundant with the code below it
2020-05-15 22:54:50 -04:00
Henrik Lissner
ceb1d4e91f
Disable {bash,fish}-completion on Windows
Because neither is available on windows, you'll get errors when trying
to complete in eshell. Better to disable it so eshell can fall back to
pcomplete.
2020-05-15 22:53:17 -04:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
Steven vanZyl
c881f98960
Merge branch 'develop' into eshell-improvements 2020-05-13 09:17:10 -04:00
Henrik Lissner
de27b2c041
Preserve current directory when splitting eshell
Fixes #3091
2020-05-11 22:09:17 -04:00
Henrik Lissner
1529dcaaf5
Fix #3007: wrong-type-arg stringp on eshell completion 2020-05-11 05:32:51 -04:00
Steven vanZyl
a70cfce520
Merge branch 'develop' into eshell-improvements 2020-05-06 10:33:39 -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
Steven vanZyl
a82d93630f Fix DYM and add aliases
Fixed the use-package! declaration for eshell-did-you-mean since it
needed a different mode in the :after than I thought.
I also put together a quick hack to try and fix an issue with
did-you-mean, but it doesn't seem to work reliably right now. More
testing required.

Also added two aliases, one `gg` for to open magit-status and one `ff`
as an additional alias to find-file that follows the Doom keybindings
better.
2020-04-28 16:54:34 -04:00
Steven vanZyl
85cf7a794b Fixes from PR feedback
This contains fixes suggested by Henrik as feedback from the initial PR,
including updating and correcting the Eshell module README, and few
tweaks to the module configuration, and properly pinning
eshell-did-you-mean.
2020-04-28 09:35:06 -04:00
Steven vanZyl
73de701073 Merge branch 'develop' into eshell-improvements 2020-04-28 09:33:56 -04:00
Henrik Lissner
50ff934ff2
Fix #2832: filename modifiers replaced with empty strings 2020-04-26 04:12:33 -04:00
Henrik Lissner
06d5d5e6c0
General refactors, reformatting & comment revision 2020-04-23 23:56:17 -04:00
Steven vanZyl
a9d7fc099d Improved Eshell module part 1
Added a README file detailing the Eshell module, a few minor tweaks to
the config, some keybindings, and the eshell-did-you-mean package.

More to come!
2020-04-17 15:48:54 -04:00
Henrik Lissner
661fa18af0
eshell: replace company w/ fish/bash powered pcomplete 2020-04-14 15:33:19 -04:00
dive
bf1599635d set company-idle-delay to nil for eshell 2020-03-08 22:35:32 +00:00
Henrik Lissner
1910453e29
The byte-compiler ate my baby 2020-02-06 16:55:27 -05:00
Henrik Lissner
4a5cf04761
General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
Henrik Lissner
f3a75004e0
Merge pull request #2418 from dive/eshell-configuration-improvements
term/eshell: allow arguments for `ls` aliases
2020-01-26 15:40:17 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
dive
d1db28f417 make ls aliases work with subdirectories 2020-01-24 21:22:06 +00:00
Henrik Lissner
1f04bc919f
Fix #2401: erroneous git ref display in eshell prompt 2020-01-23 01:59:20 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
1fd18b88dd
Bind C-j/C-k to forward/backward history for eshell 2020-01-09 15:26:08 -05:00
Henrik Lissner
b88ff2a563
Fix s-backspace for non-evil users 2019-12-23 17:21:30 -05:00
Henrik Lissner
c1879945fd
Replace doom/backward-kill-to-bol-and-indent
WIth new evil-delete-back-to-indentation, with behaves exactly as C-u
does in vim.
2019-12-21 03:30:44 -05:00
Henrik Lissner
663d3aaba9
term/eshell: move eshell-aliases-file to aliases
Rather than "alias"
2019-12-13 16:17:09 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Henrik Lissner
0be962bb77
tools/eshell: remove ag alias, add dired alias 2019-11-18 14:19:10 -05:00
Henrik Lissner
449ddb986c
Minor refactors & reformatting across the board 2019-11-15 22:17:31 -05:00
Henrik Lissner
94c2f91b75
term/eshell: fix custom eshell faces 2019-10-27 14:03:45 -04:00
Rudi Grinberg
bace6dddd2 autoload company-pcomplete-available
This function is called from the eshell module

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 10:18:44 +09:00
Henrik Lissner
422c61a02a
term/eshell: integrate company + pcomplete 2019-10-22 12:36:43 -04:00
Henrik Lissner
a7a3e0e0e9
term/eshell: remove company integration
pcomplete simply provides better completion (but with a terrible UI).
There must be a way to integrate it into company...
2019-10-21 09:57:48 -04:00
Henrik Lissner
25f6d5fec0
term/eshell: remove esh-autosuggest, improve company integration
esh-autosuggest only provides history completion, which isn't very
useful, especially when we already have history search (via ivy/helm)
available on 'C-s' in eshell.

The active company-backends have been rearranged so that company-capf is
the main completer, but will fall back to company-files (since capf
doesn't complete files, only directories and commands).

I wish there were something more robust, however. Perhaps a way to
integrate pcomplete into company?
2019-10-21 09:42:14 -04:00
Henrik Lissner
45223b3785
term/eshell: remove use-package! shrink-path block
Just load it when it is needed, instead.
2019-10-19 22:22:50 -04:00