vi Commands – Moving the Cursor

j or <Return>
[or down-arrow]
move cursor down one line
k [or up-arrow]move cursor up one line
h or <Backspace>
[or left-arrow]
move cursor left one character
l or <Space>
[or right-arrow]
move cursor right one character
0 (zero)move cursor to start of current line (the one with the cursor)
$move cursor to end of current line
wmove cursor to beginning of next word
bmove cursor back to beginning of preceding word
:0<Return> or 1Gmove cursor to first line in file
:n<Return> or nGmove cursor to line n
:$<Return> or Gmove cursor to last line in file

Vim … commands in a day.

That’s it!  I am sick of goggling Vim commands.  Today I am starting my journey into committing them to memory and my blog or course – lol.  Every time I feel the need to google commands I will post them to my blog and use them all day.  Yes!  Makes perfect sense.  At least to me…

Today’s commands

Line numbering:

Turn on using – :set number
Where I am in what file – Ctrl + g
Goto a line number – #G

Mouseflow: watch visitors interact with your website

image

Mouseflow is an amazing service that makes it easy for you to capture all mouse movements, clicks, scrolls, keystrokes, and form fills on your website.  This takes the guesswork out of analytics by recording live video of your website visitors interaction with your website.

Check out Mouseflow now.

Tagged with:

Video: Installing Drupal 7 in less than 2 Minutes using Drush 5

Tagged with: ,

How to run Android apps without an emulator.

Tagged with: , , ,

Multiple monitors? Need to block out background noise?

Post this video in a one monitor, turn up the speakers and code away.

API Design: It’s Not Rocket Surgery (PHPUK13) by Dave Ingram

Online learning resources

RESTful API Design, Second Edition from Apigee

This is a slightly older presentation on RESTful API design but most of the information is still very relevant

Slides

Link to slides:

HTML5 Developer Conference

JavaScript Libraries Choose to Reuse! - YouTube

Published on Dec 12, 2012 (YouTube)

No problem should have to be solved twice. In the battle for code reuse, libraries are your secret weapon. But how do you build a JavaScript library? What patterns should you use to organize library code that grows over time?

In this talk from HTML5DevConf, YouTube’s Jeremy Kahn will focus on patterns that were developed in practice while writing actual open source JavaScript libraries. Kahn will go over testing, documentation, deployment optimization, and more.

Top