vim – yank/xopy in different register to paste

Very quick update, to use registers, you can select and then yank in a register to paste using the same register. This could be a convinient way to copy multiple selections and then paste which ever selection you want. Here is the simple way to do it:

visuallly select with v/V

then “qy to yank (here we are yanking into register q, so in the command you can use any of a-z to use as register)

then “qp to paste..

To, view all the registers, you can use the command “registers”.


Enhanced by Zemanta

Firefox troubleshooting

Here are few quick tips on getting to see what could be wrong with firefox.

Config entries – about:config

Support Information – about:support

Details on config entries –

Reset firefox profile –

Firefox profiles –


Enhanced by Zemanta

viewvc – serve current directory in web interface.

Here is the description of viewvc:

ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files
as well as diffs between those versions. Basically, ViewVC provides the bulk
of the report-like functionality you expect out of your version control tool,
but much more prettily than the average textual command-line program output.

and to install, just execute:

sudo yum install viewvc

And when you want to serve the current directory in the web browser, you just need to execute the following command in that directory:

/usr/lib/python2.7/site-packages/viewvc/bin/ -r $PWD


Enhanced by Zemanta