init managed through org-mode

This commit is contained in:
4br 2018-09-02 14:42:41 +05:30
parent 76fd98a7c5
commit 36e172c240
15 changed files with 267 additions and 91 deletions

19
#recentf# Normal file
View File

@ -0,0 +1,19 @@
;;; Automatically generated by recentf on Sun Sep 2 02:46:56 2018.
(setq recentf-list
'(
"/home/guyfawkes/.emacs.d/recentf"
"/home/guyfawkes/.emacs.d/session.10715f61e12a06d7bd153579663253391000000011590066"
"/home/guyfawkes/.emacs.d/init.el"
"/home/guyfawkes/.emacs.d/elpa/org-bullets-0.2.4/org-bullets-autoloads.el"
"/home/guyfawkes/Documents/code/pyt.py"
"/home/guyfawkes/.emacs.d/elpa/auto-complete-20170125.245/auto-complete-autoloads.el"
"/home/guyfawkes/.emacs.d/elpa/popup-20160709.1429/popup-autoloads.el"
))
(setq recentf-filter-changer-current 'nil)
;; Local Variables:
;; coding: utf-8-emacs
;; End:

View File

@ -2,3 +2,7 @@
/home/guyfawkes/Documents/code/#test.org#
/home/guyfawkes/.emacs.d/init.el
/home/guyfawkes/.emacs.d/#init.el#
/home/guyfawkes/.emacs.d/recentf
/home/guyfawkes/.emacs.d/#recentf#
/home/guyfawkes/.emacs.d/recentf
/home/guyfawkes/.emacs.d/#recentf#

View File

@ -1,2 +0,0 @@
/home/guyfawkes/Documents/code/#test.org#
/home/guyfawkes/Documents/code/##test.org##

60
config.el Normal file
View File

@ -0,0 +1,60 @@
(setq user-full-name "Abraham Raji")
(setq user-mail-address "abrahamraji99@gmail.com")
(setq inhibit-startup-message t)
;; ido mode
(setq indo-enable-flex-matching t)
(setq ido-eveywhere t)
(ido-mode 1);;ido end
(defalias 'list-buffers 'ibuffer);;ibuffer
(tool-bar-mode -1)
(windmove-default-keybindings)
(global-linum-mode t)
(use-package try
:ensure t)
(use-package which-key
:ensure t
:config
(which-key-mode))
(use-package counsel
:ensure t
)
(use-package swiper
:ensure try
:config
(progn
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(global-set-key "\C-s" 'swiper)
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function)
(global-set-key (kbd "<f1> v") 'counsel-describe-variable)
(global-set-key (kbd "<f1> l") 'counsel-load-library)
(global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
(global-set-key (kbd "<f2> u") 'counsel-unicode-char)
(global-set-key (kbd "C-c g") 'counsel-git)
(global-set-key (kbd "C-c j") 'counsel-git-grep)
(global-set-key (kbd "C-c k") 'counsel-ag)
(global-set-key (kbd "C-x l") 'counsel-locate)
(global-set-key (kbd "C-S-o") 'counsel-rhythmbox)
(define-key read-expression-map (kbd "C-r") 'counsel-expression-history)
))
(use-package auto-complete
:ensure t
:init
(progn
(ac-config-default)
(global-auto-complete-mode t)
))
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))

82
config.org Normal file
View File

@ -0,0 +1,82 @@
* Personal Settings
#+BEGIN_SRC emacs-lisp
(setq user-full-name "Abraham Raji")
(setq user-mail-address "abrahamraji99@gmail.com")
(setq inhibit-startup-message t)
;; ido mode
(setq indo-enable-flex-matching t)
(setq ido-eveywhere t)
(ido-mode 1);;ido end
(defalias 'list-buffers 'ibuffer);;ibuffer
(tool-bar-mode -1)
(windmove-default-keybindings)
(global-linum-mode t)
#+END_SRC
* Packages
** try package
#+BEGIN_SRC emacs-lisp
(use-package try
:ensure t)
#+END_SRC
** which-key package
#+BEGIN_SRC emacs-lisp
(use-package which-key
:ensure t
:config
(which-key-mode))
#+END_SRC
** Counsel
#+BEGIN_SRC emacs-lisp
(use-package counsel
:ensure t
)
#+END_SRC
** Swiper (alternate search)
#+BEGIN_SRC emacs-lisp
(use-package swiper
:ensure try
:config
(progn
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(global-set-key "\C-s" 'swiper)
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function)
(global-set-key (kbd "<f1> v") 'counsel-describe-variable)
(global-set-key (kbd "<f1> l") 'counsel-load-library)
(global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
(global-set-key (kbd "<f2> u") 'counsel-unicode-char)
(global-set-key (kbd "C-c g") 'counsel-git)
(global-set-key (kbd "C-c j") 'counsel-git-grep)
(global-set-key (kbd "C-c k") 'counsel-ag)
(global-set-key (kbd "C-x l") 'counsel-locate)
(global-set-key (kbd "C-S-o") 'counsel-rhythmbox)
(define-key read-expression-map (kbd "C-r") 'counsel-expression-history)
))
#+END_SRC
** auto-complete
#+BEGIN_SRC emacs-lisp
(use-package auto-complete
:ensure t
:init
(progn
(ac-config-default)
(global-auto-complete-mode t)
))
#+END_SRC
** Org-mode Bullets
#+BEGIN_SRC emacs-lisp
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
#+END_SRC

82
config.org~ Normal file
View File

@ -0,0 +1,82 @@
* Personal Settings
#+BEGIN_SRC emacs-lisp
(setq user-full-name "Abraham Raji")
(setq user-mail-address "abrahamraji99@gmail.com")
(setq inhibit-startup-message t)
;; ido mode
(setq indo-enable-flex-matching t)
(setq ido-eveywhere t)
(ido-mode 1);;ido end
(defalias 'list-buffers 'ibuffer);;ibuffer
(tool-bar-mode -1)
(windmove-default-keybindings)
(global-linum-mode t)
#+END_SRC
* Packages
** try package
#+BEGIN_SRC emacs-lisp
(use-package try
:ensure t)
#+END_SRC
** which-key package
#+BEGIN_SRC emacs-lisp
(use-package which-key
:ensure t
:config
(which-key-mode))
#+END_SRC
** Counsel
#+BEGIN_SRC emacs-lisp
(use-package counsel
:ensure t
)
#+END_SRC
** Swiper (alternate search)
#+BEGIN_SRC emacs-lisp
(use-package swiper
:ensure try
:config
(progn
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(global-set-key "\C-s" 'swiper)
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function)
(global-set-key (kbd "<f1> v") 'counsel-describe-variable)
(global-set-key (kbd "<f1> l") 'counsel-load-library)
(global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
(global-set-key (kbd "<f2> u") 'counsel-unicode-char)
(global-set-key (kbd "C-c g") 'counsel-git)
(global-set-key (kbd "C-c j") 'counsel-git-grep)
(global-set-key (kbd "C-c k") 'counsel-ag)
(global-set-key (kbd "C-x l") 'counsel-locate)
(global-set-key (kbd "C-S-o") 'counsel-rhythmbox)
(define-key read-expression-map (kbd "C-r") 'counsel-expression-history)
))
#+END_SRC
** auto-complete
#+BEGIN_SRC emacs-lisp
(use-package auto-complete
:ensure t
:init
(progn
(ac-config-default)
(global-auto-complete-mode t)
))
#+END_SRC
** Org-mode Bullets
#+BEGIN_SRC emacs-lisp
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
#+END_SRC

View File

@ -389,7 +389,7 @@
((:keywords "convenience" "languages")
(:url . "https://github.com/joaotavora/eglot"))])
(el-search .
[(1 7 6)
[(1 7 7)
((emacs
(25))
(stream

View File

@ -1 +1 @@
Good signature from 474F05837FBDEF9B GNU ELPA Signing Agent <elpasign@elpa.gnu.org> (trust undefined) created at 2018-09-01T14:40:02+0530 using DSA
Good signature from 474F05837FBDEF9B GNU ELPA Signing Agent <elpasign@elpa.gnu.org> (trust undefined) created at 2018-09-02T02:40:02+0530 using DSA

File diff suppressed because one or more lines are too long

View File

@ -12,16 +12,17 @@
;; ----- ido-work-file-list -----
(
"config.org"
"init.el"
)
;; ----- ido-dir-file-cache -----
(
("/home/guyfawkes/.emacs.d/" (23435 43129 32584 311000) "auto-save-list/" "LICENSE" "ido.last~" "network-security.data" "config.el" "ac-comphist.dat" "./" "url/" "config.org~" "recentf~" "elpa/" "config.org" "recentf" "ido.last" "init.el~" "#recentf#" ".git/" "README.org" "session.10715f61e12a06d7bd153579663253391000000011590066" "../" "README.org~" "init.el")
("/home/guyfawkes/" (23435 31648 736426 379000) "Videos/" ".oh-my-zsh/" ".zcompdump-alucard-5.5.1" ".yarn/" ".ICEauthority" ".esd_auth" "Desktop/" "#.zshrc#" ".moc/" ".ssh/" ".gnupg/" ".python_history" "./" "Pictures/" ".git-credentials" ".mozilla/" ".config/" ".local/" ".node-gyp/" ".yarnrc" ".w3m/" ".zshrc.pre-oh-my-zsh" ".zshrc" "Downloads/" "Documents/" ".npm/" ".gitconfig" "Public/" ".zshrc~" ".zsh_history" "Templates/" ".pki/" "../" ".emacs.d/" ".bash_history" ".cache/" ".vscode/" "Music/")
("/home/guyfawkes/Documents/Irene/portfolio/" (23434 31667 486319 181000) "./" "README.md" "fonts/" "css/" ".#index.html" "style.css" ".git/" "../" "img/" "index.html")
("/home/guyfawkes/.emacs.d/" (23433 23505 356628 586000) "auto-save-list/" "ido.last~" "network-security.data" "ac-comphist.dat" "./" "url/" "elpa/" "recentf" "ido.last" "init.el~" "../" "init.el")
("/home/guyfawkes/" (23432 56590 930658 158000) "Videos/" ".oh-my-zsh/" ".zcompdump-alucard-5.5.1" ".yarn/" ".ICEauthority" ".esd_auth" "Desktop/" "#.zshrc#" ".moc/" "colors.tdesktop-palette" ".ssh/" ".gnupg/" ".python_history" "./" "Pictures/" ".mozilla/" ".config/" ".local/" ".node-gyp/" ".yarnrc" ".w3m/" ".zshrc.pre-oh-my-zsh" ".zshrc" "Downloads/" "Documents/" ".npm/" "Public/" ".zshrc~" ".zsh_history" "Templates/" ".pki/" "../" ".emacs.d/" ".bash_history" ".cache/" ".vscode/" "Music/")
)
;; ----- ido-unc-hosts-cache -----

View File

@ -12,16 +12,17 @@
;; ----- ido-work-file-list -----
(
"config.org"
"init.el"
)
;; ----- ido-dir-file-cache -----
(
("/home/guyfawkes/Documents/code/" (23434 38986 862396 449000) "Hello.html~" "#test.org#~" "Neocities/" "#pyt.py#" "Hello.html" "./" "#test.html~" "SJC -TESLA-1 (1).pdf" "Pink Floyd.html" "test.c" "W3 themes/" "pyt.py" "#Pink Floyd.html#" "Power Outage.pdf" "Html5/" "style.css" "#test.c#" "Vega.pptx" "jibin.html" "python.py" ".##test.org#" "test.cpp" "#test.org#" "../" "a.out" "#test.html" ".#test.c" "pyt.py~" "Pink Floyd.html~")
("/home/guyfawkes/.emacs.d/" (23435 43129 32584 311000) "auto-save-list/" "LICENSE" "ido.last~" "network-security.data" "config.el" "ac-comphist.dat" "./" "url/" "config.org~" "recentf~" "elpa/" "config.org" "recentf" "ido.last" "init.el~" "#recentf#" ".git/" "README.org" "session.10715f61e12a06d7bd153579663253391000000011590066" "../" "README.org~" "init.el")
("/home/guyfawkes/.emacs.d/" (23433 23505 356628 586000) "auto-save-list/" "ido.last~" "network-security.data" "ac-comphist.dat" "./" "url/" "elpa/" "recentf" "ido.last" "init.el~" "../" "init.el")
("/home/guyfawkes/" (23435 31648 736426 379000) "Videos/" ".oh-my-zsh/" ".zcompdump-alucard-5.5.1" ".yarn/" ".ICEauthority" ".esd_auth" "Desktop/" "#.zshrc#" ".moc/" ".ssh/" ".gnupg/" ".python_history" "./" "Pictures/" ".git-credentials" ".mozilla/" ".config/" ".local/" ".node-gyp/" ".yarnrc" ".w3m/" ".zshrc.pre-oh-my-zsh" ".zshrc" "Downloads/" "Documents/" ".npm/" ".gitconfig" "Public/" ".zshrc~" ".zsh_history" "Templates/" ".pki/" "../" ".emacs.d/" ".bash_history" ".cache/" ".vscode/" "Music/")
("/home/guyfawkes/" (23432 56590 930658 158000) "Videos/" ".oh-my-zsh/" ".zcompdump-alucard-5.5.1" ".yarn/" ".ICEauthority" ".esd_auth" "Desktop/" "#.zshrc#" ".moc/" "colors.tdesktop-palette" ".ssh/" ".gnupg/" ".python_history" "./" "Pictures/" ".mozilla/" ".config/" ".local/" ".node-gyp/" ".yarnrc" ".w3m/" ".zshrc.pre-oh-my-zsh" ".zshrc" "Downloads/" "Documents/" ".npm/" "Public/" ".zshrc~" ".zsh_history" "Templates/" ".pki/" "../" ".emacs.d/" ".bash_history" ".cache/" ".vscode/" "Music/")
("/home/guyfawkes/Documents/Irene/portfolio/" (23434 31667 486319 181000) "./" "README.md" "fonts/" "css/" ".#index.html" "style.css" ".git/" "../" "img/" "index.html")
)
;; ----- ido-unc-hosts-cache -----

75
init.el
View File

@ -1,16 +1,3 @@
;;Initial Start-up Settings
(setq user-full-name "Abraham Raji")
(setq user-mail-address "abrahamraji99@gmail.com")
(setq inhibit-startup-message t)
;;ido mode
(setq indo-enable-flex-matching t)
(setq ido-eveywhere t)
(ido-mode 1);;ido end
(defalias 'list-buffers 'ibuffer);;ibuffer
(tool-bar-mode -1)
(windmove-default-keybindings)
(global-linum-mode t)
;;Package Management
(load "package")
(package-initialize)
@ -26,71 +13,13 @@
(package-refresh-contents)
(package-install 'use-package))
;;try package
(use-package try
:ensure t)
;;which-key package
(use-package which-key
:ensure t
:config
(which-key-mode))
;;Counsel
(use-package counsel
:ensure t
)
;;Swiper (alternate search)
(use-package swiper
:ensure try
:config
(progn
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(global-set-key "\C-s" 'swiper)
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function)
(global-set-key (kbd "<f1> v") 'counsel-describe-variable)
(global-set-key (kbd "<f1> l") 'counsel-load-library)
(global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
(global-set-key (kbd "<f2> u") 'counsel-unicode-char)
(global-set-key (kbd "C-c g") 'counsel-git)
(global-set-key (kbd "C-c j") 'counsel-git-grep)
(global-set-key (kbd "C-c k") 'counsel-ag)
(global-set-key (kbd "C-x l") 'counsel-locate)
(global-set-key (kbd "C-S-o") 'counsel-rhythmbox)
(define-key read-expression-map (kbd "C-r") 'counsel-expression-history)
))
;;auto-complete
(use-package auto-complete
:ensure t
:init
(progn
(ac-config-default)
(global-auto-complete-mode t)
))
;; Org-mode Bullets
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
(org-babel-load-file (expand-file-name "~/.emacs.d/config.org"))
(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 (deeper-blue)))
'(custom-safe-themes
(quote
("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
'(package-selected-packages
(quote
(htmlize org-bullets solarized-theme which-key use-package try lorem-ipsum counsel auto-complete))))
'(custom-enabled-themes (quote (deeper-blue))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -1,11 +1,10 @@
;;; Automatically generated by recentf on Sat Sep 1 20:53:46 2018.
;;; Automatically generated by recentf on Sun Sep 2 02:46:55 2018.
(setq recentf-list
'(
"/home/guyfawkes/Documents/code/#test.org#"
"/home/guyfawkes/Documents/Emacs/hrsconfigfile.html"
"/home/guyfawkes/.emacs.d/elpa/org-bullets-20180208.2343/org-bullets-autoloads.el"
"/home/guyfawkes/.emacs.d/session.10715f61e12a06d7bd153579663253391000000011590066"
"/home/guyfawkes/.emacs.d/init.el"
"/home/guyfawkes/.emacs.d/elpa/org-bullets-0.2.4/org-bullets-autoloads.el"
"/home/guyfawkes/Documents/code/pyt.py"
"/home/guyfawkes/.emacs.d/elpa/auto-complete-20170125.245/auto-complete-autoloads.el"
"/home/guyfawkes/.emacs.d/elpa/popup-20160709.1429/popup-autoloads.el"

View File

@ -1,9 +1,10 @@
;;; Automatically generated by recentf on Sat Sep 1 19:05:38 2018.
;;; Automatically generated by recentf on Sat Sep 1 20:53:46 2018.
(setq recentf-list
'(
"/home/guyfawkes/.emacs.d/elpa/org-bullets-20180208.2343/org-bullets-autoloads.el"
"/home/guyfawkes/Documents/code/#test.org#"
"/home/guyfawkes/Documents/Emacs/hrsconfigfile.html"
"/home/guyfawkes/.emacs.d/elpa/org-bullets-20180208.2343/org-bullets-autoloads.el"
"/home/guyfawkes/.emacs.d/init.el"
"/home/guyfawkes/Documents/code/pyt.py"
"/home/guyfawkes/.emacs.d/elpa/auto-complete-20170125.245/auto-complete-autoloads.el"