commit 0767f64c6f4aa3ede0eb548f6b95d5bb9dcd2267 from: Omar Polo date: Mon Feb 20 17:53:40 2023 UTC give ed the love it deserves commit - adb993241ec47d17f0f3c019e7ffd206e0b05482 commit + 0767f64c6f4aa3ede0eb548f6b95d5bb9dcd2267 blob - 5735d2fe586c3f73b26365e5e2a9e8d67fd30935 blob + 85ad26c431f33653b4badb4c9bb8973527f5701c --- profile.lp +++ profile.lp @@ -51,20 +51,12 @@ docker-cli to transparently talk to the VM: export DOCKER_HOST=ssh://op@100.64.2.3:22 -I like to use mg as my default editor but under vterm is a bit of a pain -because emacs keeps eating up all the various C-c and C-x keys. Thus, -switch back to vi when INSIDE_EMACS (which sounds strange, I know) +I had this revelation. I don't MoGrify text. I don't VIsualize files. +I EDit them! - if [ -z "$INSIDE_EMACS" ]; then - VISUAL=mg - EDITOR=mg - else - VISUAL=vi - EDITOR=vi - fi + EDITOR=ed + export EDITOR - export VISUAL EDITOR - less(1) should be the default pager pretty most everywhere, but ensure that!