This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Steven Lu | |
email = stevenlu443@gmail.com | |
[core] | |
editor = vim | |
whitespace = cr-at-eol | |
excludesfile = /Users/lust/.gitignore | |
[color] | |
ui = true | |
[alias] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Tomorrow Night Eighties.tmTheme", | |
"highlight_line": true, | |
"overlay_scroll_bars": "enabled", | |
"show_tab_close_buttons": false, | |
"theme": "Soda Dark.sublime-theme", | |
"default_line_ending": "unix", | |
"word_wrap": true, | |
"trim_trailing_white_space_on_save": true, | |
"scroll_past_end": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// map ctrl+l to go to line | |
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
// and ctrl+g does what F3 does | |
{ "keys": ["ctrl+g"], "command": "find_next" }, | |
{ "keys": ["ctrl+shift+g"], "command": "find_prev" }, | |
// overrides F-key functionality (only really used on Windows as OSX overloads f-keys with useful functionality) | |
{ "keys": ["f1"], "command": "new_file"}, | |
{ "keys": ["f2"], "command": "next_view_in_stack"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Report that we can handle 256 colors | |
# set -g default-terminal "xterm-256color" | |
# Rebind prefix to avoid conflicts | |
unbind C-b | |
set -g prefix C-a | |
# this is for convenience | |
bind C-d detach-client |
Independent tweaks for zsh (put in .zshrc) follow:
# for oh my zsh plugins that are nice
plugins=(git cp osx zsh-syntax-highlighting)
# no idea why oh my zsh does not take the existing path. hardcoding this is *bad*
export PATH=~/bin:~/util:$PATH:/usr/local/share/npm/bin
export PAGER=vimpager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# defaults write .GlobalPreferences com.apple.mouse.scaling -1 | |
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true #sets no writing DS_Store on network resources | |
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" # Changes the default Finder search to this folder rather than all files | |
defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName | |
defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false | |
# defaults write com.apple.Dock workspaces-auto-swoosh -bool NO |
NewerOlder