|
@@ -5,13 +5,6 @@
|
|
|
;; gocode - Go auto complete
|
|
;; gocode - Go auto complete
|
|
|
|
|
|
|
|
;; Enable loading my custom config files
|
|
;; Enable loading my custom config files
|
|
|
-
|
|
|
|
|
-;; Added by Package.el. This must come before configurations of
|
|
|
|
|
-;; installed packages. Don't delete this line. If you don't want it,
|
|
|
|
|
-;; just comment it out by adding a semicolon to the start of the line.
|
|
|
|
|
-;; You may delete these explanatory comments.
|
|
|
|
|
-(package-initialize)
|
|
|
|
|
-
|
|
|
|
|
(add-to-list 'load-path "~/.emacs.d/configs/")
|
|
(add-to-list 'load-path "~/.emacs.d/configs/")
|
|
|
|
|
|
|
|
;; ----------- Default Variables -----------
|
|
;; ----------- Default Variables -----------
|
|
@@ -29,7 +22,8 @@
|
|
|
backup-directory-alist `(("." . ,backup-directory))
|
|
backup-directory-alist `(("." . ,backup-directory))
|
|
|
delete-old-versions t)
|
|
delete-old-versions t)
|
|
|
|
|
|
|
|
-;; (global-linum-mode)
|
|
|
|
|
|
|
+;; ----------- Package Managing -----------
|
|
|
|
|
+(require 'package-loader)
|
|
|
|
|
|
|
|
;; Delete selected text when typing (normal editor behavior)
|
|
;; Delete selected text when typing (normal editor behavior)
|
|
|
(delete-selection-mode t)
|
|
(delete-selection-mode t)
|
|
@@ -53,19 +47,6 @@
|
|
|
(global-set-key (kbd "M-f") 'revert-buffer)
|
|
(global-set-key (kbd "M-f") 'revert-buffer)
|
|
|
(global-set-key (kbd "M-F") 'revert-buffer-no-confirm)
|
|
(global-set-key (kbd "M-F") 'revert-buffer-no-confirm)
|
|
|
|
|
|
|
|
-;; ----------- Package Managing -----------
|
|
|
|
|
-(require 'package-loader)
|
|
|
|
|
-
|
|
|
|
|
-;; ---------- Color Themes ----------
|
|
|
|
|
-;; TODO: Fix warning underline to always be orange/yellow
|
|
|
|
|
-;; Update: Seems it always takes the color of the foreground.
|
|
|
|
|
-;; Also seems to ignore most properties. (e.g. overline, underline,
|
|
|
|
|
-;; strike-though, etc.) Maybe it's an xterm problem?
|
|
|
|
|
-(use-package color-theme
|
|
|
|
|
- :config
|
|
|
|
|
- (color-theme-initialize)
|
|
|
|
|
- (load-theme 'Thomas-Experiement t))
|
|
|
|
|
-
|
|
|
|
|
;; ---------- Use X11 clipboard -----------
|
|
;; ---------- Use X11 clipboard -----------
|
|
|
(use-package xclip
|
|
(use-package xclip
|
|
|
:if (executable-find "xclip")
|
|
:if (executable-find "xclip")
|
|
@@ -123,6 +104,9 @@
|
|
|
;; ----------- Scala Mode -----------
|
|
;; ----------- Scala Mode -----------
|
|
|
(require 'scala)
|
|
(require 'scala)
|
|
|
|
|
|
|
|
|
|
+;; ---------- Kotlin Mode -----------
|
|
|
|
|
+(require 'kotlin)
|
|
|
|
|
+
|
|
|
;; ------------ Web Mode ------------
|
|
;; ------------ Web Mode ------------
|
|
|
(require 'web)
|
|
(require 'web)
|
|
|
|
|
|
|
@@ -181,10 +165,11 @@
|
|
|
;; If there is more than one, they won't work right.
|
|
;; If there is more than one, they won't work right.
|
|
|
'(package-selected-packages
|
|
'(package-selected-packages
|
|
|
(quote
|
|
(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))))
|
|
|
|
|
|
|
+ (gnu-elpa-keyring-update flycheck-kotlin kotlin-mode hl-todo restclient flyspell-correct-popup sx csharp-mode auctex company-go go-mode flycheck-rust cargo rust-playground rust-mode magit multi-web-mode ensime flycheck company highlight-parentheses xclip auto-package-update use-package))))
|
|
|
(custom-set-faces
|
|
(custom-set-faces
|
|
|
;; custom-set-faces was added by Custom.
|
|
;; custom-set-faces was added by Custom.
|
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
|
;; Your init file should contain only one such instance.
|
|
;; Your init file should contain only one such instance.
|
|
|
;; If there is more than one, they won't work right.
|
|
;; If there is more than one, they won't work right.
|
|
|
)
|
|
)
|
|
|
|
|
+(put 'downcase-region 'disabled nil)
|