Friday, January 21, 2011

[공유] VI를 source insight처럼 쓰기


vi에 익숙해지기 위해 고생이 많으실텐데요.
vi에서 source insight와 같은 레이아웃으로 쓸 수 있는 방법이 있어서 공유드립니다.
실제로는 네 개의 플러그인을 사용하는 것인데요.
원래는 각각 설치해야 하지만 제가 설치 파일들을 하나로 압축해서 첨부했습니다.


설치하는 방법은 다음과 같습니다. (MS윈도에서도 디렉토리만 약간 변경하면 똑같습니다.)

1. 첨부한 파일을 홈디렉토리에 복사합니다.

2. 홈디렉토리의 .vim 디렉토리에 들어갑니다. (없으면 만듭니다.)
(mkdir .vim)
cd .vim

3. 복사한 파일을 풉니다.
tar xfz ~/vim-sourceinsight.tgz

4. 압축 파일에 들어있던 설정 내용을 vi 설정 파일에 추가합니다.
cat vimrc-sourceinsight >> ~/.vimrc


자... 설정은 끝났습니다.
사용을 시작해보겠습니다.


1. 프로젝트 디렉토리로 이동
cd ~/gingerbread/packages/apps/Contact

2. tag 파일을 만듭니다. 소스코드에서 식별자를 추출해내는 작업입니다. 처음 한 번만 수행하면 됩니다. (소스코드 수정이 있으면 다시 수행합니다.)
ctags -R

3. vi를 실행합니다. (프로젝트 디렉토리에서 실행하는 게 중요합니다.)
vi

4. 빈 창이 나오면 <F8>을 누릅니다.

5. 뭔가 바뀌었나요? vi 화면이 4개의 창으로 바뀌었습니다. 현재는 오른쪽 창에만 내용이 있을 거구요.
창 사이 이동은 <ctrl-h> <ctrl-j> <ctrl-k> <ctrl-l> 을 이용하세요.
오른쪽 창에 파일 리스트가 있으니 그 창으로 이동하여 (<ctrl-l>) 원하는 파일을 찾아 엔터를 누릅니다.
디렉토리에서 엔터를 누르면 그 디렉토리의 내용이 나옵니다.

6. 가운데 창에 파일이 열리고 왼쪽엔 식별자 목록이 나타납니다. 코드 안에서 커서를 움직여 식별자로 가면 아래 창에 preview가 보입니다. 커서 움직이는 키는 아시죠? h j k l

7. preview에 보이는 파일로 이동하고 싶으면 <ctrl-j><enter>를 누릅니다.

8. 같은 이름의 식별자가 여러 개라면 preview에 목록만이 나타납니다. <ctrl-j>를 눌러 preview로 들어간 후 커서를 이동해 원하는 식별자 위에서 <enter>를 치면 됩니다.

9. 좀 전 파일로 돌아가고 싶으면 <space>를 누릅니다. <ctrl-j><enter>를 여러 번 눌렀다면, <space>를 여러 번 눌러서 이전 파일로 거슬러 올라갈 수 있습니다.


헥헥 설명하기 힘들었네요.
저는 source insight를 안 써 보았는데 좀 비슷한가요?
유용하게 사용하시길 바랍니다.^^
더 자세한 설명이 필요하시면 위의 링크로 들어가보세요.

--

Saturday, June 26, 2010

FW: World's Best Zip Lines

재밌겠다!


보낸 사람: Daniel Bortz <>
보낸 날짜: 2010년 6월 25일 금요일 오전 12:33
받는 사람: 구글 리더 feed2imap <>
제목: World's Best Zip Lines

Feed:"feed2imap" via beila in Google Reader
Item:World's Best Zip Lines

Traveler intern Daniel Bortz straps in to find zip line adventures for all riders, all occasions, across the globe.

canopy_zip_adv_pi_1g.jpgA pair of feet dangles over a terrain of active volcanoes, spurts of lava seeping out and flowing down the sides. Another pair sails through a thick forest, abundant foliage on both sides, breaking to an open landscape of mountains and streams. The wind gusts against your face, your body gliding smoothly against a backdrop of fuzzy blue and gray skies.

Views like these can be found along some of the world's best zip lines. Riders, equipped with only a harness and helmet, coast through the sky, glimpsing an unobstructed view of the world below. Originally a kid's contraption used in playgrounds and backyard treehouses, zip lines have become popular activities for tourists, like the zip line rides long offered to vacationers through Costa Rica's rich canopy.

But more recently, a new class of zip lines has emerged, one with steeper, taller, and altogether more intense courses cropping up across the globe -- transforming this once basic cable and pulley system into an adventure, speed and suspense to match. The routine is the same: attach yourself to a metal cable and then let the zip line do all the work. Only now the starting point is much higher, like the 918-foot tall zip line in Sun City, South Africa. Surprisingly, these zip lines are still low risk, statistically safer than driving in a car or flying on an airplane.

So, with my nerves slightly settled and harness tightly fastened, I've set out to find some of the world's best zip lines.

Find out more after the jump.
World's Steepest | Adrenaline Junkie's Delight
WHERE: Sun City, South Africa

