Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added show-wspace.el

  • Loading branch information...
commit 13c8141458188eba37ef60681aaac83a34022cd2 1 parent 4d16508
Kenichi Sasaki authored
Showing with 38 additions and 5 deletions.
  1. +14 −2 dot-emacs/ac-comphist.dat
  2. +24 −3 dot-emacs/init.el
View
16 dot-emacs/ac-comphist.dat
@@ -1,4 +1,12 @@
-((("toggle-truncate-lines" .
+((("show-ws-highlight-tabs" .
+ [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+ ("show-ws-highlight-*" .
+ [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0])
+ ("font-lock-mode-hook" .
+ [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0])
+ ("add-hook" .
+ [1 0 0 0 0 1 0 0])
+ ("toggle-truncate-lines" .
[0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0])
("nil" .
[3 0 0])
@@ -13,4 +21,8 @@
("linum-mode" .
[0 0 0 0 0 0 0 0 1 0])
("when" .
- [1 0 0 0])))
+ [1 0 0 0])
+ ("show-ws-trailing-whitespace" .
+ [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+ ("show-ws-highlight-trailing-whitespace" .
+ [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])))
View
27 dot-emacs/init.el
@@ -35,11 +35,21 @@
(set-file-name-coding-system 'utf-8-hfs)
(setq locale-coding-system 'utf-8-hfs))
-;; column number
-(column-number-mode t)
+;; anything!!
+(require 'anything-startup)
+
+;; auto-complete
+(when (require 'auto-complete-config nil t)
+ (add-to-list 'ac-dictionary-directories
+ "~/.emacs.d/elisp/ac-dict")
+(define-key ac-mode-map (kbd "M-TAB") 'auto-complete)
+(ac-config-default))
-;; line number
+;; column,line number
+(column-number-mode t)
+(require 'linum)
(global-linum-mode t)
+(setq linum-format "%d ")
;; TAB
(setq-default tab-width 4)
@@ -51,6 +61,14 @@
;;(color-theme-bluemood)
)
+;; show w-space
+(when (require 'show-wspace nil t)
+ (add-hook 'font-lock-mode-hook 'show-ws-highlight-tabs)
+ (add-hook 'font-lock-mode-hook 'show-ws-highlight-trailing-whitespace)
+)
+
+
+
;; php-mode
(c-add-style "php/dietcake"
'((c-basic-offset . 4)
@@ -77,3 +95,6 @@
(add-hook 'php-mode-hook (lambda ()
(c-set-style "php/dietcake")))
+
+;; wgrep
+(require 'wgrep nil t)
Please sign in to comment.
Something went wrong with that request. Please try again.