Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- (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)
- (set-frame-parameter (selected-frame) 'alpha '(70 50))
- (add-to-list 'default-frame-alist '(alpha 70 50))
- (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.
- '(custom-enabled-themes (quote (monochrome)))
- '(custom-safe-themes
- (quote
- ("39dd7106e6387e0c45dfce8ed44351078f6acd29a345d8b22e7b8e54ac25bac4" default)))
- '(package-selected-packages
- (quote
- (dashboard buffer-flip termbright-theme monochrome-theme))))
- (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.
- '(default ((t (:family "DejaVu Sans Mono" :foundry "PfEd" :slant normal :weight normal :height 158 :width normal)))))
- ;; key to begin cycling buffers. Global key.
- (global-set-key (kbd "M-<tab>") 'buffer-flip)
- ;; transient keymap used once cycling starts
- (setq buffer-flip-map
- (let ((map (make-sparse-keymap)))
- (define-key map (kbd "M-<tab>") 'buffer-flip-forward)
- (define-key map (kbd "M-S-<tab>") 'buffer-flip-backward)
- (define-key map (kbd "M-ESC") 'buffer-flip-abort)
- map))
- ;; buffers matching these patterns will be skipped
- (setq buffer-flip-skip-patterns
- '("^\\*helm\\b"
- "^\\*swiper\\*$"))
- (global-set-key (kbd "M-q") 'kill-buffer)
- (require 'dashboard)
- (dashboard-setup-startup-hook)
- ;; Or if you use use-package
- (use-package dashboard
- :ensure t
- :config
- (dashboard-setup-startup-hook))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

