开发者

Forward/Reverse link possible with emacs/HTML mode?

With emacs, it's pretty useful to edit HTML file. And I use 'Safari' (I'm a Mac user), to check if the HTML file is rendered correctly.

I always miss the AucTeX's forward/reverse link with pdf/tex files. I can shift-click on emacs/LaTeX file to corresponding pdf file, and vice versa. For example, when I shift-click on string 'abc' on tex source code, auc-tex finds the 'abc' string in the pdf file, and the other way round is possible.

Is there any way to do similar things in emacs? I mean, is there any too开发者_如何学JAVAl/mode that can connect back/forth between html file and browser?


Use

M-x browse-url-of-file

It's generally not bound, so I use...

(global-set-key (kbd "M-P") 'browse-url-of-file)

To globally bind Alt+Shift+p .. as "preview in browser"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