GitXplorerGitXplorer
m

Emacs-Config

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
1b2977d06c1aa19a550d79c3ff634a52d2741f09

Add origami mode for code folding in *.js files and bind toggling nodes to C-\

mmpdaugherty committed 5 years ago
Unverified
36bd9c62b86827abd1126384248c04b71b69cfc7

Add Emmet mode for fast HTML generation.

mmpdaugherty committed 5 years ago
Unverified
5c3d14aa66efc2784db827997a1b2f59e6c6adeb

Update packages, etc.

mmpdaugherty committed 5 years ago
Unverified
dbb655b6408235c4589f2c993f74bcec9d00ea9f

Monkey-patch flycheck to be able to find the config file for eslint. This was preventing eslint from activating on .js files.

mmpdaugherty committed 5 years ago
Unverified
778aff9192568f5d781b50cbfa8d7b12373f8ba2

Working on getting flycheck to work with .js files...

mmpdaugherty committed 5 years ago
Unverified
91ef4a9f5c9e8204301b7f5b33b1eedb7862fa84

Auto-updates

mmpdaugherty committed 5 years ago

README

The README file for this repository.
  • Installing ** Linux / Emacs on OSX

#+BEGIN_SRC shell-script git clone git@github.com:mpdaugherty/Emacs-Config.git ~/.emacs.d #+END_SRC

** Aquamacs Don't use Aquamacs. Use real Emacs for Mac.

If you must use Aquamacs, do this:

#+BEGIN_SRC shell-script git clone git@github.com:mpdaugherty/Emacs-Config.git /.emacs-config git submodule update echo '(load-file "/.emacs-config/config.el")' >> ~/Library/Preferences/Aquamacs\ Emacs/Preferences.el sudo pip install pyflakes pep8 #+END_SRC

  • Included
  • Trim whitespace on save
  • Org Mode
  • Custom blogging tools for MPD (not enabled) #+BEGIN_SRC emacs-lisp (require 'blogging) #+END_SRC
  • Not Included (that used to be here)
  • Javascript flymake

  • flymake-cursor

  • Python flymake

  • FlySpell

  • Tabs = spaces (indent-tabs-mode)

  • SLIME

  • yasnippets

  • Custom org mode and goals #+BEGIN_SRC emacs-lisp ; Org mode custom views (setq org-agenda-custom-commands '(("g" "Goals and current tasks" ((tags-todo "+year+goal" ((org-agenda-overriding-header " Year Goals: "))) (tags-todo "+month+goal" ((org-agenda-overriding-header " Month Goals: "))) (tags-todo "+week+goal" ((org-agenda-overriding-header " Week Goals: "))) (agenda ""))) ; TODO I can set filters, custom view settings, etc. in the next argument after this list. ("n" "Next tasks" tags-todo "+next")))

    ; Add all files in the /org/ directory and most recent reviews to my agenda ; Also, make this into an interactive command so I can reload it when I create ; a new review (defun org-reload-agenda-files () (interactive) (setq org-agenda-files (append (file-expand-wildcards "/org/.org") (file-expand-wildcards "~/Dropbox/LifePhilosophy/.org") (delq nil ; this gets us a list of the most recent year, month, and week reviews (mapcar (lambda (folder) (car (last (sort (file-expand-wildcards (concatenate 'string folder "/*.org")) `string-lessp)))) (file-expand-wildcards "~/Dropbox/LifePhilosophy/*Reviews")))))) (org-reload-agenda-files)

    ; Set up my review commands (defun create-weekly-review () (interactive) (with-current-buffer (find-file-noselect "~/Dropbox/LifePhilosophy/WeeklyReviews/abc.org") (org-element-parse-buffer))) #+END_SRC