;

연암과 다산 사이

블로그 이미지
문패 달고 보니까 넘 커다란 이름이네요 ^^; 행여 고래 등 사이에 끼인 새우가 되지 않기를 ㅎㅎ 연암은 고미숙님의 '열하일기, 웃음과 역설의 유쾌한 시공간'에서, 다산은 '다산연구소' (http://www.edasan.org)에서 삘 받았슴다. 잼난 놀이터가 되었으면... ^^
by 명랑만화
  • Total hit
  • Today hit
  • Yesterday hit
11-13 00:17

** vi
- substitution
:start_line,end_line s/object/destination/g
:1,$ s/object/destination/g                      ( -> for all the lines )


- Insertion from file
:r file_name

- Display the Line number
:set nu

- Write to file with line number
:start_line,edn_line w File_Name

- Write to file with marker
'ma' at the start line     // the line is marked as 'a'
'mb' at the end line      // the line is marked as 'b'
:'a,'b w File_Name 



** gvim/gview : Editor

- .gvimrc :

   Set parameters and evironment for gvim, e.g. colors of backgroud and font, highlights, syntax format, etc.
☞ e.g. https://ya-n-ds.tistory.com/1556#comment17238041 

  cf. :set ft=verilog    // Set Syntax format as Verilog

 

- gvim .   // View files in the current directory 


- Move to a file in the opened file : gf
  Move back to the original file : ctrl+shft+6

- Check difference bewteen 2 files
> gview -d file1 file2
@gview menu -> File -> Split Diff with...

- Column Block Insertion
☞ Place the cursor on the start point of the vertical change → ‘ctrl + v’
☞ Pull down the cursor to the end of the edited line
☞ ‘shift + i’ → Write the characters to be inserted → Esc

- Window Menu
☞ Window ( alt + w ) → Split : Horizontal split
☞ Window ( alt + w ) → (v) Split Vertically
☞ Window ( alt + w ) → (x) Split File Explorer : View of Directory and File

AND

ARTICLE CATEGORY

분류 전체보기 (4402)
올드Boy다이어리 (530)
올드Boy@Jeju (83)
올드Boy@Road (131)
올드Boy@Book (58)
숨은길찾기 (14)
스펙트럼 (104)
우물밖엿보기 (32)
교회에말걸기 (226)
이어지는글들 (52)
하하호호히히 (73)
어?...아하! (124)
대한늬우스 (1629)
세계는지금 (263)
차한잔의여유 (64)
La Vita E Bella (230)
좋은나라만들기 (91)
트위터세상 (67)
사람&말 (607)
호모파베르 (20)

RECENT ARTICLE

RECENT COMMENT

RECENT TRACKBACK

CALENDAR

«   2024/11   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

ARCHIVE