vi 에디터 환경 설정 확인 및 설정
:set all 을 통해서 환경 설정을 파악할 수 있다.
:set all noautoindent mesg noslowopen autoprint nomodelines tabstop=8 noautowrite nonumber taglength=0 nobeautify nonovice tags=tags /usr/lib/tags directory=/tmp nooptimize tagstack nodoubleescape paragraphs=IPLPPPQPP LIpplpipnpbp term=vt100 noedcompatible prompt noterse noerrorbells noreadonly timeout noexrc redraw timeoutlen=500 flash remap ttytype=vt100 hardtabs=8 report=5 warn noignorecase scroll=31 window=63 keyboardedit sections=NHSHH HUuhsh+c wrapscan keyboardedit! shell=/usr/bin/ksh wrapmargin=0 nolisp shiftwidth=8 nowriteany nolist noshowmatch magic noshowmode [Hit return to continue]
:set option 을 통해서 환경 설정을 변경할 수 있다.
:set nooption을 통해서 환경 설정을 끌 수 있다.
vi 환경 저장
사용자 홈 디렉토리에 .exrc 파일에 환경 설정을 저장해 놓으면 vi 사용시 환경이 로딩이 된다.
set showmatch set autoindent set showmode set number
위와 같이 설정을 해 주면 vi 수행시 설정해 놓은 환경이 로딩된다
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
26 | read 명령어 사용법 | 명품관 | 2024.01.22 | 31 |
25 | df 명령어 대신 사용할 수 있는 python용 pydf | 명품관 | 2023.03.14 | 177 |
24 | Step by Step Installing CentOS Linux 8 with Screenshots | 명품관 | 2019.09.26 | 306 |
23 | 세마포어(semaphore) | 명품관 | 2021.12.21 | 469 |
22 | "리눅스에 대한 마이크로소프트의 사랑", WSL 2의 이해와 시작하기 | 명품관 | 2019.09.23 | 534 |
21 | Installing RedHat Enterprise Linux 8.0 with screenshots | 명품관 | 2019.09.26 | 540 |
20 | 절대 경로가 포함된 스크립트 생성 하기 [1] | Talros | 2016.10.10 | 541 |
19 | bpytop 모니터링 툴 | 명품관 | 2021.01.18 | 624 |
» | vi 에디터 환경 설정 | 명품관 | 2016.02.02 | 640 |
17 | Swap File 생성하기 | 명품관 | 2019.04.15 | 651 |
16 | Alias 사용 | 명품관 | 2021.03.03 | 667 |
15 | find 사용하기 | 명품관 | 2016.03.04 | 728 |
14 | top logging script | Talros | 2020.01.17 | 789 |
13 | Linux에서 LVM 사용 | 명품관 | 2020.11.10 | 824 |
12 | [7.x] hostname 변경하는 hostnamectl 사용법 [1] | 우뽕 | 2020.02.05 | 975 |
11 | 리눅스 Free 메모리의 이해 | 명품관 | 2018.08.08 | 980 |
10 | Memory Usage 확인용 스크립트 [2] | 명품관 | 2019.04.15 | 1414 |
9 | 59 Linux Networking commands and scripts | 명품관 | 2019.11.18 | 1590 |
8 | 실시간으로 TCP와 UDP 포트를 감시하는 방법 | 명품관 | 2020.02.05 | 2094 |
7 | iscsi 서버/클라이언트 설정하기(with targetcli) | 명품관 | 2020.11.14 | 2133 |