Skip to content

Commit

Permalink
移動
Browse files Browse the repository at this point in the history
  • Loading branch information
ncaq committed Jan 13, 2014
1 parent a8a58e3 commit cd41fcc
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion profile.d/22_key-bind.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
(global-set-key (kbd "M-c") 'help-command);HHKだとF1押しにくい
(global-set-key (kbd "M-h") 'backward-kill-word)
(global-set-key (kbd "M-j") 'ag-project)
(global-set-key (kbd "M-l") 'sort-paragraphs);ソートする
(global-set-key (kbd "M-l") 'sort-lines);ソートする
(global-set-key (kbd "M-m") 'through-newline);
(global-set-key (kbd "M-n") 'forward-paragraph)
(global-set-key (kbd "M-o") 'ibuffer);もう一つのバッファーリスト
Expand Down
Binary file modified profile.d/22_key-bind.elc
Binary file not shown.
10 changes: 5 additions & 5 deletions profile.d/70_cpp.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@

(add-to-list 'auto-mode-alist '("\\.h$" . c++-mode));*.hをc++モードで開く

(defun ncaq-c++-mode-set ()
(c-set-style "bsd")
(define-key c-mode-base-map [remap indent-whole-buffer] 'indent-brackets-whole-buffer))
(add-hook 'c-mode-common-hook 'ncaq-c++-mode-set)

(add-hook 'c-mode-hook (lambda ()
(setq flycheck-clang-language-standard "c11")))

Expand All @@ -16,3 +11,8 @@

(require 'c-eldoc)
(add-hook 'c-mode-common-hook 'c-turn-on-eldoc-mode)

(defun ncaq-c++-mode-set ()
(c-set-style "bsd")
(define-key c-mode-base-map [remap indent-whole-buffer] 'indent-brackets-whole-buffer))
(add-hook 'c-mode-common-hook 'ncaq-c++-mode-set)
Binary file modified profile.d/70_cpp.elc
Binary file not shown.
4 changes: 2 additions & 2 deletions profile.d/70_d.el
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(require 'd-mode)
(require 'auto-complete)

(add-to-list 'ac-modes 'd-mode)

(defun ncaq-d-mode-setup ()
(define-key d-mode-map [remap indent-whole-buffer] 'indent-brackets-whole-buffer))
(add-hook 'd-mode-hook 'ncaq-d-mode-setup)

(add-to-list 'ac-modes 'd-mode)
Binary file modified profile.d/70_d.elc
Binary file not shown.
File renamed without changes.
File renamed without changes.

0 comments on commit cd41fcc

Please sign in to comment.