Skip to content

Instantly share code, notes, and snippets.

@jakeceballos
Created March 23, 2021 14:14
Show Gist options
  • Save jakeceballos/df5ff9bfd73d4bcdc06465cb4b533684 to your computer and use it in GitHub Desktop.
Save jakeceballos/df5ff9bfd73d4bcdc06465cb4b533684 to your computer and use it in GitHub Desktop.
Emacs init
;; (require 'package)
;; (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; straight package manager
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
;;;;;;;;;;;;;;;;
;;; PACKAGES ;;;
;;;;;;;;;;;;;;;;
(straight-use-package 'use-package)
(straight-use-package 'verb)
;; (use-package org
;; :straight (org
;; :mode (".org" . org-mode)
;; :config (define-key org-mode-map (kbd "C-c C-r") verb-command-map)))
;; (package-initialize)
;; helm package
;; (straight-use-package 'helm)
;; org-wiki plugin
;; (straight-use-package
;; '(org-wiki :type git :host github :repo "caiorss/org-wiki"))
;; (setq org-wiki-location "~/Storage/TextLife")
;; zeburn-theme plugin
(straight-use-package 'zenburn-theme)
(load-theme 'zenburn t)
;;;;;;;;;;;;;;;;
;;; SETTINGS ;;;
;;;;;;;;;;;;;;;;
(org-babel-do-load-languages
'org-babel-load-languages
'((verb . t)))
;; org-mode clock settings
;; (setq org-log-note-clock-out t)
(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 (zenburn-theme verb))))
(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.
)
;; initialize verb minor mode
(with-eval-after-load 'org
(define-key org-mode-map (kbd "C-c C-r") verb-command-map))
;;(require 'helm-config)
;;(global-set-key (kbd "M-x") #'helm-M-x)
;;(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks)
;;(global-set-key (kbd "C-x C-f") #'helm-find-files)
;;(helm-mode 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment