Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-12-17 00:15:03 +01:00
parent 60bf47066a
commit e0386a7267
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -12,12 +12,10 @@
) )
) )
(package-initialize) (package-initialize)
(setq package-check-signature nil)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;; Remove welcome screen ;; Remove welcome screen
(setq inhibit-startup-screen t) ;(setq inhibit-startup-screen t)
;; Disable menu ;; Disable menu
(menu-bar-mode 0) (menu-bar-mode 0)
@ -26,16 +24,6 @@
(ido-mode 1) (ido-mode 1)
(global-set-key (kbd "C-x b") 'ido-switch-buffer) (global-set-key (kbd "C-x b") 'ido-switch-buffer)
;; Enable Smex
(use-package smex
:ensure t
:init
(smex-initialize)
:bind
("M-x" . smex)
)
;; Remove working cl ;; Remove working cl
(require 'cl-lib) (require 'cl-lib)
(setq byte-compile-warnings '(cl-functions)) (setq byte-compile-warnings '(cl-functions))
@ -100,6 +88,15 @@
;(require 'mozc) ;(require 'mozc)
(setq default-input-method "japanese-mozc") (setq default-input-method "japanese-mozc")
;; Enable Smex
(use-package smex
:ensure t
:init
(smex-initialize)
:bind
("M-x" . smex)
)
;; reveal dependency ;; reveal dependency
(use-package htmlize (use-package htmlize
:ensure t :ensure t
@ -124,25 +121,27 @@
:ensure t :ensure t
) )
(ac-config-default) (ac-config-default)
(global-auto-complete-mode t) (global-auto-complete-mode 0)
;; Company & robe ;; Shell
(add-hook 'sh-mode-hook 'company-mode)
;;robe
(use-package robe (use-package robe
:ensure t :ensure t
:config :config
) )
;; Latex ;; Latex
;(eval-after-load 'company ;(eval-after-load 'company
; '(push 'company-robe company-backends)) ; '(push 'company-robe company-backends))
;; Ruby ;; Ruby
(eval-after-load 'auto-complete ;(eval-after-load 'auto-complete
'(add-to-list 'ac-modes 'inf-ruby-mode)) ; '(add-to-list 'ac-modes 'inf-ruby-mode))
(add-hook 'inf-ruby-mode-hook 'ac-inf-ruby-enable) ;(add-hook 'inf-ruby-mode-hook 'ac-inf-ruby-enable)
(eval-after-load 'inf-ruby ' ;(eval-after-load 'inf-ruby '
'(define-key inf-ruby-mode-map (kbd "TAB") 'auto-complete)) ; '(define-key inf-ruby-mode-map (kbd "TAB") 'auto-complete))
;; Theme ;; Theme
;(use-package dracula-theme ;(use-package dracula-theme
@ -209,6 +208,7 @@
(yaml-mode-hook . flymake-yaml-load) (yaml-mode-hook . flymake-yaml-load)
) )
) )
;; Git ;; Git
(global-set-key (kbd "C-x g") 'magit-status) (global-set-key (kbd "C-x g") 'magit-status)
@ -230,6 +230,15 @@
'(livedown-browser nil)) ; browser to use '(livedown-browser nil)) ; browser to use
(global-set-key (kbd "C-M-m") 'livedown-preview) (global-set-key (kbd "C-M-m") 'livedown-preview)
;; Latexmk
(use-package auctex-latexmk
:ensure t
:config
)
(require 'auctex-latexmk)
(auctex-latexmk-setup)
;;; --- Look & Feel --- ;;; --- Look & Feel ---
;; Zoom in/out. ;; Zoom in/out.