2015년 4월 10일 금요일
Seven habits of effective text editing
[refer to http://www.moolenaar.net/habits.html]
Seven habits of effective text editing
Seven habits of effective text editing
[VIM] Linux / Unix vi / vim: Open and Switch Between Multiple Files
To list open files:
:ls
To switch to next file:
:n
OR
:bn
To switch to previous file:
:p
OR
:bp
To open specific file buffer called 10 (use :ls command to list all open file buffers):
:b10
You can also switch between all open files, using the following syntax:
:b foo
OR
:b bar
Modern text editor such as vim supports enhanced tab completion to get list of open file:
:b [HIT-TAB-KEY]
:ls
To switch to next file:
:n
OR
:bn
To switch to previous file:
:p
OR
:bp
To open specific file buffer called 10 (use :ls command to list all open file buffers):
:b10
You can also switch between all open files, using the following syntax:
:b foo
OR
:b bar
Modern text editor such as vim supports enhanced tab completion to get list of open file:
:b [HIT-TAB-KEY]
Tab auto-completion case-insensitive in the terminal
Open a terminal and type the below command:
echo set completion-ignore-case on | sudo tee -a /etc/inputrc
Enter password. Restart terminal.
If in some case you want to remove case insensitive, just edit /etc/inputrc file by
removing the set completion-ignore-case line.
That's all.
[refer to askubuntu.com]
[VIM] Vundle 을 이용한 Plugin 확장하기
Vundle 이란 Ruby 의 Gem 플러그인 패키지(Bundle)와 동일한 개념으로 Bundle 은 루비 기반의 프로젝트(레일즈 등)의 수많은 Gem 들을 관라하는 Gem Manager라고 볼수 있음.
Vundle은 VIM Bundle의 줄임말로 VIM 사용자를 위한 플러그인 매니저라 볼수 있음...
피드 구독하기:
글 (Atom)