Commit graph

30 commits

Author SHA1 Message Date
William Carroll
b1275671a8 Return (server-start) to Emacs initialization
See the comment for an explanation about this revision.

  - we want to support to GUI
  - it's difficult to reuse GUI windows elegantly unless the server is started
    from the GUI itself
  - consider starting the emacs GUI when X initializes
2019-03-20 18:38:02 +00:00
William Carroll
a69e21a74f Drop support for open-from-iterm since OSX support was dropped
This should have been removed a few commits back. Oh well... dirty laundry
2019-03-20 18:36:59 +00:00
William Carroll
0039022c6e Disable company-mode when editing markdown
`company-mode' can be pretty noisy in some modes. In fact, I'm writing this in
`fundamental-mode', which is proving to be equally as noisy as the
auto-completion in `markdown-mode'. Stay tuned for an update that disables
`company-mode' in fundamental mode.
2019-03-20 15:50:34 +00:00
William Carroll
9908175878 Remove org-mode's M-{h,j,k,l} conflicting KBDs
This is a bit of a workaround since ideally wpc/ensure-kbds and wpc/kbds minor
mode should eclipse the major-mode's KBDs. I couldn't fully debug the issue, and
in the interest of getting on with things, I resolved to just unbind those keys.
2019-03-20 15:08:56 +00:00
William Carroll
a810a74771 Support global auto-fill-mode
It appears that (auto-fill-mode 1) may be buffer-local. Adding a hook to
fundamental-mode to ensure auto-fill-mode is enabled for most buffers. Stay
tuned, because this may need to be setup for prog-mode-hook as well. Or
neither... we'll see what works.
2019-03-20 15:07:07 +00:00
William Carroll
29e19725ac Rename Elisp function for ensuring KBDs
Prefer wpc/ namespace for functions that I define. Consider defining all
functions in one location, similar to ZSH's functions.zsh
2019-03-20 15:03:03 +00:00
William Carroll
a2f07f24e0 Support an org-capture template for misc shopping
Sometimes just capturing what I want to buy is as satisfying as actually buying
the item. These org-capture templates really alleviate a lot of the anxiety I
associate with trying to remember many things.
2019-03-18 20:55:58 +00:00
William Carroll
e7bc9e39bd gitignores .emacs.d/{bookmarks,custom.el,projectile-bookmarks.eld}
Using the `git rm -r --cached . && git add .` tip from: http://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/
I'm able to finally ignore these files. Things should be cleaner moving forward.
2019-03-18 14:30:42 +00:00
William Carroll
f7b3e0a7a9 Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.

There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.

This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.

This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 14:14:26 +00:00
William Carroll
44e46bbce2 Fix Emacs installation
My Emacs installation would fail on new machines because:

* use-package
* evil
* paredit

use-package is needed to install everything else.

evil and paredit were required in functions.el and other places before they were
called like (use-package evil ...). This should improve things but not fix the
entire issue.
2019-03-11 23:08:23 +00:00
William Carroll
a5512fd706 Remove more Emacs noise
Removing more files that clutter my `gst`

This time I ran...

```bash
git rm -r --cached .
```

...which is supposed to help ignore files that `git` already tracks. This may be
the missing piece I've been looking for.
2019-03-11 23:08:15 +00:00
William Carroll
7270292d73 Support org shortcut and ELisp fn
Support generic ELisp fn. Should have a dumping grounds for ELisp
fns similar to my dumping_grounds.zsh.
2019-03-08 18:18:30 +00:00
William Carroll
c487b09d6a Support i3wm and org-capture integration
Now this has been missing from my workflow for awhile.
2019-03-08 18:15:27 +00:00
William Carroll
e9e4181fc0 Drop support for Python
I couldn't pull lsp-python from Melpa properly and since I'm
currently not doing any Python work, I figure I will drop support
for it temporarily.
2019-03-07 15:08:29 +00:00
William Carroll
7db36dc24d Renew support for Melpa
This was removed when I was still trialing Nix. Since I need to be on
gLinux for work and Nix isn't an option, I need something that works.
2019-03-07 15:08:29 +00:00
William Carroll
43a2d0de2c Prefer x KBD for XResources
I'm finding that I'm visiting XResources more frequently than I'm
visiting ~/.xinitrc or other X files.
2019-03-06 16:59:45 +00:00
William Carroll
a14d4e5d9c Support commonly visited configs in Emacs
<leader>j is commonly used for me, so I figured these should be
supported here as well.
2019-03-06 16:58:56 +00:00
William Carroll
e811b4bf80 Remove Emacs spam
I have the (package-initialize) call already in wpc-package.el.

I'm unsure how this removal is ending up in a git status because I'm
pretty sure I've never commited that to this repo. Need to tighten
things up I guess.
2019-03-06 16:58:56 +00:00
William Carroll
fb1784e2ac Remove noisy files
This repo's history seems to reflect my difficult wrestling with
Git, GitHub, gitignore files. I'm still not sure I understand
everything that's going on.
2019-03-06 16:58:56 +00:00
William Carroll
2c1721e8b4 Drop support for lsp-javascript-flow
This package was deprecated. See the GH Readme for more details.
2019-03-06 16:42:55 +00:00
William Carroll
04d0ee5a15 Reduces font-size
10 was just too big on my gLinux 4k setup.
2019-03-05 18:29:33 +00:00
William Carroll
69acbae998 Changes my default project
I should eventually support a shell variable in variables.zsh that
exports CURRENT_PROJECT, which Emacs can read.
2019-03-05 18:28:46 +00:00
William Carroll
607bf103c3 Parameterizes wpc/find-file function
Supports a filename as a parameter to my wrapped version of
evil-find-file.
2019-03-05 18:26:53 +00:00
William Carroll
481df5a385 Remove Emacs spam
My inconsistent git history-keeping is coming to bite me here. At the
moment, I can only speculate about what went wrong here. The gist is
this: I unintentionally committed files that were supposed to be ignored

This commit removes those files which includes:

- auto-save-list
- elpa packages
- quelpa packages
- misc
2019-01-13 14:45:14 -05:00
William Carroll
8b09557f38 Supports additional snippets
- C programming
- HTML
- Nix
2019-01-13 14:25:25 -05:00
William Carroll
0c012554b9 Updates to Emacs preferences
- Prefers "$HOME" to "~/urbint" for current project
- Prefers dark colorscheme
- Allows source-jumping to Emacs (nixify this to remove dep on
  path/to/source)
2018-10-02 09:57:15 -04:00
William Carroll
9ed59566eb Support Python
Adds configuration for my Python preferences.
2018-10-02 09:56:30 -04:00
William Carroll
e389f02007 Emacs bookmarks, custom, auto-save
In the future, I may consider gitignoring these. For now, voila.
2018-10-02 09:55:53 -04:00
William Carroll
9da3ffee41 Update Emacs packages
This is a massive diff that I had to do in a hurry - when leaving
Urbint. I'm pretty sure that most of these are updating Emacs packages,
but I'm not positive.
2018-10-02 09:54:39 -04:00
William Carroll
17ee0e400b Support Vim, Tmux, Emacs with Stow
After moving off of Meta, Dotfiles has a greater responsibility to
manage configs. Vim, Tmux, and Emacs are now within Stow's purview.
2018-09-10 14:53:23 -04:00