Install

differ from bash

UI

tricks to workaround

preference

You can start emacs in terminal (over GUI) by emacs -nw (means nowindow).

emacs vim desc nvim
M-x : Cmd input (minibuf) _
M-: :eval Script input (lisp) / vimscript :lua
M-x ielm gQ ielm: Inferior Emacs Lisp Mode/EX mode
:lua <<EOF
xxx
EOF
(Or pkg:nvim-luadev neorepl.nvim luapad)
lisp: x vimscript: echo x in script output expression := / :lua =
lisp: eval vimscript: eval in script eval luaeval(expr)/:= expr
c-h x (c-h ? for all) :help x (:help for all) display help :help
M-n xxx / c-u n xxx n xxx repeat
c-g c-g abort
c-del / M-del (if TUI) c-w (delete over kill) backward-kill-word _
M-: (setq truncate-lines t) :set nowrap _
M-! cmd :! cmd shell-command _
M-: (load-file user-init-file) e $MYVIMRC (if MYVIMRC declared) :e $MYVIMRC
M-x hexl :%!xxd → :!%~xxd -r (Linux only, not handy as hexl if as editor) binary viewer/editor _
c-x 4 d (NOTE: in the other-window) :Vexplore explorer in sidebar _

nav

terminal

ielm

sync clipboard:

(setq select-enable-clipboard t)

ref https://www.gnu.org/software/emacs/manual/html_node/emacs/Clipboard.html

gnu.org