안드로이드에서 완벽한 Emacs 환경을 구축한다.

히스토리

  • [2023-08-29 Tue 11:05] 28.3 버전이다. 글쓰기 관련 레이어만 넣었다. 로딩에 28 초 정도 걸린다.

TODO yt-dlp termux full installation guide.md · GitHub

https://gist.github.com/cyrillkuettel/d63785cf5f4c00106ae215188c377515

[2024-05-04 Sat 16:44] 여기에 storage

# let's allow termux to access the phone's storage, it will ease our workflow:
pkg install neofetch imagemagick ffmpeg -y
pkg install termux-api
termux-setup-storage
 

데일리로 사용하기 위해서

[2023-08-29 Tue 11:07]

Landscape Mode with touchkey

[2023-08-29 Tue 11:03] https://wiki.termux.com/wiki/Touch_Keyboardy

가장 중요한 키는

up + k  - hide touch key

이제 landscape 로 이맥스를 사용할 수 있다.

Lock Acquire and Release on Termux

[2023-08-29 Tue 11:07] 사용 안할 때는 잠금을 해놓으면 부담이 없다. 쭉 데일리로 사용도 할 수 있다.

OFF emacs as a daemon

[2023-08-29 Tue 11:07] 데몬으로 띄워놓고 사용하는 것이 좋겠다.

이맥스를 데몬으로 띄워 놓으면 여닫기 쉬울 것 같다.

관련 소스 코드 및 문서 termux-dotfiles

[2023-08-29 Tue 11:02] https://github.com/junghan0611/termux-dotfiles 여기에 담았다.

git clone git@github.com:junghan0611/termux-dotfiles.git

블루투스 키보드 사용 시 한글 입력 관련

[2023-09-16 Sat 12:46] 안드로이드 하드웨어 키보드에 가서 한영 전환 바인딩을 다 지우고, 영어 기본 키보드로 선택하라. 새롭게 한영 전환은 M-SPC 로 잡았다. 일단 그렇게 사용하면 된다.

설치 방법

[2023-08-29 Tue 11:09]

F-Droid 에서 termux, termux-style Install

스타일이 들어가야 폰트 잡을 수 있다. 스타일은 꾹 누르면, 컨텍스트 메뉴에 있다.

Termux Setup

[2023-04-13 Thu 05:38]

 
pkg upgrade -y
# termux-change-repo
 
pkg install curl wget git openssh
pkg install neovim
 
pkg install byobu
pkg install git gh
 
Volume Up + q toggles the extended keyboard, so more screen is available when using a hardware keyboard.
 
Connect a hardware keyboard for the best experience, e.g the Keyboard.io atreus is an excellent and highly portable mechanical keyboard. The software keyboard is automatically switched off when a hardware keyboard is connected, although the extended keyboard is still displayed by default.

zsh

하는 김에 내 시스템도 oh my zsh 로 돌아간다. 간단해서 좋다. Zsh - Practicalli Spacemacs

[2023-04-16 Sun 06:14]

pkg install zsh
zsh
chsh -s zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# p10k configure

Clojure

Clojure - Practicalli Spacemacs It’s works well!

wget https://github.com/clojure-lsp/clojure-lsp/releases/download/2023.02.27-13.12.12/clojure-lsp
 
clojure-lsp  linux-install-1.11.1.1149.sh  myhome  org  spacemacs  spacemacs.d.john  sync
~ chmod 755 clojure-lsp
~ ./clojure-lsp --version
clojure-lsp 2023.02.27-13.12.12
clj-kondo 2023.02.17
 
## PATH=/data/data/com.termux/files/usr/bin
~ mv clojure-lsp $PATH
 

lsp

git clone git@github.com:junghan0611/clojure-lsp-config.git ~/.config/clojure-lsp [2023-04-16 Sun 06:56]

sshd

ssh ip -p 8022 [2023-04-16 Sun 06:11]

bt keyboard

[2023-08-29 Tue 11:06] 접이식 블루투스 키보드로 커버 아주 훌륭

[2023-09-16 Sat 12:57]

cd ~
ln -s /storage/emulated0/Documents/sync sync

Emacs 29.1 지원

[2023-09-18 Mon 12:57] 드디어 공식 버전이 termux 에 들어왔다.

pkg install libsqlite
pkg install libtreesitter

모바일 fortune 사용

[2023-10-11 Wed 14:16] dat 파일 만들 필요 없다. 더 훌륭한 버전이다.

IDE Tools use pip

[2024-01-15 Mon 11:49]

: pip install pyright 바로 된다.
: pip install pytest pytest-cache pytest-subtests pytest-pylint

References