Vim 에도 게임이 있었군요...

랜덤여신의 이미지

Vim 에도 게임이 있었군요...

http://www.vim.org/scripts/script_search_results.php?keywords=&script_type=game&order_by=rating&direction=descending&search=search

역시 스크립트 :D

시험삼아 Tetris 하고 Sokoban 을 해보았습니다.

멋진데요~ 8)

qkeko의 이미지

이거 어떻게 하는 건지 좀 가르쳐주세요..ㅡㅡ
plugin 디렉에 넣고 아무 파일 열고 source tetris.vim 엔터 등을 해 봤는데 꿈쩍도 안 하는데요~~

맹고이의 이미지

qkeko wrote:
이거 어떻게 하는 건지 좀 가르쳐주세요..ㅡㅡ
plugin 디렉에 넣고 아무 파일 열고 source tetris.vim 엔터 등을 해 봤는데 꿈쩍도 안 하는데요~~

위 링크에 적혀있으니 따라해보세요...

Quote:
install details
Source it! Press :source TeTrIs.vim<Enter>

To start the game, press <Leader>te.
(If you don't know what is <Leader>, you should press \te, and type :help Leader<Enter> to learn about what the heck leader is)
Controls:
h: left
l: right
j: down
i,k: rotate
<Space>: drop
<Esc> or q: quit
(if you have more or other keys, which help you to learn VIM, please send me the mail)
p: pause game To restore, press <Leader>te in any window!

magellan의 이미지

ㅎㅎㅎㅎㅎ 좋군요.

======
comeng

랜덤여신의 이미지

qkeko wrote:
이거 어떻게 하는 건지 좀 가르쳐주세요..ㅡㅡ
plugin 디렉에 넣고 아무 파일 열고 source tetris.vim 엔터 등을 해 봤는데 꿈쩍도 안 하는데요~~

source 는 쓰실 필요 없구요. (플러그인 디렉토리에 놔두면 자동으로 인식합니다)

그냥 \te 라고 쓰시면 됩니다.