-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hlee118
committed
Dec 11, 2023
1 parent
541f1ca
commit bf960a1
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: post | ||
title: "Ubuntu Keymapping" | ||
date: 2023-12-11 | ||
description: "우분투 키매핑 방법(Terminal Interrupt Key to 'alt+c')" | ||
excerpt: "" | ||
tags: | ||
- Ubuntu | ||
comments: true | ||
--- | ||
### Abstract | ||
- 회사에서 맥은 안주고 윈도우는 보안도 너무 많아서 우분투 세팅 시작 | ||
- stty, keybind 등을 적용하고자 함 | ||
|
||
### stty | ||
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로 매핑시킴 | ||
``` | ||
stty intr '^J' | ||
bindkey -s '^[c' '^J' | ||
``` |