파일을 오픈하기 전이라면
%!xxd 파일명
혹은
파일을 오픈한 다음이라면
%!xxd
다시 텍스트로 보고 싶을때는
%!xxd -r
$ which vimdiff
/usr/local/bin/vimdiff
2. bin 폴더 생성
$ mkdir bin
$ cd bin
3. svndiff_wrap.sh 생성
$ vim svndiff_wrap.sh
#!/bin/sh
DIFF="/usr/local/bin/vimdiff"
LEFT=${6}
RIGHT=${7}
$DIFF $LEFT $RIGHT
$ chmod 700 svndiff_wrap.sh
4. svn diff 설정 찾기
$ vim ~/.subversion/config
# editor-cmd = editor (vi, emacs, notepad, etc.)
### Set diff-cmd to the absolute path of your 'diff' program.
### This will override the compile-time default, which is to use
### Subversion's internal diff implementation.
# diff-cmd = diff_program (diff, gdiff, etc.)
5. svn diff 설정 변경
diff-cmd = /home/USER/bin/svndiff_wrap.sh
6. svn diff 사용
:q 로 diff 창을 닫으면 다음 파일로 넘어가게 됩니다.
diff 파일이 많을 경우 중간에 빠져나가기가 조금 힘듭니다.


python 을 좋아하는 게임 프로그래머