문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
linux:nano [2021/12/02 10:41] kwon37xi 만듦 |
linux:nano [2022/07/10 22:37] kwon37xi [tab/space] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== nano editor ====== | ====== nano editor ====== | ||
+ | * linux 기본 텍스트 에디터 | ||
+ | * [[https:// | ||
+ | * 대안 | ||
+ | * [[linux: | ||
+ | * [[linux: | ||
+ | * [[linux: | ||
+ | ===== 설정 ===== | ||
+ | * '' | ||
+ | * [[https:// | ||
+ | <code sh> | ||
+ | cp /etc/nanorc ~/ | ||
+ | </ | ||
+ | |||
+ | ===== syntax highlight ===== | ||
+ | * [[https:// | ||
+ | |||
+ | ===== tab/space ===== | ||
+ | * '' | ||
+ | < | ||
+ | set tabstospaces # tab 대신 공백 문자 넣기 | ||
+ | set tabsize 4 # tab 은 공백 4칸 | ||
+ | |||
+ | # Alt-Q 를 누르면 tabstospaces 옵션을 toggle 해서 tab과 공백중 원하는 것을 사용할 수 있게 된다. | ||
+ | bind M-Q tabstospaces main | ||
+ | </ | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== 참조 ===== | ===== 참조 ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |