Skip to content

alxndr/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nothin' to see here but some invisible files.

SSH/git

generate new keypair add GitHub stuff to ~/.ssh/config if it's not there already

ssh-add the privkey... finally let GitHub know about the pubkey

If two git logins are required, configure ~/.ssh/config to use different keys based on Host

Clone this repo

setup

Install it, then...

  • don't use macOS fullscreen weirdness
    • Settings > General > Window — uncheck "Native full screen windows"
  • Font: install Inconsolata Nerd Font, then set it as the default font
    • Settings > Profiles > Default > Text — Font dropdown, select "Inconsolata for Powerline" Medium 16
  • open new session in current session's directory
    • Settings > Profiles > General — Working Directory: "Reuse previous session's directory"
  • cursor: blinking box
    • Settings > Profiles > Text — Cursor, radio button for "Box", checkbox for "Blinking cursor"
  • unlimited scrollback
    • Settings > Profiles > Terminal — Scrollback Buffer: checkbox for "Unlimited scrollback"
  • command timestamps
    • Settings > Profiles > Session — Show timestamps "When mouse hovers over scroll bar"

zsh

Install oh-my-zsh to configure zsh.

Install Homebrew and then:

brew install \
  asdf \
  lua luarocks \
  neovim \
  ripgrep fzf fd \
  chafa \
  entr \
  difftastic \
  dos2unix

install these dotfiles

...but not before you install oh-my-zsh...

ln -s .zshrc   ~  # might need to remove ~/.zshrc first
ln -s .zshenv  ~
ln -s alxndr.zsh-theme  ~/.oh-my-zsh/themes
ln -s .gitconfig  ~
mkdir -p ~/.config
ln -s nvim        ~/.config/

asdf setup

asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git \
  && asdf install nodejs latest
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git \
  && asdf install ruby latest

neovim setup

mkdir ~/.config/nvim && cd ~/.config/nvim && ln -s ~/workspace/dotfiles/nvim/* .

It'll start off saying "module 'paq' not found" because you gotta install it separately first.

Then install the other modules...

nvim -c 'PaqInstall|TSUpdate'

Might then complain about "Node JS not found: node is not executable!" if you haven't done something like asdf install nodejs latest...

...or Vim(lua):E5108: Error executing lua .../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: attempt to index local 'hlmap' (a nil value)

Unison backup tool

other things

OS/version-specific notes

macOS 15 (Sequoia)

  • change Caps Lock to Control
    • Settings > Keyboard > Keyboard Shortcuts (button) > Modifier Keys (left panel) — set Caps Lock to Control
  • disable Control-Space to change keyboard input
    • Settings > Keyboard > Input Sources — uncheck "Select next" & "Select previous"
  • change Globe key to show Emoji
    • Settings > Keyboard — "Press 🌐 key to": "Show Emoji & Symbols" 🎉
  • enable Tab/Shift-Tab to navigate input
    • Settings > Keyboard — "Keyboard navigation" slider on
  • tap-to-click
    • Settings > Trackpad — turn on "Tap to click" slider
  • drag with three-finger tap
    • Settings > search for "drag" — "Dragging style" (left panel under search)
  • reduce motion
    • Settings > Accessibility > Display — "Reduce motion" slider on
  • restore the status bar in Finder
    • View menu — "Show Status Bar" or press ⌘/
  • install Karabiner
    • set up Return to be Control when held... TBD

macOS 14 (Sonoma)

Oooh shiny... upgraded the 2021 MBP and it kept the settings...

macOS 13 (Ventura)

2021 MBP

  • Prefs...
    • Keyboard
      • Dvorak layout inder Input Sources
      • turn on "Keyboard navigation" (tab / shift-tab)
      • "Press 🌐 key to": "Show Emoji & Symbols" 🎉
      • "Keyboard Shortcuts…" button opens a panel, "Modifier Keys" tab lets you map Caps Lock to Control
    • Mouse / Trackpad
      • tap-to-click
      • double-tap-to-right-click
    • Accessibility
      • "three-finger drag" is in Accessibility > Pointer Control > Trackpad Options button, "Enable dragging": "with three finger drag" (make sure there's no 'normal' 3-finger gesture which conflicts)
      • "Reduce motion" option in Display
  • Auto-Hide Dock (right-click the dock, "Turn Hiding On")
  • iTerm 2
  • Karabiner
  • Bartender

macOS 12 (Monterey)

2020 MBP

  • Prefs...
    • "three-finger drag" is in Accessibility > Pointer Control > Trackpad Options button, "Enable dragging": "with three finger drag" (make sure there's no 'normal' 3-finger gesture which conflicts)
    • "Reduce motion" option 🎉 🍾 Accessibility > Display
    • use Tab to skip through buttons: Keyboard > Shortcuts tab > checkbox at the bottom "Use keyboard navigation to move focus forward..."
      • not the one in Accessibility > Keyboard > Navigation tab > "Enable Full Keyboard Access"
  • Apps...
    • iTerm2 (of course)
    • Karabiner (to turn Enter into Control when held)
      • Complex Modifications > "Change return to control if pressed with other keys..."
      • installing Karabiner seems to moot the built-in CL-to-Ctrl mapping, so have to set it up in Karabiner as well
    • Markdown Editor

OS X 10.13 (High Sierra)

  • dvorak keyboard
  • karabiner needs permissions
  • restore from Time Machine works pretty pretty pretty well

OS X 10.12

  • Dvorak keyboard
  • Karabiner
  • Chrome: Warn Before Quitting

OS X 10.10.5

  • Dvorak keyboard:
    • System Preferences > Keyboard > Input Sources, + button, English > Dvorak
  • restore F-number keys:
    • System Preferences > Keyboard > Keyboard, check "Use all F1, F2, etc. keys as standard function keys"
  • rip out the spell checker:
    • System Preferences > Keyboard > Text, uncheck "Correct spelling automatically"
  • rip out a bunch of keyboard shortcuts:
    • System Preferences > Keyboard > Shortcuts, uncheck pretty much everything except for the Screen Shots
  • turn off hold-letter-for-accent-marks:
    • defaults write -g ApplePressAndHoldEnabled -bool false
  • enable using Tab to move keyboard focus between all sorts of GUI controls
    • System Preferences > Keyboard > Shortcuts, under "Full Keyboard Access […]" select the "All controls" radio button
  • turn Caps Lock into Control
    • System Preferences > Keyboard > Modifier Keys button > set Caps Lock to Control
  • make the trackpad make sense:
    • System Preferences > Trackpad > Point & Click > check only "Tap to click", "Secondary click", "Three finger drag"
    • System Preferences > Trackpad > Scroll & Zoom > check only "Scroll direction: natural"
    • System Preferences > Trackpad > Scroll & Zoom > check only "Notification Center", "Mission Control", "Show Desktop"
  • only show one OS X Menu Bar when using multiple monitors:
    • System Preferences > Mission Control > uncheck "Displays have separate Spaces", then re-login

About

Nothin' to see here but some invisible files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •