Posts tagged ‘emacs’

Remote file editing using emacs + ssh

emacs.png

Get TRAMP (Transparent Remote file Access, Multiple Protocol) :

http://savannah.gnu.org/projects/tramp/

Install it :

cd ~/.emacs.d/
tar -xvzf /your/download/folder/tramp-2.X.X.tar.gz
ln -s tramp-2.X.X tramp
cd tramp
./configure --with-contrib
make
sudo make install

Configure your emacs to use it :
1. Add the following in your .emacs

;; Remote file editing via ssh
(add-to-list 'load-path "~/.emacs.d/tramp/lisp/")
(require 'tramp)
(setq tramp-default-method "ssh")

2. Launch your emacs
3. C-x C-f /user@your.host.com:/path/to/file

Warning :
Seems it doesn’t work if no password is required to login to host (using public key for example). But not sure at all…

Emacs Cheatsheets

emacs.png

Some Emacs Basics

emacs.png

Emacs is a class of text editors that have an extensive set of features and that are popular with computer programmers and other technically proficient computer users.

GNU Emacs, a part of the GNU project, is under active development and is the most popular version. The GNU Emacs manual describes it as “the extensible, customizable, self-documenting, real-time display editor.” It is also the most portable and ported of the implementations of Emacs. As of March 2008, the latest stable release of GNU Emacs is version 22.2. Emacs should be included in most distro’s or easily installable from your distro’s repo’s.

Continue reading ‘Some Emacs Basics’ »