|
|
@@ -46,6 +46,13 @@
|
|
|
;;(global-set-key (kbd "M-<down>") '?)
|
|
|
(global-set-key (kbd "M-<delete>") 'kill-sexp)
|
|
|
|
|
|
+(defun revert-buffer-no-confirm ()
|
|
|
+ "Revert buffer without confirmation."
|
|
|
+ (interactive)
|
|
|
+ (revert-buffer :ignore-auto :noconfirm))
|
|
|
+(global-set-key (kbd "M-f") 'revert-buffer)
|
|
|
+(global-set-key (kbd "M-F") 'revert-buffer-no-confirm)
|
|
|
+
|
|
|
;; ----------- Package Managing -----------
|
|
|
(require 'package-loader)
|
|
|
|
|
|
@@ -140,6 +147,9 @@
|
|
|
;; --------- Racket Mode ----------
|
|
|
(use-package racket-mode)
|
|
|
|
|
|
+;; ---------- Tex Mode ------------
|
|
|
+(require 'my-tex)
|
|
|
+
|
|
|
;; ---------- C# Mode -------------
|
|
|
(use-package csharp-mode
|
|
|
:if (version<= "24.4" emacs-version))
|
|
|
@@ -162,3 +172,19 @@
|
|
|
|
|
|
;; ---- Printer Integration -----
|
|
|
(require 'printer)
|
|
|
+(set-frame-font "DejaVu Sans Mono-10" nil t)
|
|
|
+
|
|
|
+(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.
|
|
|
+ '(package-selected-packages
|
|
|
+ (quote
|
|
|
+ (hl-todo restclient flyspell-correct-popup sx csharp-mode auctex racket-mode company-go go-mode flycheck-rust cargo rust-playground rust-mode magit multi-web-mode ensime flycheck company highlight-parentheses xclip color-theme auto-package-update use-package))))
|
|
|
+(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.
|
|
|
+ )
|