 ;; C-h に割り当てられている関数 help-command を C-x C-h に割り当てる
 (global-set-key "\C-x\C-h" 'help-command)
 
-;; tag のキーバインド変更
+;; tag のキーバインド
 (global-set-key "\M-t" nil)
 (global-set-key "\M-tt" 'find-tag)
 (global-set-key "\M-t\M-t" 'find-tag)
 (global-set-key "\M-tn" 'next-tag)
 (global-set-key "\M-tp" 'pop-tag-mark)
 (global-set-key "\M-o" 'list-tags)
+
+;; goto-line を実行
+(define-key ctl-x-map "l" 'goto-line)
 
 ;; -------------------------------------------------------------------------
 ;; 自作関数

(setq js-indent-level 2)
(add-to-list 'auto-mode-alist '("\\.js\\'" . js-mode))
(add-to-list 'auto-mode-alist '("\\.json\\'" . js-mode))

;; ----------------------------------------------------------------------------
;; face についての設定
(when (not window-system)
  (custom-set-faces

   '(mode-line
     ((t :foreground "#005f00"
         :background "#999999")))

   '(mode-line-buffer-id
     ((t :foreground "#5f0000"
         :background nil
         :bold t
         :inherit 'mode-line)))

   '(button
     ((t :foreground "black"
         :background "gray"
         :bold nil)))

   '(confluence-panel-face
     ((t :background "#333333")))

   '(custom-changed-face
     ((t :background "#0000ff")))
   ))

(custom-set-faces
 '(highlight
   ((t :foreground nil
       :background "#0000ff")))

 '(hl-line
   ((t :foreground nil
       :background "#000033")))

 '(col-highlight
   ((t :inherit 'hl-line)))
 )


(custom-set-variables
 '(custom-enabled-themes "tsdh-dark")
 )

(when (not window-system)
  (custom-set-variables
   '(custom-enabled-themes (quote (manoj-dark)))
   ))

  ;; デフォルトで視覚化を有効にする。
  (global-whitespace-mode 1))

;; gnu global (gtags)
(when nil ;; (require 'gtags nil t)
  (global-set-key "\M-t" nil)
  (global-set-key "\M-tt" 'gtags-find-tag)
