mirror of
https://github.com/SqrtMinusOne/sqrtminusone.github.io.git
synced 2025-12-11 00:03:02 +03:00
deploy: e4e8d31acd
This commit is contained in:
parent
730f63e45a
commit
241d818f81
3 changed files with 2 additions and 2 deletions
|
|
@ -6349,9 +6349,9 @@ Some other optimization settings:</p>
|
|||
</span></span><span style="display:flex;"><span> (<span style="color:#19177c">add-hook</span> <span style="color:#19177c">'vterm-mode-hook</span> <span style="color:#19177c">'with-editor-export-editor</span>))
|
||||
</span></span></code></pre></div><h4 id="eshell">eshell</h4>
|
||||
<p><a href="https://www.gnu.org/software/emacs/manual/html_mono/eshell.html">eshell</a> is a shell implemented in Emacs Lisp.</p>
|
||||
<p>I’ll try to use it as my primary shell for a few reasons. Firstly, I just want to have a “normal” (…evil…) editing experience for shell prompts. My current shell setup is fish with vi bindings, which doesn’t work well with vterm because the shell just accepts the keystrokes from the terminal, completely oblivious to the current Emacs state. So, I need to do stuff like entering insert state in Emacs, then entering normal state in the shell while keeping Emacs in insert state. That’s just too much pain sometimes.</p>
|
||||
<p>I’ll try to use it as my primary shell for a few reasons. First, I just want to have a “normal” (…evil…) editing experience for shell prompts. My current shell setup is fish with vi bindings, which doesn’t work well with vterm because the shell just accepts the keystrokes from the terminal, completely oblivious to the current Emacs state. So, I need to do stuff like entering insert state in Emacs, then entering normal state in the shell while keeping Emacs in insert state. That’s just too much pain sometimes.</p>
|
||||
<p>This setup also frequently messes with fish autosuggestions.</p>
|
||||
<p>Secondly, I do want to be able to run <code>dired</code> or <code>find-file</code> from the terminal. I’ve sort of implemented that in the <a href="#vterm-1">vterm</a> section, but an Emacs-integrated shell is obviously more convenient for that.</p>
|
||||
<p>Second, I do want to be able to run <code>dired</code> or <code>find-file</code> from the terminal. I’ve sort of implemented that in the <a href="#vterm-1">vterm</a> section, but an Emacs-integrated shell is obviously more convenient for that.</p>
|
||||
<p>TODO:</p>
|
||||
<ul>
|
||||
<li>Configure it for TRAMP (<code>company-idle-delay</code> to a large value, what else?)</li>
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
Loading…
Add table
Reference in a new issue