2015년 9월 24일 목요일

2015년 9월 16일 수요일

Dependency file(.d) 파일이란.

make 를 수행하면 object file(.o) 과 함께 간혹 .d 파일이 생성된다.

이 .d 파일은 파일간의 의존성 관계를 표시하는 파일로 automake  를 통해 컴파일시
gcc 컴파일 옵션 -M 을 사용하는 경우 생성이 된다.


2015년 4월 10일 금요일

[VIM] C/C++ IDE 환경 만들기 (좋아요~~)

Tutorial: Make Vim as Your C/C++ IDE Using c.vim Plugin

Seven habits of effective text editing

[refer to http://www.moolenaar.net/habits.html]


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]


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 사용자를 위한 플러그인 매니저라 볼수 있음...