0

My .emacs file:

;; viper mode default
(setq viper-mode t)
(require 'viper)

;; add to load path
(add-to-list 'load-path "~/.emacs.d/elisp/")

;; line number
(require 'linum)
(global-linum-mode 1)
(setq linum-format "%4d \u2502 ") ;; add spacing between numbering and text

When I comment out viper settings, line numbers show up as soon as I open up a file. When I enable viper on startup, line numbers do not show, I must do M-x linum-mode manually.

Andreas ZUERCHER
  • 862
  • 1
  • 7
  • 20
adelbertc
  • 7,270
  • 11
  • 47
  • 70

1 Answers1

1

Maybe a silly suggestion, but did you try to switch them around?

PascalVKooten
  • 20,643
  • 17
  • 103
  • 160