Monthly Archives: May 2010

What exactly is the source of your happiness again?

Something from the New York Times… I’d finally managed to exile the voices in my head that told me my personal happiness was only as good as my outward success, rooted in things that were often outside my control.

Share
Posted in Uncategorized | Tagged | Leave a comment

Problem Using Vim on the Motorola Droid

I use the excellent ConnectBot SSH client on my Motorola Droid to SSH into Linux/Unix boxen. Subsequently, I make the mistake of using Vim. Once I enter insert mode in Vim, I realize that the Droid keyboard (and probably every other smartphone keyboard) doesn’t have any key representing the Escape key (that is used in [...]

Share
Posted in Uncategorized | Tagged , | 2 Comments

Creating and Using Keyboard Macros (Record Macro, Play Macro) to Record and Playback Keystrokes in Vim

In normal mode, press the key sequence q followed by a. This starts the recording mode (and you should see the word “recording” on the mode-line at the bottom). Then enter or exit the insert-mode as many times as you wish, editing text using the keyboard. All the time, vim will keep recording all your [...]

Share
Posted in Uncategorized | Tagged | Leave a comment

Creating and Using Keyboard Macros (Record Macro, Play Macro) to Record and Playback Keystrokes in Emacs

Use C-x ( to start the macro (start recording keystrokes) …Perform whatever keyboard actions… Use C-x ) to stop the macro (stop recording keystrokes) Playback the recorded macro anytime using C-x e You can also assign different hot-keys for convenience: (global-set-key [f1] ‘start-kbd-macro) (global-set-key [f2] ‘end-kbd-macro) (global-set-key [f3] ‘call-last-kbd-macro) Check out the KeyboardMacros Emacs Wiki [...]

Share
Posted in Uncategorized | Tagged | 1 Comment