Browse Source

Initial commit

master
Pedro Berrocal 5 years ago
parent
commit
fa31903359
1 changed files with 96 additions and 0 deletions
  1. +96
    -0
      .emacs

+ 96
- 0
.emacs View File

@ -0,0 +1,96 @@
(set-frame-parameter (selected-frame) 'alpha '(50 50))
(add-to-list 'default-frame-alist '(alpha 80 80))
(global-set-key (kbd "C-c c") 'comment-or-uncomment-region)
(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.
'(ecb-layout-window-sizes
(quote
(("left-analyse"
(ecb-directories-buffer-name 0.27741935483870966 . 0.2857142857142857)
(ecb-sources-buffer-name 0.27741935483870966 . 0.22448979591836735)
(ecb-methods-buffer-name 0.27741935483870966 . 0.22448979591836735)
(ecb-analyse-buffer-name 0.27741935483870966 . 0.24489795918367346)))))
'(ecb-options-version "2.40")
'(elfeed-feeds
(quote
("https://www.indymedia.org/es/main-features.rss" "https://the-parallax.com/feed/" "http://blogs.oracle.com/ksplice/feed/entries/rss?cat=%2Fsecurity" "http://seclists.org/rss/fulldisclosure.rss" "http://www.wired.com/category/design/feed/" "http://www.wired.com/category/science/science-blogs/feed/" "http://feeds.feedburner.com/TheAtlanticCities" "http://www.wired.com/category/photo/feed/" "http://www.geopolitica.ru/en/news-list.xml" "http://www.wired.com/feed/" "http://www.wired.com/category/threatlevel/feed/" "http://www.debka.com/feeds/latest/" "http://zhodiac.hispahack.com/rss.php" "http://seclists.org/rss/basics.rss" "https://www.fireeye.com/blog/threat-research/_jcr_content.feed" "http://seclists.org/rss/oss-sec.rss" "http://feeds.feedblitz.com/alienvault-blogs" "http://feeds.feedblitz.com/alienvaultotx" "http://feeds.feedblitz.com/alienvault-security-essentials" "https://www.secureworks.com/rss?feed=blog" "https://www.secureworks.com/rss?feed=resources" "https://www.secureworks.com/rss?feed=research" "http://www.wired.com/category/gear/feed/" "http://www.darkreading.com/rss_simple.asp?f_n=644&f_ln=Attacks/Breaches" "http://www.darkreading.com/rss_simple.asp?f_n=645&f_ln=Application%20Security" "http://www.darkreading.com/rss_simple.asp?f_n=646&f_ln=Database%20Security" "http://www.darkreading.com/rss_simple.asp?f_n=647&f_ln=Cloud" "http://www.darkreading.com/rss_simple.asp?f_n=648&f_ln=Endpoint" "http://www.darkreading.com/rss_simple.asp?f_n=649&f_ln=Authentication" "http://www.darkreading.com/rss_simple.asp?f_n=650&f_ln=Privacy" "http://www.darkreading.com/rss_simple.asp?f_n=651&f_ln=Mobile" "http://www.darkreading.com/rss_simple.asp?f_n=652&f_ln=Perimeter" "http://www.darkreading.com/rss_simple.asp?f_n=653&f_ln=Risk" "http://www.darkreading.com/rss_simple.asp?f_n=654&f_ln=Compliance" "http://www.darkreading.com/rss_simple.asp?f_n=655&f_ln=Operations" "http://www.darkreading.com/rss_simple.asp?f_n=656&f_ln=Careers%20and%20People" "http://www.darkreading.com/rss_simple.asp?f_n=657&f_ln=Identity%20and%20Access%20Management" "http://www.darkreading.com/rss_simple.asp?f_n=658&f_ln=Analytics" "http://www.darkreading.com/rss_simple.asp?f_n=659&f_ln=Threat%20Intelligence" "http://www.darkreading.com/rss_simple.asp?f_n=661&f_ln=Vulnerabilities%20/%20Threats" "http://www.darkreading.com/rss_simple.asp?f_n=662&f_ln=Advanced%20Threats" "http://www.darkreading.com/rss_simple.asp?f_n=663&f_ln=Insider%20Threats" "http://www.darkreading.com/rss_simple.asp?f_n=664&f_ln=Vulnerability%20Management" "http://feeds.feedburner.com/GoogleOnlineSecurityBlog" "http://www.voltairenet.org/spip.php?page=backend&lang=en" "http://www.voltairenet.org/spip.php?page=backend&lang=es")))
'(org-agenda-files (quote ("defaultdrop.org")))
'(send-mail-function (quote smtpmail-send-it))
'(smtpmail-smtp-server "mail.us.es")
'(smtpmail-smtp-service 587))
(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.
'(default ((t (:family "DejaVu Sans Mono" :foundry "PfEd" :slant normal :weight normal :height 98 :width normal)))))
(add-to-list 'load-path "/home/r/.emacs.d/lisp/")
(let ((default-directory "~/.emacs.d/lisp/"))
(normal-top-level-add-subdirs-to-load-path))
(require 'ecb)
(require 'color-theme)
(color-theme-initialize)
(color-theme-late-night)
(color-theme-lawrence)
(require 'org)
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
(require 'snort-mode)
(add-to-list 'load-path "~/src/mu/mu4e")
(require 'mu4e)
;; default
(setq mu4e-maildir "~/Mail")
;; (setq mu4e-drafts-folder "/Drafts")
;; (setq mu4e-sent-folder "/Sent Mail")
;; (setq mu4e-trash-folder "/Trash")
;; don't save message to Sent Messages, Gmail/IMAP takes care of this
;; (setq mu4e-sent-messages-behavior 'delete)
;; setup some handy shortcuts
;; you can quickly switch to your Inbox -- press ``ji''
;; then, when you want archive some messages, move them to
;; the 'All Mail' folder by pressing ``ma''.
;; (setq mu4e-maildir-shortcuts
;; '( ("/INBOX" . ?i)
;; ("/[RiseUp].Sent Mail" . ?s)
;; ("/[RiseUp].Trash" . ?t)
;; ("/[RiseUp].All Mail" . ?a)))
;; smtp mail setting
;; allow for updating mail using 'U' in the main view:
(setq mu4e-get-mail-command "offlineimap")
(require 'package) ;; You might already have this line
(package-initialize) ;; You might already have this line
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/"))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(global-set-key (kbd "C-.") 'next-window)
(defun next-window ()
(interactive)
(other-window -1))
;;(require 'yara-mode)
(put 'upcase-region 'disabled nil)

Loading…
Cancel
Save