Commit graph

273 commits

Author SHA1 Message Date
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
4d7d937df7 Reorganize aliases, support misc fns, misc named dirs
Miscellaneous maintenance tasks for my ZSH life.
2019-03-08 18:17:41 +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
c0b8167c2c Prefer gnome-terminal
This is a temporary change. Will get back on urxvt in the future.
2019-03-08 18:14:39 +00:00
William Carroll
50420ba131 pil -> pils
I should standardize on `ls` for list instead of `l`. This may have even
been a typo when I first defined it.
2019-03-07 16:49:11 +00:00
William Carroll
94bbcaafd5 Define nix_installed function
Lists the packages installed by `nix-env`. Moving forward, it might be
useful to run something like...

`$ nix_installed >nix-env.txt`

...and commit that to this repository a la the brew.txt file that
previously floated around this repo. For now, I'm unwilling to commit to
that solution, because I'm hoping a better alternative exists.

Perhaps this should be an alias. Still unsure why I write aliases
sometimes and functions other times. It might be worth documenting as a
principle that I can lean on.
2019-03-07 16:47:14 +00:00
William Carroll
aa7b96bacd Prefer to rg and fd hidden files
These may be configurable via .rgrc or .fdrc files, but frankly I have
enough RC files floating around. This should be fine.
2019-03-07 16:46:38 +00:00
William Carroll
fe6f2b9697 Simplifies i3 statusbar config
Moves the time to a more readable area. Removes noise from the disk
information.
2019-03-07 16:46:09 +00:00
William Carroll
dc3c37c78e Support cloudtop
Supports ZSH themes based on which device I'm working. This might get
annoying after awhile, but I think the idea of having the prompt reflect
when I'm on a different machine than my own might be useful.

Adds "cloudtop" alias in ssh config.
2019-03-07 16:44:37 +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
6a629f1720 Support additional i3 KBDs
Also prefer urxvt to gnome-terminal. This is subject to change.

Also supports additional KBDs for repeated tasks.
2019-03-07 15:08:29 +00:00
William Carroll
f2f8b0d10f Support step-by-step installation instructions
I documented my consumption of wpcarro/dotfiles in the README. The dream
is to just clone this repo and run `make install`. We'll get there.

TODO: drop support for OSX
TODO: clean up the rest of this README
2019-03-07 14:10:10 +00:00
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
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
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
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
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
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
2211d65557 Delete .ghci config
Temporarily remove the GHCI config, since it's most just spamming my
logs at the moment.
2018-07-19 12:10:38 -04:00
William Carroll
a86c2ddece Prefer stow over hand-rolled solution
After discovering GNU stow on Nix IRC, refactored install and setup
scripts to consume it.

Code is vastly simplified as a result.
2018-07-19 12:00:08 -04:00
William Carroll
a99939657b Default to Ergodox being connected
Accidentally commited the version of this configuration that has this
variable set to false.

Since most of the time, this variable should be true, commiting the true
version will clean up my git status output.
2018-07-19 12:00:08 -04:00
William Carroll
f84a9c6438 Support global gitignore
Keep project-specific gitignore files clean.
2018-07-19 12:00:08 -04:00
William Carroll
8e9aa65760 Support changed-files
Not sure how this was removed, but supporting it again.
2018-07-19 12:00:08 -04:00
William Carroll
a9fed7009d Define KBDs conditionally based on flag
Create KBDs that work when the Ergodox isn't attached.

There is a little noise in this diff created by running Prettier on the
buffer.
2018-07-19 12:00:08 -04:00
William Carroll
b147b5fbd0 Support default ghci config
What I deem as currently sensible defaults for my ghci sessions. Expect
this to change over time.
2018-07-19 12:00:08 -04:00
William Carroll
519be4dca1 Augment PATH to support stack install location
I don't currently have a place to augment PATH in my dotfiles, and
perhaps I should. For now, it will reside in the zshrc file.
2018-07-19 12:00:08 -04:00
William Carroll
3135e5faf2 Refactor install scripts
- Support emacs installation
- Export DOTFILES env var to simplify setup.
- Change filenames for consistency
2018-07-19 12:00:08 -04:00
William Carroll
4958dda267 Add GH username to gitconfig
Some programs look for this, like the magit integration with GitHub.
2018-04-25 11:35:16 -04:00
William Carroll
863b29323c pc_settings -> dotfiles
My younger self didn't know that creating repos to house your
configuration was a known pattern! Hence the unweildy name, pc_settings.

