vim 101 hacks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Buyer: xiujuan lu (luxiujuan@gmail.com)<br />
Transaction ID: 85W16630AD8515549<br />
Vim <strong>101</strong> Hacks<br />
www.thegeekstuff.com<br />
This indicates that the following bookmarks were created:<br />
• a – local bookmark with name “a” at line 15 and col 9. This also<br />
displays the text of line#15 . This is from the current open file, which<br />
is yp.conf<br />
• b – local bookmark with name “b” at line 11 and col 18. This also<br />
gives the text of line#18. This is from the current open file, which is<br />
yp.conf<br />
• G – global bookmark with name “G” at line 56 and col 0 of “group”<br />
file<br />
• P – global bookmark with name “P” at line 45 and col 0 of “passwd”<br />
file.<br />
Apart from the above bookmarks, anytime you type :marks inside Vim, you<br />
may get the following lines. These marks ‘ (single-quote), ” (double quote), [<br />
, ], ^ and . (period) are created and managed by Vim and you don’t have<br />
direct control over them.<br />
:marks<br />
mark line col file/text<br />
' 8 12 #^IUse broadcast on the local net<br />
" 1 0 # /etc/yp.conf - ypbind configuration<br />
[ 11 0 domain THEGEEKSTUFF<br />
] 11 19 domain THEGEEKSTUFF<br />
^ 11 19 domain THEGEEKSTUFF<br />
. 11 18 domain THEGEEKSTUFF<br />
39