Last active
March 11, 2019 17:28
-
-
Save kozo2/3a15f4897c4072f800d3 to your computer and use it in GitHub Desktop.
init.el
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
(not (gnutls-available-p)))) | |
(proto (if no-ssl "http" "https"))) | |
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired | |
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t) | |
;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . (concat proto "://elpa.gnu.org/packages/"))))) | |
(package-initialize) | |
(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 (tc)))) | |
(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. | |
) | |
(require 'tc-setup) | |
(load-theme 'wombat) | |
(add-to-list 'default-frame-alist '(font . "-outline-MS ゴシック-normal-normal-normal-mono-19-*-*-*-c-*-iso8859-1")) | |
(setq make-backup-files nil) | |
(setq load-prefer-newer t) | |
(setq dired-auto-revert-buffer t) | |
(setq debug-on-error t) | |
(setq-default indent-tabs-mode nil) | |
(recentf-mode 1) | |
(ido-vertical-mode 1) | |
(bind-key "C-i" 'toggle-input-method) | |
(bind-key "C-z" 'tcode-toggle-katakana-mode) | |
(bind-key "C-h" 'delete-backward-char) | |
(bind-key "C-s" 'save-buffer) | |
(bind-key "C-t" 'ivy-switch-buffer) | |
(bind-key "C-r" 'counsel-recentf) | |
(bind-key "C-u" 'counsel-M-x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment