Skip to main content

Vimperator

I have been learning vi for the last few months, and in an effort to use it more, I have installed Vimperator on Firefox. It is basically an add-ons that can be installed on Firefox and what it does it that lets you browse a page using vi commands.

It is pretty nice, it allows me to browse a page without using the mouse. It gets very addictive actually because you come to a certain point where you even *feel lazy* to grab the mouse to browse the page.... Well, feeling lazy is a bit of an exaggeration... It's more than sometimes I am in the mood to use the mouse, sometimes I would rather keep my fingers on the keyboard.

Anyhow, it doesn't work well all the time though... But here is a command I found very useful for copying and pasting

1. / to search for something
2. i to enter carret mode
3. v to enter visual mode
4. move by j,k to select the text
5. y to yank the text
6. ctrl-v to paste later on...

that's it !

Comments

Popular posts from this blog

HTML5 Dev Conf and IOTAConf

Next week is going to be really fun. I have the opportunity to attend the HTML5DevConf and IOTAConf again and also go to a new conference hosted by Twitter: Twitter Flight Here's the schedule of the talks I intend to go for the HTML5DevConf: http://www.iotaconf.com/schedule.html http://html5devconf.com/schedule.html Monday: 7:30-9:00 Registration 9:00-9:50 1. The Web of things - Leveraging the web for the internet of things, E-135 2. Design patterns for an internet of things, N-123 3. Dump SASS and Less CSS for JS powered CSS, Michael Mikowski, Qualaroo, E-131 10-10:40 Break 10-40-11:30 1. How to create native-like experience in the mobile web, E-131 2. Bringing Web content to the big screen with google cast, E-130 11:40-12:30 1. Virtual Reality & the future of the web, E-135 2. The new meteor platform, web and native mobile from a single reactive javascript codebase, E-133 1:30-2:20 1. Engaging Apps: Service Workers, Push an

Run python inside python and capture output

This is taken from http://techkr.blogspot.com/2007/02/python-how-to-get-output-from-ossystem.html: How to execute python inside python and capture output: A quick solution using popen : import os result=os.popen('command').read() print result where command is your command (expl. on windows: dir,ipconfig,...) If you expect more than a line and want each word in a list: import os,string result=string.split(os.popen('dir/w').read())