diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-08-26 23:55:22 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-08-26 23:55:22 +0200 |
| commit | 63e0b3c9df5748ae5143403abaa8ea8e5f9c3a15 (patch) | |
| tree | 4fcaa3d366242cfeab73ba36bc325d01e0ea2579 /.bashrc | |
| parent | bcef09447f2e5f87b2bf874648463c9ce1e2c8ec (diff) | |
| download | dotfiles-63e0b3c9df5748ae5143403abaa8ea8e5f9c3a15.tar.gz dotfiles-63e0b3c9df5748ae5143403abaa8ea8e5f9c3a15.zip | |
Make 'e' my new EDITOR
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -66,20 +66,17 @@ if command -v bat &>/dev/null; then fi # Set up fzf key bindings and fuzzy completion -if command -v fzf &> /dev/null; then +if command -v fzf &>/dev/null; then eval "$(fzf --bash)" fi ## # Editors & terminals. -# Set GNU Emacs as the default editor. You can find this `emacsclient-a-nw` -# executable in the `bin` directory of my dotfiles. That being said, in the -# `bin` directory there is a globally installed script called `e`. This is the -# script that will be called most of the times from the CLI for reaching out to -# the default editor. -export EDITOR=emacsclient-a-nw -export VISUAL=emacsclient-a-nw +# The default editor is simply called 'e', which is a shell script that will +# call the proper editor depending on what's installed on the system. +export EDITOR=e +export VISUAL=e alias vi=vim # We want a full-fledged 256-color terminal. |
