Liuw's Thinkpad

想要赢就先学会输,想要成功就先学会失败

Archive for the ‘emacs’ tag

Emacs Tramp Mode

without comments

Quick-start tramp configuration

(setq tramp-defualt-method “ssh”)

For GNU Emacs

C-x C-f /remotehost:filename RET
C-x C-f /method:user@remotehost:filename

Written by liuw

July 21st, 2009 at 4:22 pm

Posted in Programming

Tagged with ,

Emacs Server and Client

without comments

远程调用EMACS编辑器。

首先启动emacs server。在配置文件中加入。

;; .emacs
(start-server)

这样启动一个emacs之后,server也随之启动。

如果要在此server中编辑,请使用

emacsclient FILE
emacsclientw FILE (for windows)

退出使用C-x #,而不是C-x C-c,否则会关闭server。

Written by liuw

June 25th, 2009 at 3:41 pm

Posted in UNIX-like,分享

Tagged with , , ,

EMACS中输入TAB的方法

without comments

c-q TAB
bash处在emacs mode时也适用

Written by liuw

June 15th, 2009 at 7:12 pm

Posted in Programming,UNIX-like

Tagged with ,

从 VIM 向 EMACS 倒戈

without comments

VIM 是编辑器的神。

EMACS 是神的编辑器。

——anonymous

Read the rest of this entry »

Written by liuw

April 13th, 2008 at 9:34 am

Posted in Programming

Tagged with ,