From 76bbd07de7add0f9d13c6914f158d19630fe2f62 Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Sun, 18 Nov 2018 12:38:46 +0000
Subject: [PATCH] added golden-ratio and org-bullets

---
 init.el |   37 ++++++++++++++++++++++++++++++++-----
 1 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/init.el b/init.el
index 1a74789..3b096b7 100644
--- a/init.el
+++ b/init.el
@@ -29,9 +29,6 @@
 (require 'ispell)
 (setq-default ispell-program-name "aspell")
 
-;; x86 reference
-(setq x86-lookup-pdf "D:/Coding/x86-8664 reference.pdf")
-
 ;; Melpa repo
 (require 'package)
 (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
@@ -117,7 +114,9 @@
 (add-hook 'after-init-hook 'global-company-mode)
 (add-to-list 'company-backends 'company-c-headers)
 (setq company-backends (delete 'company-semantic company-backends))
-;; (define-key c-mode-base-map  [(tab)] 'company-complete)
+(add-hook 'c-mode-common-hook
+	  (lambda ()
+	    (define-key c-mode-base-map  [(tab)] 'company-complete)))
 ;; (define-key c++-mode-map  [(tab)] 'company-complete)
 
 ;; ibuffer-vc config
@@ -201,7 +200,35 @@
 
 ;; guide-key
 (require 'guide-key)
-(setq guide-key/guide-key-sequence '("C-x" "C-c" "M-g"))
+(setq guide-key/guide-key-sequence '("C-x" "C-c" "M-g" "C-h"))
 (setq guide-key/recursive-key-sequence-flag t)
 (setq guide-key/popup-window-position 'bottom)
 (guide-key-mode 1)  ; Enable guide-key-mode
+
+;; x86 reference
+(require 'x86-lookup)
+(setq x86-lookup-pdf "D:/Coding/x86-8664 reference.pdf")
+(global-set-key (kbd "C-h x") #'x86-lookup)
+
+;; org-bullets
+(require 'org-bullets)
+(add-hook 'org-mode-hook 'org-bullets-mode)
+
+;; golden ratio
+(require 'golden-ratio)
+(golden-ratio-mode 1)
+
+(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
+    (org org-bullets x86-lookup ztree yasnippet workgroups2 volatile-highlights undo-tree srefactor smartparens nyan-mode magit ibuffer-vc helm-projectile guide-key ggtags flycheck-tip flycheck-pos-tip diff-hl company-c-headers clean-aindent-mode))))
+(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.
+ )

--
Gitblit v1.9.3