 ;; beep音を消す
 (defun my-bell-function ()
   (unless (memq this-command
-		'(isearch-abort abort-recursive-edit exit-minibuffer
-				keyboard-quit mwheel-scroll down up next-line previous-line
-				backward-char forward-char))
+                '(isearch-abort abort-recursive-edit exit-minibuffer
+                                keyboard-quit mwheel-scroll down up next-line previous-line
+                                backward-char forward-char))
     (ding)))
 (setq ring-bell-function 'my-bell-function)
 (require 'package)

(global-set-key (kbd "C-M-k") 'backward-kill-line)

;; C-M-{h,m,l}でウィンドウ内移動
;(global-set-key (kbd "C-M-h") (lambda () (interactive) (move-to-window-line 0)))
;(global-set-key (kbd "C-M-m") (lambda () (interactive) (move-to-window-line nil)))
;(global-set-key (kbd "C-M-l") (lambda () (interactive) (move-to-window-line -1)))

;; カーソルキーでウィンドウ間を移動
(define-key global-map (kbd "<up>") 'windmove-up)

(setq web-mode-auto-close-style 1)
(setq web-mode-tag-auto-close-style t)
(setq web-mode-enable-auto-pairing t)
;; indent 2<->4
(defun web-mode-indent (num)
  (interactive "nIndent: ")
  (setq web-mode-markup-indent-offset num)
  (setq web-mode-css-indent-offset num)
  (setq web-mode-style-padding num)
  (setq web-mode-code-indent-offset num)
  (setq web-mode-script-padding num)
  (setq web-mode-block-padding num)
  )
(web-mode-indent 2)

;; emmet-mode ; div TAB で <div>|</div>とか html>div TAB とか
(require 'emmet-mode)
(add-hook 'sgml-mode-hook 'emmet-mode)
(add-hook 'php-mode-hook 'emmet-mode)
(add-hook 'emmet-mode-hook (lambda () (setq emmet-indentation 2)))
(define-key emmet-mode-keymap (kbd "C-C C-i") 'emmet-expand-line)

;; ;; 色の設定 黄色くてつよい
;; (custom-set-faces
