in reply to Desparately seeking a bilingual vim/Emacs expert
Here is a minimal usable .emacs file for Perl programming.
;; Use cperl mode instead of the default perl mode (defalias 'perl-mode 'cperl-mode) ;; Turn syntax highlighting on (global-font-lock-mode 1) ;; 4 space indent in cperl mode (setq cperl-indent-level 4) ;; Insert spaces instead of tabs (setq-default indent-tabs-mode nil)
It is better to use Ilya's cperl mode than the default perl mode. The syntax highlighting is optional but recommended. The last two commands set the indent level and the tab expansion. Combined with cperl mode these replicate the vi tab stop behaviour.
It may also be worth adding a link to the Emacs Wiki which is a great source of information.
|Replies are listed 'Best First'.|
Re^2: Desparately seeking a bilingual vim/Emacs expert
by barrachois (Pilgrim) on Mar 24, 2005 at 19:50 UTC
by TheDamian (Priest) on Mar 25, 2005 at 18:58 UTC
by TheDamian (Priest) on Mar 25, 2005 at 18:59 UTC