This repository has been archived by the owner on Mar 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
107 lines (82 loc) · 2.51 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
;;; Bootstrap
(require 'package)
(setq package-enable-at-startup nil)
(setq use-package-always-ensure t)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
;;; nyan-mode
(use-package nyan-mode)
(nyan-mode)
(setq nyan-wavy-trail nil)
;;; emms
(use-package emms)
;;; helm
(use-package helm)
(global-set-key (kbd "C-x C-f") #'helm-find-files)
(global-set-key (kbd "M-x") #'helm-M-x)
(global-set-key (kbd "C-x b") #'helm-buffers-list)
(global-set-key (kbd "C-x C-b") #'helm-buffers-list)
;;; projectile
(use-package projectile
:config (projectile-global-mode t))
(use-package helm-projectile)
;;; magit
(use-package magit)
;;; org-mode
(use-package org)
(use-package org-bullets
:init (add-hook 'org-mode-hook 'org-bullets-mode))
;;; git-timemachine
(use-package git-timemachine)
;;; Monokai theme
(use-package monokai-theme)
;;; better-defaults
(use-package better-defaults)
;; company
(use-package company
:init (add-hook 'after-init-hook 'global-company-mode))
;; dired+
(use-package dired+)
;; web-mode
(use-package web-mode)
;; csharp-mode
(use-package cl)
(use-package csharp-mode)
;; markdown
(use-package markdown-mode
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "multimarkdown"))
;; evil mode
(use-package evil)
(evil-mode 1)
(setq inhibit-splash-screen t)
(show-paren-mode t)
(setq-default indent-tabs-mode nil)
(global-linum-mode t)
(global-auto-revert-mode 1)
(setq-default show-trailing-whitespace 1)
(setq visible-bell nil
require-final-newline t
mouse-yank-at-point t)
(projectile-global-mode)
(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
(evil markdown-mode csharp-mode web-mode dired+ company better-defaults monokai-theme git-timemachine org-bullets magit helm-projectile projectile helm emms nyan-mode use-package))))
(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.
)