Created
February 24, 2019 15:27
-
-
Save nega0/9ed406cc917a87db33c6dc6882dcc553 to your computer and use it in GitHub Desktop.
minimal init.el w/ package.el initialization and tramp
This file contains 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) | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/") t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) | |
;; Bootstrap 'use-package' | |
(eval-after-load 'gnutls | |
'(add-to-list 'gnutls-trustfiles "/etc/ssl/cert.pem")) | |
(unless (package-installed-p 'use-package) | |
(package-refresh-contents) | |
(package-install 'use-package)) | |
(eval-when-compile | |
(require 'use-package)) | |
(require 'bind-key) | |
(setq use-package-always-ensure t) | |
(use-package tramp | |
:ensure nil | |
:config | |
(tramp-default-method "ssh")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment