목록TOOL (12)
Practice Makes Perfect
1. visual studio 설치 2. https://www.msys2.org/ 이것 설치 2.1 창 열리면 pacman -S --needed base-devel mingw-w64-x86_64-toolchain 3. 환경변수 설정 tony에 대한 환경변수 PATH 설정 C:\msys64\mingw64\bin
바꾸기 (1) 1~10행의 모든 Hello를 Bye로 변경 - :1,10s/Hello/Bye/g (2) 문서 전체의 모든 Hello를 Bye로 변경 - :%s/Hello/Bye/g (3) 현재 행에서 마지막 행 까지의 모든 Hello를 Bye로 변경 - :.,$s/Hello/Bye/g-: 블록 부분 바꾸기 :%s/원본문자/치환문자/g :1,$s/원본문자/치환문자/g :1,10s/원본문자/치환문자/g %는 문서 전체 1,10 는 1번째 줄에서 10번째 줄 ctrl v 를 눌러 가상 블럭을 설정하여 자기가 원하는 라인 부터 아래로 블럭을 설정 그리고 : 를 누르면 :'
한개 조건 찾을 때 =IF(ISNUMBER(SEARCH("1608",D15)),"0603 (1608)","") 두개 조건 찾을 때 =IF(ISNUMBER(SEARCH("1608",D15)),"0603 (1608)",IF(ISNUMBER(SEARCH("1005",D15)),"0402 (1005)",""))
한번에 주석 처리 1. 원하는 Line block 설정 2. : 누른다. '
한번에 주석 처리 1. 원하는 Line block 설정 2. : 누른다. '
:%s/\t/ /g %s -> 전체\t -> tqb// -> 공백의 크기 EXAMPLE Tab -> 공백(한 칸):%s/\t/ /g 개행 -> 공백( 한 칸):%s/\n/ /g
=====================================.vimrc // cygwin set hlsearchset nuset nobackupset visualbellset autoindentset scrolloff=2set wildmode=longest,listset ts=4set sts=4set sw=1set autowriteset autoreadset cindentset bs=eol,start,indentset history=256set laststatus=2set shiftwidth=4set showmatchset smartcaseset smartindentset softtabstop=4set tabstop=4set rulerset incsearchset fileencodings=utf8..