2020.12.18
ここに記載した情報と直接は関係しませんが、アンドロイドのターミナルエミュレーターで日本語文字を入力するためのいく通りあるかわからない方法を探すのには時間がかかりますから、書いときます。
もしあなたが Termux で日本語入力をしたい場合 IME アプリ google 日本語入力または、オープンソースの mozc for Android を試してください。
Termux vim (デフォルトの状態)and google IME
https://youtu.be/mZLDSxeXo1I
Termux emacs Evil and mozc IME
https://youtu.be/JEnO2Mnh9bo
Emacs using Evil Mode on Android
1.install termux
termux
https://github.com/termux/termux-app/tree/android-10
then
apt update
apt upgrade
2.install emacs on termux (no need to root privilege, it means without sudo)
(eg: apt install emacs)
If you fail to fetch during installation
eg :
my case ...
Error reading from server - read (5: I/O error) [IP: 54.187.47.108 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I think you should switch termux repogitory default host to
mirror host.
Here is a hint
how to change repogitory
3.install git (eg: pkg install git)
4. git clone
git clone https://github.com/emacs-evil/evil ~/.emacs.d/evil
5. Edit ini.el file by emacs
eg:
~$ emacs ~/.emacs.d/init.el
then,
copy and paste in emacs frame
(add-to-list 'load-path "~/.emacs.d/evil")
(require 'evil)
(evil-mode 1)
6.type command (C = control key, M = Alt key)
type
C-x
S
(emacs : press down control key + x
then s
, this combo is save command)
save
.emacs.d/init.el
file
type
M-x
eval-buffer
(emacs : press down M = Alt key
+ x
key , then type eval-buffer
)
see emacs cheat sheet on duckduckgo
7. Now <N>
is vim mode = Evil mode
Emacs : <E>
Vim : <N>
Vim command ... you can search vim cheat sheet
on duckduckgo
Use CTRL-z
changing mode
see youtube vid
Cf.
How to Navigate Emacs using Evil Mode
Updated Wednesday, October 7, 2020 , by Edward Angert
Link
https://www.linode.com/docs/guides/emacs-evil-mode/
Good guide about Evil
evil-guide by noctuid
Emacs/Evil for Vim Users
https://github.com/noctuid/evil-guide