...
  • Home
  • Shell
    • Emacs
    • Perl
    • screen
    • sed
  • Ubuntu
    • VNC
  • Web Development
    • Javascript
    • Joomla
    • MySQL
    • osTicket
  • Windows
    • Gimp
KEEP IN TOUCH

Most Popular

  • osTickets > Reports v4.1 (11805)
  • HTPC > Setup Windows 7 as a Media Center with XBMC (6368)
  • osTicket > Auto-Assignment Rules (3602)
  • osTicket > View headers for original email message (2331)
  • Ubuntu 10.10 VNC Login Screen (2161)

Posts in category Emacs

Emacs > Use % to jump to the matching parenthesis/brackets

Oct26
2010
Leave a Comment Written by Scott Rowley

Found the following while working on other emacs configurations, works great for when your code gets out of hand:

;;; Use "%" to jump to the matching parenthesis.
(defun goto-match-paren (arg)
 "Go to the matching parenthesis if on parenthesis, otherwise insert
the character typed."
 (interactive "p")
 (cond ((looking-at "\s(") (forward-list 1) (backward-char 1))
 ((looking-at "\s)") (forward-char 1) (backward-list 1))
 (t                    (self-insert-command (or arg 1))) ))
(global-set-key "%" `goto-match-paren)
ajax loader
Tagged bracket, edit, jump, parenthesis, search
SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail

Emacs > Remove welcome screen/splash from emacs

Oct26
2010
Leave a Comment Written by Scott Rowley

If you are tired of seeing the welcome screen, despite it being the 486th time you’ve opened emacs just perform the following:

Edit your .emacs file and add the following:

;; Remove splash screen
(setq inhibit-splash-screen t)
ajax loader
Tagged BASH, splash, welcome
SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail

Emacs > Set delete key in emacs

Oct26
2010
Leave a Comment Written by Scott Rowley

I really hate that the delete key backspaces. I’m sure there is a lot of pointless posturing on how this is the ‘old school’ way. Well… 1) I don’t care 2) I’m new school and I want a backspace key AND a delete key…
Add the following line to your ~/.emacs file:

(global-set-key (kbd "") 'delete-char)
ajax loader
Tagged backspace, BASH, delete, key
SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail

Be Heard!

Authors needed! Feel like sharing your tech wisdom with the world? We are looking to expand our writer base and would love to hear from you. We need articles on any relevant technology/software/media/howto/etc (Well...lets at least hold to the legal stuff ;)

Just email scott (at) sudobash (dot) net

Corrections? Questions? Comments?

Find an error?
Everything work out great for you?
Have some feedback?
Like to see something added to the article?

PLEASE leave us a comment after the article and let us know how we are doing, or if something needs corrected, improved or clarified.

Thank you!
- The Management

Sudo Bash Member sites

Des Moines, Iowa Karate Classes
Iowa MMA Tournaments
Iowa SAR

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

RSS HowToGeek

  • DIY Digital POV Clock On a Hard Drive Platter
  • How to Disable the Splash Screens in Office (Word, Excel, PowerPoint)
  • How To Resolve Dependencies While Compiling Software on Ubuntu
  • Version Tracking With Subversion (SVN) For Beginners
  • How to Set Up Email Notifications for Your Windows Home Server

RSS TheGeekStuff

  • How to Install GIT for Windows and Create / Clone Remote Repositories
  • 5 Practical Linux fuser Command Examples
  • Linux Memory Management – Virtual Memory and Demand Paging
  • XSS Attack Examples (Cross-Site Scripting Attacks)
  • 10 Things You (and Your Boss) Can Do To Change Your World

RSS LifeHacker

  • Remove Clothing Wrinkles with a Damp Towel [Clothes]
  • Factor in the Convenience Fee Before Charging Income Taxes to Your Credit Card [Taxes]
  • How to Block Annoying Tech Rumors and Movie Spoilers on Your Browser [Annoyances]
  • Use Plastic Shower Caps in the Kitchen to Cover Large Bowls and Leftovers [Clever Uses]
  • Twitter for iOS and Android Updates, Restores Swipe Gestures and Optimizes for Android Tablets [Updates]

EvoLve theme by Blogatize  •  Powered by WordPress Sudo Bash
By Geeks - For Geeks

Back to Top