Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
/ old-dotfiles Public archive

My personal configs for vim and stuff 👽

Notifications You must be signed in to change notification settings

camerondurham/old-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

window.png

Not much but still a README! :)

My dotfiles are mainly for me and it's not exactly usable for someone else yet. I'm focused on support for C++ in NeoVim (and Rust!).

Also, I use zsh with a nice little customized zsh prompt made with the help from thoughtbot. My zsh configuration doesn't use oh-my-zsh and instead relies on a few simple shell scripts.

In a normal directory, the prompt looks like:

prompt.png

In a git directory, there's a simple heads-up:

git

Inspired by Nick Nisi (ok, I like basically just grabbed his tmux prompt and applescript), I there's a simple script that grabs the currently playing Spotify song and displays the title.

music.png

Whenever you cd into a new directory, this simply runs ls since that's usually what I do anyway!

widgets

I could include pre-installed plugins but I've chosen to be lazy and use a plugin manager. LanguageClient configurations will enable for some files, otherwise, ALE will kick in.

NeoVim will also set the column over 80 characters to light grey to encourage more readability while coding. I'm using a minimal color-scheme (paramount) that happened to be my favorite colors.

nvim

Utility

Inspired by this article I have added a brittle note taking method to create timestamped notes:

zet a new note

# this command effectively is:
nvim ~/Dropbox/notes/<TIMESTAMP>-a-new-note.md

Similarly, I have a brittle way to do leetcode problems:

$ lc 0982 some little problem
$ cp <LEETCODE_DIR>/leetcode_template.cpp <LEETCODE_DIR>/0982_some_little_problem.cpp
$ nvim <LEETCODE_DIR>/0982_some_little_problem.cpp

Additional utilities for taking daily todo notes are included in zshrc:

  • tt() make timestamped todo note in folder (it's my Nextcloud sync folder for me)
  • ss() add to my snippets markdown file

Miscellaneous

env

To properly sign GitHub commits, a GITHUB_TOKEN and HOMEBREW_GITHUB_API_TOKEN (optional) should be provided in ~/dot/env.

Terminal

I have migrated from iTerm2 to the much faster and more lightweight Alacritty. The config file is already included in this repository.

The file icing/Profiles.json has my former iTerm2 profiles used in the screenshots.

Background

Also in icing is the background I'm using for more ace goodness in your desktop colorscheme.

Of course, this is available by default on most macOS anyway...

Font

Check out icing/font for the font (Input) used in the screenshots.

Resources:

Credits and Inspiration:

Releases

No releases published

Packages

No packages published