From 631427f43f5abd76b9464b4c77ed6f0a9118512a Mon Sep 17 00:00:00 2001 From: hlee118 Date: Mon, 11 Dec 2023 15:29:14 +0900 Subject: [PATCH] added ubuntu keymapping --- posts/_posts/2023-12-11-ubuntu-keymapping.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/posts/_posts/2023-12-11-ubuntu-keymapping.md b/posts/_posts/2023-12-11-ubuntu-keymapping.md index e12bb8c..a2b1277 100644 --- a/posts/_posts/2023-12-11-ubuntu-keymapping.md +++ b/posts/_posts/2023-12-11-ubuntu-keymapping.md @@ -18,12 +18,12 @@ http://coffeenix.net/doc/shell_programming/shell542.html ### Keybind 특수문자 정보 https://github.com/rothgar/mastering-zsh/blob/master/docs/helpers/bindkey.md -### - ### Alt키 문제 - Alt mapping key가 "^[" 인데 이게 위/아래/왼쪽/오른쪽 키랑침겹침 - 안쓰는 Ctrl+J라는 키를 interrupt키로 만들고 alt+c를 Ctrl+J로 매핑시킴 -``` + +``` Bash +# ~/.zshrc stty intr '^J' bindkey -s '^[c' '^J' ``` \ No newline at end of file