gvim column select ( 열선택 : ctrl-v ==> ctrl-q )
programming
- gvim column select ( 열선택 : ctrl-v ==> ctrl-q ) 2009.06.03
- vim macro ( record ) 2009.06.03
- bash shell 에서 지금 몇번이나 bash 를 실행 했나? vim 에 sh 실행후.. 2009.06.03
- vim 검색(search) 취소 (match cancel) 2009.06.03
- putty or cmd 투명화 ( transparent ) 2009.06.03
- vim tags 이동 ( [count]po[p] , [count]ta[b] ) ( move, navigation) 2009.06.02
- vim 에서 디렉토리별 설정시 2009.06.02
- gdb 에서 stl 컨테이너 보기(vector, list, map,...) & gdb print option 2009.06.02
- 헛슨 ( hudson ) 2009.05.12
- script pause ( read -n ) 2009.04.14
gvim column select ( 열선택 : ctrl-v ==> ctrl-q )
2009. 6. 3. 20:35
vim macro ( record )
2009. 6. 3. 11:57
3. Complex repeats *complex-repeat*
*q* *recording*
q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
(uppercase to append). The 'q' command is disabled
while executing a register, and it doesn't work inside
a mapping. {Vi: no recording}
q Stops recording. (Implementation note: The 'q' that
stops recording is not stored in the register, unless
it was the result of a mapping) {Vi: no recording}
*@*
@{0-9a-z".=*} Execute the contents of register {0-9a-z".=*} [count]
times. Note that register '%' (name of the current
file) and '#' (name of the alternate file) cannot be
used. For "@=" you are prompted to enter an
expression. The result of the expression is then
executed. See also |@:|. {Vi: only named registers}
*q* *recording*
q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
(uppercase to append). The 'q' command is disabled
while executing a register, and it doesn't work inside
a mapping. {Vi: no recording}
q Stops recording. (Implementation note: The 'q' that
stops recording is not stored in the register, unless
it was the result of a mapping) {Vi: no recording}
*@*
@{0-9a-z".=*} Execute the contents of register {0-9a-z".=*} [count]
times. Note that register '%' (name of the current
file) and '#' (name of the alternate file) cannot be
used. For "@=" you are prompted to enter an
expression. The result of the expression is then
executed. See also |@:|. {Vi: only named registers}
bash shell 에서 지금 몇번이나 bash 를 실행 했나? vim 에 sh 실행후..
2009. 6. 3. 11:23
SHLVL- Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells are nested.
screen 들어 가면 '2'
vi 들어 가서 :sh 통해서 또 shell 를 호출 할때는 '3'
자동 증가 한다.
alox:chozo99:/home/chozo99> env | grep SH
SHELL=/bin/bash
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=2
CVS_RSH=ssh
alox:chozo99:/home/chozo99> echo $SHLVL
2
vim 검색(search) 취소 (match cancel)
2009. 6. 3. 10:14
:help match
:noh
:nohlsearch
no high light search
:noh
:nohlsearch
no high light search
putty or cmd 투명화 ( transparent )
2009. 6. 3. 10:10
http://www.abstractpath.com/powermenu/
vim tags 이동 ( [count]po[p] , [count]ta[b] ) ( move, navigation)
2009. 6. 2. 20:49
ctags 를 이용하여, 함수를 이동하다가 보면, 너무 깊숙이 들어와서 헷갈릴때가 있다,
이때 지금 까지 온 list 를 보고 다시 뒤로 갈수도, 뒤로 왔다가 다시 앞으로 갈수도 있다.
(tag stack 관련)
# TO tag FROM line in file/line
1 1 main 1 harddisk2:text/vim/test
> 2 2 FuncA 58 i = FuncA(10);
3 1 FuncC 357 harddisk2:text/vim/src/amiga.c
tags 이동 ( [count]po[p] , [count]ta[b] )
:po
:ta
:po ==> ctrl-t
:3po
:3ta
:tags ==> list 보기
이때 지금 까지 온 list 를 보고 다시 뒤로 갈수도, 뒤로 왔다가 다시 앞으로 갈수도 있다.
(tag stack 관련)
# TO tag FROM line in file/line
1 1 main 1 harddisk2:text/vim/test
> 2 2 FuncA 58 i = FuncA(10);
3 1 FuncC 357 harddisk2:text/vim/src/amiga.c
tags 이동 ( [count]po[p] , [count]ta[b] )
:po
:ta
:po ==> ctrl-t
:3po
:3ta
:tags ==> list 보기
vim 에서 디렉토리별 설정시
2009. 6. 2. 19:25
현재 디렉토리에
.vimrc 를 생성해서 따로 독립적인 환경을 셋팅후
:source .vimrc
:source 파일명
현재 .vimrc 를 다시 실행 하고 싶다면,
:so %
==> 현재 .vimrc 파일을 열고 있고, 현재 화면에 있는 파일이 .vimrc 파일규격일경우, 해당
프로파일을 셋팅 해준다.
.vimrc 를 생성해서 따로 독립적인 환경을 셋팅후
:source .vimrc
:source 파일명
현재 .vimrc 를 다시 실행 하고 싶다면,
:so %
==> 현재 .vimrc 파일을 열고 있고, 현재 화면에 있는 파일이 .vimrc 파일규격일경우, 해당
프로파일을 셋팅 해준다.
gdb 에서 stl 컨테이너 보기(vector, list, map,...) & gdb print option
2009. 6. 2. 15:49
gdb 에서 stl 컨테이너 데이터 보기
http://www.yolinux.com/TUTORIALS/GDB-Commands.html
gdb print option 설정
https://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_9.html
http://www.yolinux.com/TUTORIALS/GDB-Commands.html
gdb print option 설정
https://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_9.html
헛슨 ( hudson )
2009. 5. 12. 16:37
Home Page
국내 사용자 소개 블로그
https://hudson.dev.java.net/
국내 사용자 소개 블로그
http://younghoe.info/774
Using Hudson for C++/CMake/CppUnit
http://schneide.wordpress.com/2008/09/29/using-hudson-for-ccmakecppunit/
script pause ( read -n )
2009. 4. 14. 13:40
http://content.hccfl.edu/pollock/AUnix1/fancyio.htm
#!/bin/sh
Pause()
{
key=""
echo "Hit any key to continue...."
stty -icanon
key=`dd count=1 2>/dev/null`
stty icanon
}
Pause;