sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev libhidapi-dev
git clone https://github.com/rgerganov/footswitch.git
cd footswitch && make && sudo make install
footswitch -1 -k esc -2 -a esc -a : -a w -a q -a enter -3 -a esc -a : -a w -a enter
Left Key | Center Key | Right Key |
---|---|---|
Esc | Esc : wq | Esc : w enter |
왼 쪽 : Esc
가운데 : Vim 저장하고 나가기
오른쪽 : Vim 파일 저장하기