emacs
Last modified: December 28, 2006
GNU Emacs is a well known text-editor freely available for Windows, Linux and Mac users.
As a programmer, I spend a lot of time editing files and so I cannot afford not caring about the editor I use. Afterall, it affects my overall productivity. It’s like Photoshop or Gimp for designers, I guess.
Here are some tips for using GNU Emacs, tested with version 22.0.50.1. My GNU/Emacs configuration file is also available.
Help with binding keys: C-h b
Check work with ispell: M-$
Some emacs modes I use are available here. This archive contains:
emacs-stuff/ emacs-stuff/snippet.el emacs-stuff/css-mode.el emacs-stuff/find-recursive.el emacs-stuff/inf-ruby.el emacs-stuff/line-num.el emacs-stuff/prolog-0.1.31.el emacs-stuff/rails.el emacs-stuff/ruby-electric.el emacs-stuff/ruby-mode.el emacs-stuff/setnu+.el emacs-stuff/setnu.el emacs-stuff/php-mode.el
Removing the menubar, toolbar and scrollbar
You might want to do this in .Xresources, not in .emacs. That will make Emacs load less things on startup.
Have your ~/.Xresource like:
Emacs.menuBar: off Emacs.verticalScrollBars: off Emacs.toolBar: off Emacs*font: 7x14 Emacs*foreground: lightgray Emacs*background: black
Then run:
xrdb .Xresources
And try starting Emacs again.
Wrapping
(in construction..)
I’m looking for a way to transform a long line like:
palavra1 palavra2 palavra3 palavra4
into something more readable like this:
palavra1 \ palavra2 \ palavra3 \ palavra4
If you know how to do this please let me know. Thanks.


Recent Comments