mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Tweak keybindings a bit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user