From the top, you can barely make out the landing point. At more than a mile long and with speeds of up to 100 miles an hour, this South African zip line claims to be the world's fastest and tallest. Riders often go down in pairs, gliding headfirst in tandem harnesses as they tear through the sky. But don't worry: a wing the size of a small kite is fastened between your feet, keeping your legs still and your body straight to land on target.



Canopy Cruiser | Family Affair
WHERE: Monteverde, Costa Rica

Synonymous for its zip line tours since their introduction in the 1970s, Costa Rica boasts a unique opportunity to see rainforest wildlife firsthand. Nestled among some of the country's oldest trees, these zip lines lift riders high above the forest floor, rising over 200-foot trees as they zip from one platform to the next. Along the way, make friends with the monkeys, toucans, and scarlet macaws who call the woods home. Night tours for views of the forest's nocturnal creatures and active volcanoes are also available.

Big Island Breezer | Romantic Couples' Retreat
WHERE: North Kohala, Hawaii

Kohala's northern coastline offers pristine views of Hawaii's natural reserves. Enjoy a smooth, relaxing ride above endless mosses, crystal-blue water full of tropical fish, and ohia lehuas, indigenous trees with large, twisting branches and red blossoms. Fresh guava and ginger combine to create a rich, fresh scent, further complemented by bird songs delivered by the island's tropical inhabitants.

Mountain Climber| Friends in High Places
WHERE: Salida, Colorado  

Gather the gang and head to Colorado for sweeping vistas of the high desert and open canyon. There's a bed of hot springs formations and a healthy supply of colorful boulders -- this is the Rockies, after all. And bald eagles, bighorn sheep, and bears are just a few of the canyon residents you'll pass while traversing 2,000 feet aboard six separate zip lines. It's a three-hour journey through a region marked by lime kiln ruins from the 1890s and dramatic cliffs, some 300 million years old.

The Great Zip| History and Adventure
WHERE: Simatai, China

It winds up and down, through grasslands and plateaus, over mountain ranges and across deserts. Nearly 5,500 miles long, the Great Wall of China dates to the Qin dynasty in 221 B.C. and remains the world's largest man-made structure. So, after learning about more than 2,000 years of history, a carefree ride on the zip line complements a visit to this UNESCO World Heritage site. Visitors walking the wall in Simatai whip over a large river, riding from one end of Simatai to the other, snagging views of the Great Wall behind.

Photo: Courtesy of Costa Rican Trails


Email this Article Add to del.icio.us Add to digg Add to Facebook Add to StumbleUpon Add to Google Add to Reddit

Zip-line - Volcano - Lava - Costa Rica - South Africa

Date:  Thu Jun 24 15:33:46 UTC 2010
Author:  Daniel Bortz
Filed under:  Active Travel, Family Friendly, Transportation, China, Colorado, Costa Rica, Hawaii, National Geographic, South Africa, travel, Traveler, zip lines

Sunday, December 13, 2009

When you think you can't, keep going. When you're tired and stressed and sad, keep going. When all you want to do is stop, keep going.

Wednesday, August 12, 2009

테스트로 올려보자.

라이브라이터가 어떤지 한 번 봐봅시다.11.JPG

동영상도???

에잇... 컴퓨터에 동영상이 없구나..

Tuesday, August 11, 2009

밤의 창문

우리 집의 밤 풍경...
그냥 스탠드만 찍었다. ㅋ

대전의 산하


 
 


디플로이가 문제

디플로이가
문제

 
 

노드의
이동경로가
교차하면
에너지
소모량과

공평함이
나빠짐


극좌표
지리적
관계
유지
필요

 
 

목표지점을
한번에
알아야
에너지가
절약됨


갈퀴주소
정하기

 
 

갈퀴주소를
정하는데
중앙은
택도
없고
분산은
어려워

전체
조율이
필요

그럼
전체
좌표가
필요


전체좌표는
이거이걸로
만듬

다음엔
우두머리가
필요


우두머리는
어떠어떻게
뽑아

다음엔
위계질서가
필요


스패닝트리

다음엔
책임분담
필요


갈퀴나무

분담해서
갈퀴주소를
정함


과정은
지리적
관계를
유지함
증명

 
 

Thursday, October 09, 2008

얼굴 변형

Wednesday, February 20, 2008

글씨로 적어 가면 제자리 걸음을 하는 일 없이 결론에 이르게 된다.

글씨로
적어
가면
제자리
걸음을
하는

없이
결론에
이르게
된다.

 
 

꿈을
이루는
노트
기술 (오카자키
타로;권일영;청림출판)

글씨로 적어 가면 제자리 걸음을 하는 일 없이 결론에 이르게 된다.

글씨로
적어
가면
제자리
걸음을
하는

없이
결론에
이르게
된다.

 
 

꿈을
이루는
노트
기술 (오카자키
타로;권일영;청림출판)

글씨로 적어 가면 제자리 걸음을 하는 일 없이 결론에 이르게 된다.

글씨로
적어
가면
제자리
걸음을
하는

없이
결론에
이르게
된다.

 
 

꿈을
이루는
노트
기술 (오카자키
타로;권일영;청림출판)

글씨로 적어 가면 제자리 걸음을 하는 일 없이 결론에 이르게 된다.

글씨로 적어 가면 제자리 걸음을 하는 일 없이 결론에 이르게 된다.