beyond teck

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 15 May 2010

Efficient Cursor Navigation while Coding

Posted on 19:48 by Unknown
One of the reasons why most people like the trackpoint on those little IBM/lenovo notebooks is probably because you don't have to remove your hand from the "keyboard" area when you are typing something (or perhaps editing something too). Naturally, not having to move your hands from the keyboard area to the trackpad or mouse will save you a few seconds or may be minutes if you tend to sit at your computer for hours together.

However, recently after watching a talk by Richard Stallman about freedom (related to computer software that is) I remember his talk about the Church of Emacs. And finally, I decided to give emacs a try. I had never used it before (didn't really have to write all too much code), but after playing around with it for a several hours or so, I realized something really great: using the key combos to move your cursor around does increase your efficiency.

Here are some key combinations that will make your life a lot easier while using emacs or a mac (note, all of these combinations may not always work on a mac...)

Control + p = previous line
Control + n = next line
Control + f = forward one character
Control + b = back one character
Control + a = front of a line
Control + e = end of a line
Control + d = delete forward (because on most laptops/keyboards the delete button is usually further away from the backspace key)

While some people say that it might induce carpal tunnel syndrome, I for one think that pressing key combinations to move your cursor around, especially when you are coding can greatly improve your speed (until voice recognition becomes mainstream that is).

Try it, you'll be surprised how much you'll what to use these key combos elsewhere. Too bad on Windows some of these combinations are mapped to printing a file (which I don't do that often) or opening a new file.

What's more: These key combinations don't work only in emacs, they also work on macs! So now, whenever I am doing something, and need to go to the previous line or the next line, it just use the key combinations!
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in code | No comments
Newer Post Older Post Home
View mobile version

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • WeTransfer Job Ad
    I like using WeTransfer to transfer things that don't fit in emails, mainly because the site is fast, has a large upload limit (2GB!) an...
  • Contact Me!
    Okay so you want to contact me for something? No Problem! E-Mail You can send all your questions , comments , tips (I need a lot of those)...
  • The Beyond-Teck Search Plugin
    I realize that it is hard to come to the site all the time to search for something. Especially when you are studying for tests, using the bl...
  • Adium Update
    Looks like Adium (or Adium X) was updated. Now of course Adium isn't the messenger I use most (I use Trillian + Windows Live Messenger...
  • What is Bootsec.Bak? Can I delete it?
    Today when I was browsing through my C: folder, which I don’t always do, I noticed that I had a lot of junk on there. Most of it seemed to b...
  • Fixing Windows or Linux With Knoppix
    Extreme Tech had published a few articles a few days ago on how to use Knoppix to rescue Windows , and now they've published an article...
  • Review of ActualMultipleMonitors from Actual Tools in Windows 8
    I was recently contacted by Actual Tools and they asked me to try out their newest version of Actual Multiple Monitors . It is a tool that p...
  • Another cool resource...
    When I was surfing around the new I just found another cool resource which is called Tech-Recepies. This place has all cool tutorials and tw...
  • Num Lock and Caps Lock on a Blackberry
    While it feels amazing to type away on a blackberry keyboard (even for a person with big fingers like me), one thing that I have recently di...
  • Mac Tip: Extended Menubar Replacement for Dual Monitors
    Sometimes, having dual monitors is a great thing (see: 21 killer tips to increase your productivity on your computer ). Having dual computer...

Categories

  • addons
  • adobe
  • ads
  • adsense
  • apple
  • audio
  • blackberry
  • blog
  • blogger
  • blogging
  • cars
  • cellphones
  • clean
  • code
  • comments
  • cricket
  • downloads
  • ebooks
  • email
  • error
  • file sharing
  • firefox
  • fixes
  • free
  • games
  • gas
  • Gmail
  • google
  • hack
  • hotmail
  • installs
  • instant messaging
  • internet
  • internet explorer
  • ipod
  • laptop
  • Linux
  • Live Writer
  • lol
  • Mac
  • mac. mail
  • mail
  • messenger
  • microsoft
  • Microsoft Word
  • money
  • msn
  • music
  • Musings
  • network
  • news
  • online
  • Outlook
  • page
  • peripherals
  • phones
  • photo
  • photoshop
  • php
  • plagiarism
  • problems
  • productivity
  • programming
  • projects
  • rant
  • Registry
  • Review
  • school
  • Screenshots
  • search
  • security
  • software
  • spam
  • speech
  • speed up windows
  • spyware
  • sysfader
  • technology
  • tip
  • tricks
  • tutorials
  • ubuntu
  • updates
  • video
  • virus
  • voip
  • web
  • wi-fi
  • Windows
  • Windows 7
  • Windows Vista
  • Windows XP
  • wireless
  • work
  • wtf
  • youtube

Blog Archive

  • ►  2013 (5)
    • ►  October (2)
    • ►  August (2)
    • ►  March (1)
  • ►  2012 (6)
    • ►  December (1)
    • ►  October (1)
    • ►  June (1)
    • ►  May (1)
    • ►  January (2)
  • ►  2011 (19)
    • ►  October (1)
    • ►  August (1)
    • ►  July (8)
    • ►  June (1)
    • ►  February (4)
    • ►  January (4)
  • ▼  2010 (41)
    • ►  November (1)
    • ►  October (3)
    • ►  September (3)
    • ►  August (2)
    • ►  July (12)
    • ►  June (2)
    • ▼  May (5)
      • Sending Scheduled Emails through Apple Mail
      • 10 Things to do after a Fresh Ubuntu Install
      • Efficient Cursor Navigation while Coding
      • Flickering Monitor in Ubuntu 10.04 for ATI Cards
      • Making PHP-mode on Emacs 23 Work Properly
    • ►  April (3)
    • ►  March (4)
    • ►  February (4)
    • ►  January (2)
  • ►  2009 (59)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  September (3)
    • ►  August (4)
    • ►  July (4)
    • ►  June (14)
    • ►  May (1)
    • ►  April (3)
    • ►  March (3)
    • ►  February (4)
    • ►  January (20)
  • ►  2008 (108)
    • ►  December (22)
    • ►  November (10)
    • ►  October (14)
    • ►  August (13)
    • ►  July (13)
    • ►  June (6)
    • ►  May (13)
    • ►  April (10)
    • ►  March (5)
    • ►  January (2)
  • ►  2007 (33)
    • ►  December (8)
    • ►  November (1)
    • ►  October (4)
    • ►  September (10)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (2)
    • ►  April (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2006 (137)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (9)
    • ►  May (20)
    • ►  April (22)
    • ►  March (33)
    • ►  February (20)
    • ►  January (26)
  • ►  2005 (55)
    • ►  December (12)
    • ►  November (19)
    • ►  October (9)
    • ►  September (15)
  • ►  2001 (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile