Browse Source

Emacs configuration

master
Julio Biason 5 years ago
parent
commit
839e649afc
  1. 28
      emacs/emacs

28
emacs/emacs

@ -8,6 +8,10 @@
;; '("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable
'("melpa" . "http://melpa.milkbox.net/packages/")
t)
(add-to-list
'package-archives
'("org" . "https://orgmode.org/elpa/")
t)
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
@ -28,6 +32,17 @@
:config
(evil-mode 1))
; Org-mode
(use-package org
:ensure t)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswtichb)
; Markdown mode
(use-package markdown-mode
:ensure t)
; install goto last change (opens the file in the last position)
(use-package goto-last-change
:ensure t)
@ -46,7 +61,9 @@
:ensure t)
; colorscheme
(use-package monokai-theme
; (use-package monokai-theme
; :ensure t)
(use-package nord-theme
:ensure t)
(custom-set-variables
@ -54,14 +71,15 @@
;; 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 (monokai)))
'(custom-enabled-themes (quote (nord)))
'(custom-safe-themes
(quote
("039eb505cec29b4521ce5ecf5abf523492005f0c65d0640f62e53e2d3068b393" "6c0a087a4f49c04d4002393ffd149672f70e4ab38d69bbe8b39059b61682b61c" default)))
("bd7b7c5df1174796deefce5debc2d976b264585d51852c962362be83932873d9" "039eb505cec29b4521ce5ecf5abf523492005f0c65d0640f62e53e2d3068b393" "6c0a087a4f49c04d4002393ffd149672f70e4ab38d69bbe8b39059b61682b61c" default)))
'(inhibit-startup-screen t)
'(org-agenda-files (quote ("~/Documents/index.org")))
'(package-selected-packages
(quote
(rust-mode evil-quickscope evil-tabs ## scala-mode evil-leader editorconfig diff-hl neotree helm-ag helm-projectile projectile helm hlinum fill-column-indicator evil monokai-theme cider))))
(markdown-mode org-evil org-link-minor-mode rust-mode evil-quickscope evil-tabs ## scala-mode evil-leader editorconfig diff-hl neotree helm-ag helm-projectile projectile helm hlinum fill-column-indicator evil monokai-theme cider))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -158,6 +176,8 @@
"q" 'kill-buffer-and-window
"w" 'save-buffer
"t" 'neotree-toggle
"o" 'org-capture
"O" 'org-agenda
)
; answer questions with 'y' instead of full 'yes'

Loading…
Cancel
Save