Skip to content

Commit 764da31

Browse files
committed
set linum-mode.
1 parent 2c32f51 commit 764da31

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

config/01base/basesetup.el

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ scroll-conservatively 10000)
123123

124124
;;加入行号显示
125125
(require 'linum)
126+
(setq global-linum-mode t)
126127

127128
;;高亮当前行
128129
;;(global-hl-line-mode 1)

dotemacs.ubnutn810

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
(custom-set-variables
2+
;; custom-set-variables was added by Custom.
3+
;; If you edit it by hand, you could mess it up, so be careful.
4+
;; Your init file should contain only one such instance.
5+
;; If there is more than one, they won't work right.
6+
'(bsh-jar "~/.emacs.d/vendor/25jdee/jde/java/lib/bsh.jar")
7+
'(column-number-mode t)
8+
'(current-language-environment "UTF-8")
9+
'(display-time-mode nil)
10+
'(ecb-options-version "2.32")
11+
'(global-linum-mode t)
12+
'(jde-jdk-registry (quote (("1.6" . "/usr/lib/jvm/java-6-sun"))))
13+
'(make-backup-files nil)
14+
'(safe-local-variable-values (quote ((Coding . iso-2022-7bit) (ruby-compilation-executable . "ruby") (ruby-compilation-executable . "ruby1.8") (ruby-compilation-executable . "ruby1.9") (ruby-compilation-executable . "rbx") (ruby-compilation-executable . "jruby"))))
15+
'(scroll-bar-mode nil)
16+
'(show-paren-mode t)
17+
'(transient-mark-mode t)
18+
'(weblogger-config-alist (quote (("i.crazycode.me" ("user" . "i") ("server-url" . "http://blog.crazycode.me/xmlrpc.php") ("weblog" . "1")) ("default" ("user" . "admin") ("server-url" . "http://blog.crazycode.me/xmlrpc.php") ("weblog" . "1"))))))
19+
(custom-set-faces
20+
;; custom-set-faces was added by Custom.
21+
;; If you edit it by hand, you could mess it up, so be careful.
22+
;; Your init file should contain only one such instance.
23+
;; If there is more than one, they won't work right.
24+
'(flymake-errline ((((class color)) (:background "DarkRed"))))
25+
'(flymake-warnline ((((class color)) (:background "DarkBlue")))))
26+
27+
;; ;; make #! scripts executable after saving them
28+
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
29+
;;
30+
31+
;;(setq default-frame-alist
32+
;; '((height . 35) (width . 100) (menu-bar-lines . 20) (tool-bar-lines . 0)))
33+
34+
(load "~/.emacs.d/init.el")
35+
36+
;;(make-variable-buffer-local 'yas/trigger-key)
37+
;;(add-hook 'ruby-mode-hook ;; or rails-minor-mode-hook ?
38+
;; '(lambda ()
39+
;; (setq yas/trigger-key
40+
;; (kbd "<tab>"))))

0 commit comments

Comments
 (0)