Tweak keybindings a bit

This commit is contained in:
2016-12-02 13:58:34 +00:00
parent 185a4b8aad
commit 46468bbd1d
3 changed files with 5 additions and 2 deletions

View File

@@ -39,6 +39,8 @@
"\\`Makefile\\'")))
(setq ack-prompt-for-directory 'unless-guessed)
;; Set global keybinding
(global-set-key (kbd "C-c C-a") 'ack)
(provide 'siren-full-ack)
;;; siren-full-ack.el ends here

View File

@@ -25,11 +25,10 @@
;; Align to equal signs
(global-set-key (kbd "C-x a =") 'siren-align-region-to-equals)
(global-set-key (kbd "M-]") 'siren-align-region-to-equals)
(global-set-key (kbd "C-x a {") 'siren-align-region-to-opening-brace)
;; align-regexp
(global-set-key (kbd "C-c C-a") 'align-regexp)
(global-set-key (kbd "C-c a") 'align-regexp)
;; Toggle auto-fill-mode.
(global-set-key (kbd "C-c q") 'auto-fill-mode)

View File

@@ -41,6 +41,8 @@
(global-set-key (kbd "C-c [") 'smart-shift-left)
(global-set-key (kbd "C-c ]") 'smart-shift-right)
(global-set-key (kbd "M-[") 'smart-shift-left)
(global-set-key (kbd "M-]") 'smart-shift-right)
(global-set-key (kbd "C-c /") 'comment-or-uncomment-region-or-line)
(global-set-key (kbd "C-c C-/") 'comment-or-uncomment-region-or-line)