티스토리 뷰
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
- spec
- C
- benchmark
- meld
- deb
- opennebula
- Ubuntu 9.04
- latex
- KVM
- MPI
- C언어 정리
- C정리
- VIM
- ubuntu 8.10
- perfmon2
- SNU 석사논문 latex
- SNU 학위논문 latex 포멧
- Java profiler
- ubuntu
- latex on ubuntu
- YourKit
- r
- known_hosts
- ssh
- nas parallel benchmark
- benchmarks
- 서울대 학위논문 포멧
- hprof
- Xen
- SNU latex 논문
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함