Commit graph

1059 commits

Author SHA1 Message Date
William Carroll
e59898f00f Support ALTERNATE_EDITOR environment variable
This simplies the `e` alias and the EDITOR variable definition.
2019-03-07 14:05:31 +00:00
William Carroll
3dd58b01bd Update init.vim to support updated Vundle location
Before I noticed the rtp variable, the Vundle installation was a bit
nebulous to me.

TODO: Consider dropping support for vanilla altogether.
2019-03-07 14:03:54 +00:00
William Carroll
69516a41bc Support additional config files
Lucky me. More configuration!
2019-03-06 17:02:48 +00:00
William Carroll
abcdf22fb4 Supports autocompletion for Piper
See comment for an explanation about the additions.
2019-03-06 17:01:42 +00:00
William Carroll
f9be76e678 Support additional shell functions
I learned about compgen, so I made a bunch of aliases that should
help me remember its uses.

Also added a myriad of others.
2019-03-06 17:00:40 +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
39420bb948 Amend init.vim
- support <leader>e* KBDs for quickly editing common configuration files
- prefer dark theme to light theme
- prefer nowrap by default instead of toggling wrap
2019-03-05 18:29:59 +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
731faded8d Extends i3 to support gLinux setup
Disables i3-gaps code temporarily until I get a proper installation
working.

Formats existing code to prefer alignment of text across similar,
adjacent definitions.

Defines new KBDs for screenlocking, music player controls, volume
controls.

Defines a rough manifesto of KBDs and the reasoning behind some choices.
2019-03-05 18:24:36 +00:00
William Carroll
85e7b74c16 Prefer refined theme to robbyrussell
Sorry, Robby Russell.
2019-03-05 18:23:57 +00:00
William Carroll
ebde4edc0e Support DATE_FMT
This format string is being used in my i3 config and in my alias for
creating a gPaste. I figured it'd be nice to set a variable that defines
the format. Future me: run `man date` to see what format options are
supported.
2019-03-05 18:23:00 +00:00
William Carroll
f9b7b86b9c Prefer longer aliases for Google utils
pbcopy  -> c
pbpaste -> p

While it's nice to expect pbcopy on both OSX and Linux, it's better to
just alias c=pbcopy on OSX and assert on `c` and `p`, which are must
shorter to type.
2019-03-05 18:21:41 +00:00
William Carroll
5dd3ebe314 xinitrc -> xsessionrc
At the moment, I'm unsure why this is working, but it is. More research
needs to be done.
2019-03-04 18:00:50 +00:00
William Carroll
f68cd7113f Temporarily drop support for Rofi
This depended on a hardlink to the /nix/store, which was a Nix
workaround that I no longer need. Expect the rofi/config to return.
2019-03-04 17:58:29 +00:00
William Carroll
e807778921 Support aliases for common config files, misc
Since I'm constantly editing vim, emacs, i3, zshrc, functions, aliases,
etc., I should support variables, aliases, and KBDs to make editing,
sourcing these files much more efficient.
2019-03-04 17:56:03 +00:00
William Carroll
2f7e9f5c54 Fix glp
I believe `glp` was messed up from a port from zsh -> nix -> zsh. It's
working now though!
2019-03-04 17:55:16 +00:00
William Carroll
9e233b621e Support monitor resolution function
Useful because I always forget the dimensions of my screens.
2019-03-04 17:53:49 +00:00
William Carroll
cb533533c1 Remove function keyword from bash fn defns
To keep things standardized between functions.zsh and
dumping_grounds.zsh.
2019-03-04 17:53:16 +00:00
William Carroll
9da958d920 Support variables for common config file 2019-03-04 17:52:55 +00:00
William Carroll
dba7ac2365 More fully support zsh
Support zshrc, variables, aliases, functions

TODO: incorporate dumping_grounds.zsh into functions.
2019-02-28 12:24:11 +00:00
William Carroll
f4c53982c7 Support .ssh/config
Beware and avoid leaking sensitive data.

Options:
- ensure wpcarro/dotfiles remains private while support potentially
sensitive documents
- consider encrypting sensitive documents using gnupg or git-crypt
- consider having someone from the Security team audit the repository to
ensure that nothing sensitive is being leaked
2019-02-28 12:24:11 +00:00
William Carroll
babd7393d5 Support Xmodmap, xinit -> x_server
Prefer x_server to xinit as it's more general.
2019-02-27 17:11:13 +00:00
William Carroll
a62f2e581a Support dumping_grounds.zsh
Ports from wpcarro/nixify repo.

Drops support for Urbint-specific functions like `git_tasks`, `builds`.

TODO: organize, document
2019-02-27 17:07:19 +00:00
William Carroll
998f60d65c Prefer Makefile
In the future, prefer Makefiles instead of ad-hoc shell scripts.
2019-01-13 14:45:14 -05: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
18b9930b86 Update gitignore
I believe `emacs.d` was change to `.emacs.d` somewhere along the way.
The gitignore needs to be updated, and some spam may have slipped in as
well.
2019-01-13 14:30:04 -05:00
William Carroll
6842ecd3be Update linux configs
- Updates IRSSI config, XInitRC, i3 config
2019-01-13 14:26:14 -05:00
William Carroll
8b09557f38 Supports additional snippets
- C programming
- HTML
- Nix
2019-01-13 14:25:25 -05:00
William Carroll
f4dec4b3eb Add Hallstatt, Austria 2018-12-19 12:43:34 -05:00
William Carroll
aaad5acc0b Add cities
Add additional cities. Classify cities by region.
2018-12-12 17:47:42 -05:00
William Carroll
e6c5065b5b Integrate i3 and Emacs
Super shared KBDs between i3wm and Emacs for:
- focusing windows (i.e. M-{h,j,k,l})
- deleting windows (i.e. M-q)

More support may be needed, but this is good DWIM behavior for now.
2018-10-06 17:12:04 -04: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
de97c7bcd0 Prefer executable install.sh
Not sure why this wasn't set to this mode earlier.
2018-10-02 09:52:16 -04:00
William Carroll
f06b2edf5c Support additional Linux configurations
- i3 - window manager
- Terminator - terminal preferences
- Rofi - kind of like Finder, but also like Helm and Ivy; dmenu
  replacement
2018-10-02 09:49:23 -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
William Carroll
8b2fadf477 Support GPG config
Whitelist GPG in the Stow configuration. Setup keyserver preferences.
2018-09-04 15:03:32 -04:00
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
a9fa9673dc Update git preferences
- enable rerere
- prefer less, since bat is my default pager, which doesn't look great
  when looking at diffs, patches, etc
- fix broken alias
- support another alias
2018-09-04 14:57:04 -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
3dadd97ef3 Center matching line when focusing from iTerm
Improve the UX by centering the focused line verically.
2018-09-04 14:53:49 -04:00