Skip to content

Commit

Permalink
vim行号打开
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfeng committed Sep 27, 2011
1 parent 78f6d49 commit dc5c564
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sbin/init_vi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
# Author : danielfeng
# E-Mail : [email protected]

grep -q "set nu" /etc/virc || sed -i '4iset nu' /etc/virc
grep -q "set nu" /etc/vimrc || sed -i '4iset nu' /etc/vimrc

0 comments on commit dc5c564

Please sign in to comment.