Browse Source

Updated emacs config and removed TODOs

master
Josh Wolfe 9 months ago
parent
commit
da07f29a31
No account linked to committer's email address
4 changed files with 27 additions and 78 deletions
  1. 0
    1
      .travis/build_site.sh
  2. 0
    1
      .travis/generate-html.el
  3. 0
    74
      TODO.org
  4. 27
    2
      emacs/.emacs.d/README.org

+ 0
- 1
.travis/build_site.sh View File

@@ -8,6 +8,5 @@ emacs --script generate-html.el
emacs --batch -f org-version --kill
cd ../
mkdir -p deploy
mv TODO.html deploy/todo.html
mv emacs/.emacs.d/README.html deploy/index.html
mv .travis/readtheorg.css deploy/

+ 0
- 1
.travis/generate-html.el View File

@@ -41,4 +41,3 @@

(message (export-target readme-src))
(cd "../")
(message (export-target "TODO.org"))

+ 0
- 74
TODO.org View File

@@ -1,74 +0,0 @@
#+TITLE: TODOs
#+Author: Josh Wolfe
#+TODO: TODO UNDERWAY | DONE WAIT

* About
# -*- mode: org; -*-
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="readtheorg.css"/>
#+HTML_HEAD: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
#+HTML_HEAD: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/lib/js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js"></script>

This todo list is mostly for me to keep track of the things I want to do.
It contains ideas I have for packages and tweaks as well as other people's
packages and configs that I should look into.

* Notable configs to look into
- [[https://github.com/angrybacon/dotemacs][angrybacon/dotemacs]]
- literate
- lots of images
- package explanations
- exwm
- [[https://github.com/abo-abo/oremacs][abo-abo/oremacs]]
- [[https://github.com/wasamasa/dotemacs][wasamasa/dotemacs]]
- literate
- evil
- very well documented
- [[https://github.com/IvanMalison/dotfiles][IvanMalison/dotfiles]]
- literate
- term-mode
- org export
- [[https://github.com/joedicastro/dotfiles][joedicastro/dotfiles]]
- literate
- images for explanation
- hydras
- mu4e
- [[https://github.com/hlissner/doom-emacs/tree/develop][hlissner/doom-emacs]]
- very vim-y
- shackle for pop-ups
- helpful for better help
- steal the function doom/window-enlargen

* Things to look into
** TODO Read about emacs =follow-mode=
Follow mode allows you to extend your scrolling of a buffer across multiple
splits.
* TODO Find a suitable shell setup inside emacs
Currently I use =urxvt= as an external terminal. Ideally I would like to run
my shell from within emacs but as of present I haven't found an experience
smooth enough to use full time. One possibility is using eshell and doing
all of the configuration in elisp. The other (and more likely option) is using
=shell=, =term= or =ansi-term= with packages like [[https://github.com/killdash9/better-shell][=better-shell=]].
* TODO Write an app that suggests Github repos based on stars
The basic idea is an app that would cross reference all of the repos starred by
users who also starred the same repos as you and display the most common overlap.
This is *very* performance intensive so a better solution or optimizations will
need to be considered.

* DONE Write a package that integrates =org-mode= into projects
CLOSED: [2018-09-27 Thu 00:29]
I'm working on this project at [[https://github.com/WolfeCub/org-project/][=org-project=]] on my github if you're interested in contributing.

The general idea of this package would be to have a org file that integrates
with either projectile or git projects that can link directly to =TODO:='s in
code. In addition it should be able remove the TODO from the code once the org
item has been completed.

* DONE Find additional performance tweaks on windows
CLOSED: [2018-09-27 Thu 00:29]
Currently I use windows at work and have found that some things don't perform as
quickly as they do on linux. A few things that require more investigation are:
- =UTF-8= font display drastically slows down emacs
- =Magit= is quite slow though this is probably caused by =git= slowness

+ 27
- 2
emacs/.emacs.d/README.org View File

@@ -899,12 +899,13 @@ Setup some basic quality of life org settings.
org-fontify-done-headline t
org-fontify-quote-and-verse-blocks t
org-highlight-latex-and-related '(latex)
org-log-done 'time
org-enforce-todo-dependencies t
org-agenda-use-time-grid nil
org-agenda-skip-deadline-if-done t
org-agenda-skip-scheduled-if-done t
org-ellipsis wolfe/org-ellipsis)
org-ellipsis wolfe/org-ellipsis
org-entities-user '(("bot" "\\bot" nil "" "" "" "⊥")))


(defun wolfe/org-tags-compute-width ()
(- (floor (* 0.8 (frame-width)))))
@@ -1732,6 +1733,30 @@ Shows hex colors inline.
(exec-path-from-shell-copy-env "SSH_AUTH_SOCK"))
#+END_SRC

** Shell Pop

#+BEGIN_SRC emacs-lisp :tangle yes
(use-package shell-pop
:config
(defun shell-pop--set-exit-action ()
(if (string= shell-pop-internal-mode "eshell")
(add-hook 'eshell-exit-hook 'shell-pop--kill-and-delete-window nil t)
(let ((process (get-buffer-process (current-buffer))))
(when process
(set-process-sentinel
process
(lambda (_proc change)
(when (string-match-p "\\(?:finished\\|exited\\)" change)
(if (one-window-p)
(switch-to-buffer shell-pop-last-buffer)
(kill-buffer-and-window)))))))))

(custom-set-variables
'(shell-pop-shell-type (quote ("vterm" "*vterm*" (lambda nil (vterm)))))
'(shell-pop-term-shell "/usr/bin/zsh")
'(shell-pop-window-position "right")))
#+END_SRC

* Completion
** Ivy & Counsel


Loading…
Cancel
Save