/search phrase/e
Software, web, and programming tips: C++, Java, C, Linux, Windows, Cygwin, Firefox, Vim, WWW, RSS
Thursday, August 23, 2007
VIM - Search to end of word
This will leave your cursor at the end of the searched phrase:
Monday, August 13, 2007
VIM - format lines to certain width
First,
:set textwidth=80 (or :set tw=80)
Then,
For more help,
:help gq
:set textwidth=80 (or :set tw=80)
Then,
gqq | Format a single line |
{Visual}gq | Format visual selection. (ctrl+v to get to visual mode then use hjkl to navigate) |
For more help,
:help gq
Sunday, August 5, 2007
Compile Pidgin for Ubuntu 7.04
Download source: http://www.pidgin.im/download/
Install dependencies:
For MSN and GoogleTalk:
Compile:
Install dependencies:
sudo apt-get install gettext libglib2-dev libgtk2.0-dev libxml2-dev
For MSN and GoogleTalk:
sudo apt-get install libnss-dev libnspr-dev
Compile:
./configure
make
sudo make install
make install clean
Subscribe to:
Posts (Atom)