Skip to content

Commit

Permalink
added ubuntu keymapping
Browse files Browse the repository at this point in the history
  • Loading branch information
hlee118 committed Dec 11, 2023
1 parent bf960a1 commit 631427f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions posts/_posts/2023-12-11-ubuntu-keymapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

0 comments on commit 631427f

Please sign in to comment.