|
|
@ -58,8 +58,40 @@ |
|
|
|
(require 'which-key) |
|
|
|
(which-key-mode) |
|
|
|
;;+++++++ |
|
|
|
;;auctex: |
|
|
|
;;2.4 auctex: |
|
|
|
(setq TeX-auto-save t) |
|
|
|
(setq TeX-parse-self t) |
|
|
|
(setq-default TeX-master nil) |
|
|
|
;;--end---- |
|
|
|
;; 2.5 auto-complet: |
|
|
|
(is-installed 'auto-complete) |
|
|
|
(ac-config-default) |
|
|
|
;; 2.6 ace-window |
|
|
|
(is-installed 'ace-window) |
|
|
|
(global-set-key (kbd "M-o") 'ace-window) |
|
|
|
;; 2.7 avy |
|
|
|
(is-installed 'avy) |
|
|
|
(avy-setup-default) |
|
|
|
(global-set-key (kbd "M-g f") 'avy-goto-line) |
|
|
|
;; 2.8 multiple-cursors |
|
|
|
(is-installed 'multiple-cursors) |
|
|
|
(require 'multiple-cursors) |
|
|
|
(global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines) |
|
|
|
(global-set-key (kbd "C->") 'mc/mark-next-like-this) |
|
|
|
(global-set-key (kbd "C-<") 'mc/mark-previous-like-this) |
|
|
|
(global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(custom-set-variables |
|
|
|
;; custom-set-variables was added by Custom. |
|
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
|
;; Your init file should contain only one such instance. |
|
|
|
;; If there is more than one, they won't work right. |
|
|
|
) |
|
|
|
(custom-set-faces |
|
|
|
;; custom-set-faces was added by Custom. |
|
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
|
;; Your init file should contain only one such instance. |
|
|
|
;; If there is more than one, they won't work right. |
|
|
|
) |