티스토리 뷰
Instead of just displaying numbers (:set nu) in vim, I want to add lines numbers to a file in vim
:%s/^/\=line('.')/
===>>>
1. http://stackoverflow.com/questions/252766/add-line-numbers-in-vim
:%s/^/\=line('.')/
Reference1. http://stackoverflow.com/questions/252766/add-line-numbers-in-vim
'linux' 카테고리의 다른 글
Vim Folding (0) | 2010.12.05 |
---|---|
Tag List on the side Windows in Vim. (0) | 2010.12.03 |
tag lislt, vim plugin (0) | 2010.11.18 |
Switch to next/previous file in VIM (0) | 2009.11.07 |
Virtualization Benchmarks Notes (0) | 2009.09.15 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- hprof
- ubuntu
- VIM
- latex on ubuntu
- Java profiler
- known_hosts
- SNU latex 논문
- C
- SNU 학위논문 latex 포멧
- spec
- KVM
- 서울대 학위논문 포멧
- MPI
- perfmon2
- opennebula
- meld
- nas parallel benchmark
- C정리
- YourKit
- r
- benchmarks
- C언어 정리
- SNU 석사논문 latex
- Xen
- ubuntu 8.10
- Ubuntu 9.04
- benchmark
- ssh
- latex
- deb
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함