This change was a long time coming.
2018-04-23 15:25:35 -04:00
William Carroll
36b830c2c9 Drop tmux support
urbint/meta covers this already.
2018-04-23 15:19:11 -04:00
William Carroll
d9f3bff1c5 Update zshrc
Drop support for zsh_profile. Update zshrc to be cognizant of
urbint/meta. Define minimum config necessary.
2018-04-23 15:16:31 -04:00
William Carroll
691527468d Drop support for misc
Most of these files are covered by urbint/meta -- including the setup
and bootstrap work.

The remaining files are just obsolete and undesirable.
2018-04-23 15:10:09 -04:00
William Carroll
9ab630f8cf Drop support for project USBify
The original idea was to have all of my configuration available on a
USB drive that would bootstrap itself when connected to a Mac. While
this is pretty cool from a Hollywood, hacker-porn standpoint, it is less
desirable to me due to its dependencies. Docker may be the better path
forward.
2018-04-23 15:03:50 -04:00
William Carroll
aed6a9398a Update zsh configs for env vars, etc
Security measures are in place to protect env vars that contain
sensitive data.
2018-01-08 15:40:47 -05:00
William Carroll
f43072e5b6 Drop NERDTree plugin in favor of vinegar 2018-01-08 15:15:49 -05:00
William Carroll
45ac022da2 Support git patch searching with patch-grep 2018-01-08 15:15:20 -05:00
William Carroll
cf4b300845 Update window resizing for Ergo Dox 2018-01-08 15:14:56 -05:00
William Carroll
dd431f5f28 Lint slate config and add additional bindings 2018-01-08 15:14:01 -05:00
William Carroll
54e10baa6c Updates vimrc movement kbds 2017-10-20 19:43:08 -04:00
William Carroll
d996d8e814 Adds preferable Tmux kbds 2017-09-26 15:30:44 -04:00
William Carroll
ed72f4a69d Change vim colorscheme to gotham 2017-09-15 12:06:04 -04:00
William Carroll
72699a7e2f Adds GPG support for editing encrypted files 2017-09-15 12:05:51 -04:00
William Carroll
da5a08c0b4 Add Tim Pope's unimpaired vim plugin 2017-09-15 12:05:26 -04:00
William Carroll
1a2c64f172 Supports multi-monitor movement 2017-09-15 11:59:12 -04:00
William Carroll
ed9c2cae0c Lints slate.js 2017-09-15 11:59:11 -04:00
William Carroll
b349a62f33 Change slate modifier keys 2017-09-15 11:59:11 -04:00
William Carroll
ea10686893 Support additional git aliases 2017-09-15 11:59:11 -04:00
William Carroll
1f4006c72d Add tmux powerline 2017-09-15 11:50:14 -04:00
William Carroll
31b1954e98 Supports json, adds git-timemachine, upgrades pkgs 2017-08-07 10:01:54 -04:00
William Carroll
27faf0c14d Adds git aliases for viewing conflicts 2017-08-01 17:51:06 -04:00
William Carroll
4eb9908e2f Sets autosquash as default for rebasing 2017-08-01 09:44:15 -04:00
William Carroll
e4631a9849 Adds 1Password kbd for Slate 2017-08-01 09:43:59 -04:00
William Carroll
622dbcb833 Adds conditional cfg for TC support 2017-07-30 23:56:43 -04:00
William Carroll
328fd88e98 Restores TrueColor to tmux.conf 2017-07-30 23:56:10 -04:00
William Carroll
a5d8c0d3d0 Removes vim support for Fish shell 2017-07-29 22:34:01 -04:00
William Carroll
edf8c0b602 Requires evil in fn impl 2017-07-29 21:53:18 -04:00
William Carroll
9f1c997128 Disables emacs startup screen 2017-07-29 21:52:21 -04:00
William Carroll
f65a0c7bbf Simplifies popwin configuration 2017-07-29 21:52:04 -04:00
William Carroll
ee62bf5836 Ensures :w writes buffer even if there is nothing to save 2017-07-29 21:50:50 -04:00
William Carroll
e6eda451b5 Revises custom fns for evil window splitting 2017-07-29 21:50:11 -04:00
William Carroll
b3a40e423c Activates nyan-cat-mode 2017-07-29 21:49:41 -04:00
William Carroll
3ad343ee23 Adds custom kbds for Man mode in emacs 2017-07-29 21:49:05 -04:00
William Carroll
5d8c7aa808 Adds hook to conditionally activate emacs tabbar 2017-07-29 21:47:48 -04:00