Commit graph

21 commits

Author SHA1 Message Date
William Carroll
0244474e9f Debug startup, support LSP, update KBDs
Debug startup:
- some packages were missing explicit use-package calls, which made this
  configuration incompatible with fresh computers. After crashing my MBP
  and trying to get this working thereafter, I learned.

Support LSP:
- LSP support for Haskell is good; embrace and prefer over Intero

Update KBDs:
- preferences change
- changing to a light theme (for now)
2018-09-04 15:01:07 -04:00
William Carroll
0d6c0881a8 Support nix configuration
I suppose it was only a matter of time...
2018-09-04 15:00:18 -04:00
William Carroll
6ebd90a946 Support searching node_modules/.bin
Adds a package that allows Emacs to searching through a projects
node_modules executables when resolving a binary like eslint, prettier
etc. This was being hacked together before by relying on explicit paths
to executables. This is a more durable solution.

Also includes some packages related to LSP for Javascript, which I
haven't been able to get working yet.
2018-09-04 14:55:41 -04:00
William Carroll
6393e47c77 Support highlighting fill-column overflows
This was previously semi-supported. There were two problems, however:

1. My fill-column value of 80 got out-of-sync with my white-line-column
   value of 100.
   Solution: globally define wpc/fill-column, set that to 80, and
   consume the new const in my config.

2. Nothing was activating whitespace mode.
   Solution: add whitespace-mode to prog-mode-hook.

This SO answer helped tremendously:
https://stackoverflow.com/questions/18855510/have-emacs-highlight-characters-over-80
2018-08-09 12:02:18 -04:00
William Carroll
88d75b9771 Remap KBDs for Paredit
I wasn't using the previous KBDs, which were modelled after Vim's answer
for Paredit KBDs.

Some of the mappings bothered me, so I needed that made more sense to
me.
2018-07-19 12:00:08 -04:00
William Carroll
6e1f91e10f Support KBD to jump to Slate config
Useful since the new configuration branches according to a boolean that
encodes whether or not the Ergodox is connected.

Since I'm frequently switching between programming at my desk to
programming AFK, I need a faster way to update my Slate configuration.

Ideally - some script would watch the USB port for whether or not the
Ergo was connected. Until then...
2018-07-19 12:00:08 -04:00
William Carroll
b4ab3b2ef8 Start Emacs server by default
Useful for iTerm -> Emacs integration.
2018-07-19 12:00:08 -04:00
William Carroll
a8351ea00e Support flycheck-next-error KBD
Start using Flycheck to navigate code more frequently by promoting error
navigation as a leader-prefixed KBD.
2018-07-19 12:00:08 -04:00
William Carroll
71830b92d4 Update theme preferences
Yes my preferences changed AGAIN!
2018-07-19 12:00:08 -04:00
William Carroll
bb8cb310fa Extend Haskell support
- Format imports on buffer-save.
- Adds two new snippets
2018-07-19 12:00:08 -04:00
William Carroll
014b530037 Support font-increase & font-decrease fns
Support functions for increasing and decreasing Emacs's font size --
without requiring a full restart.
2018-07-19 12:00:08 -04:00
William Carroll
b9d2e04efb Change theme preferences
You know how it is...
2018-07-19 12:00:08 -04:00
William Carroll
ad496994c8 Support transparency toggling
The kbd, <super>-u, is modelled after iTerm's <super>-u kbd for toggling
transparency.
2018-07-19 12:00:08 -04:00
William Carroll
27b1a74d07 Support Haskell test toggling
Toggle between Haskell modules and test files.
2018-07-19 12:00:08 -04:00
William Carroll
30cdf1e941 Support current-project variable
DRYs up configuration...

This value is used to set:
  - my initial buffer
  - where <leader>-p jumps to
2018-07-19 12:00:08 -04:00
William Carroll
c50b730dad Support goto-definition dispatching
Need to learn more about `evil-goto-definition` because it is possible
and even likely that there is a known, friendlier alternative way to
dispatch the goto-definition using Evil's infrastructure. Needed a
hotfix, however, so this will have to suffice for now.
2018-07-19 12:00:08 -04:00
William Carroll
fc283b7a23 Support graphql module
Providing the module to dump GQL functionality to my config. Hopefully
this gets more fleshed out at a later date.
2018-07-19 12:00:08 -04:00
William Carroll
bdfb83dc2c grid-front-end -> grid-client
Ensure that the Emacs bookmarks respect the updated name change for the
Grid client repository.
2018-07-19 12:00:08 -04:00
William Carroll
eabaf0e04f Disable magit-gh-pulls
After my hard drive fried, I lost important configuration settings.
Since then, I haven't been able to use `magit-gh-pulls` without it
incessantly prompting me for my GH username and password. Until I
remember how I previously configured this, I'm disabling it.
2018-07-19 12:00:08 -04:00
William Carroll
17a4f8ae53 setq -> setq-default for fill-column
`setq-default` is the only way to ensure `fill-column` is set.
2018-07-19 12:00:08 -04:00
William Carroll
3c8e6f0cc5 Support updated emacs
Finally ported my up-to-date emacs configuration here. I was putting
this off for a long while, unsure of how to handle all of the work. All
it took was my laptop being fried to force me to do this. So... voila!
2018-07-19 12:00:08 -04:00