A collection of my dotfiles (e.g. .config, .bashrc)
This is written for both Linux Mint 17.1 (Cinnamon) and Mac OS X Mountain Lion.
To install dotfiles, run ./install.sh.
This will create symlinks and copy/append files when symlinks are inappropriate.
My bash prompt is hosted at twolfson/sexy-bash-prompt. It provides file system, git branch, and git status via symbols.
.bash_profile- Bash script that is run at login- Sets default editor to Sublime Text
- Enables CLI coloring
- Runs
.bashrcfor aliases andPATHupdates
.bashrc- Run when a new terminal is opened- Creates aliases
- Add helper and polyfill commands
- Enables tab completion for
gitandfab - Adds customized sexy bash prompt
.config/sublime-text-3/Packages/User- Configuration for Sublime Text- Includes list of commonly used packages in [Package Control.sublime-settings](.config/sublime-text-3/Packages/User/Package Control.sublime-settings)
.fonts/anonymous+Pro-Powerline.ttf- Anonymous Pro, a monospaced font with serifs- This font comes from Powerline which contains additional characters. However, I don't use them.
.gitconfig- Set up credentials for
twolfson(me) - Disable creation of
.origfiles - Set
meldas mergetool/difftool - Enable
gitcolors - Add aliases
add-pr- Adds a newremotefor fetching pull requests as branchesamend- Update previous commitgit- For chaining of multiplegit's(e.g.git git status)
- Set up credentials for
.gconf- Configurations for Gnome (e.g. Ctrl+Alt+Del forgnome-system-monitor).nanorc- Adds syntax highlighting fornano
inco- Opens a Chrome Incognito windowlock- Locks computer via screensaver on Gnome/Cinnamonvolume- Control sound output
cd- Moved to directory and pushes onto directory stack (viapushd).., [...],.....- Navigate up one, [...], five directories (viapushd)~- Navigate to the home directory (viapushd),,, [...],,,,,,- Navigate back one, [...], five directories (in thepushdstack viapopd),- List out currentpushd/popdstackcopy- Aliases for consistent copying functionality across Linux Mint and OSX
- Sublime Text 3 with [Package Control][], text editor with great plugin system and ecosystem
- SideBarEnhancements, adds a bunch of file system comands to command palette
- SyncedSideBar, adds command to reveal current file in side bar (expands folder structure)
- Table Editor, edit Markdown tables easily (GFM compatible)
- Quick File Creator, adds shortcuts for creating new directories and files
- Find++, adds commands for searching project, current file, or all open files
- Any syntax file I work with (e.g.
Jade,SASS) - SublimeLinter, lints Python and JavaScript on every save
- Origami, rearranges files betweens panes
- snippet-destroyer, removes all snippet autocompletes for consistent
tabfunctionality - CodeFormatter, beautifies a JavaScript or Python file
- Pretty JSON, beautifies a JSON file
- Githubinator, open GitHub browse and blame for the active file
- Phabricator, open Phabricator browse for the active file
- Insert Nums, inserts an ordered list of numbers at each cursor position
- InsertDate, insert a date string
- Used for article timestamping
- Markdown Extended and Monokai Extended, extended syntax highlighting to support GitHub Flavored Markdown
- Case Conversion, switch between various cases easily
- CanISwitchToSublimeText3, determine if all my plugins are ready to upgrade to Sublime Text 3
- Maybs Quit, prevent accidental exits by adding prompt to
ctrl+q
- nodemon, watches
.jsfiles for changes and re-executes a script- Great for restarting local development servers on save
- listen-spawn, listens for HTTP requests and re-executes a script
- Great for tests when used in junction with Hooks and Request in Sublime Text
- livereload, automatically refresh browser when a file is updated
- hub, adds more GitHub commands (e.g. repo creation, open current repo in browser)
- howdoi, look up StackOverflow answers from the command line
- Charles Proxy, inject scripts and fake pages when developing against 3rd party sites
- git-extras, adds bonus
gitcommands (e.g.git backto reset previous commit,git ignoreto add a file pattern to.gitignore) - Google Music, music player hosted by Google
- Pixlr, Photoshop from the browser
- Firefox with Firebug, browser and development tool of choice
- Vagrant, create and teardown development virtual machines on the fly
- ievms, installs Internet Explorer virtual machines
- VirtualBox, virtual machine runtime
- nano, small and intuitive text editor that I use for
git commitmessages - Gmail with labs plugins, Google's mail program
- Keyboard shortcuts, key bindings to navigate and categorize emails
- Undo, allows me to undo an accidental archive action
- Favicon, view unread email count in favicon
- Shortcut Foo, flash cards for program shortcuts
- grunt-init-node, prompt style boilerplate for
nodemodules - gti, "alias" similar to
slforlsthat plays GTI animation but runs `git command afterwards - victorious-git, plays fanfare upon merge conflict resolution
gnome-terminal, terminal emulator for Gnome- Amarok, music player for Linux
- Quod Libet, manage music library tags
- wmctrl-pad, manage window positions and layout
- Integrates nicely with keyboard shortcuts
- gnome-pie, cursor based launcher
- Useful for GUI tasks like quick launching screenshot selection
- iTerm 2, terminal emulator for OS X with nice configuration settings
- Spectacle, adds shortcuts to position windows
- Alfred, makes actions more accessible (e.g.
lock) - Go2Shell, open a shell via button in Finder window
- Key repeat is set to very high
- Use multiple monitors, layout to see everything at a glance
- Move windows around via shortcuts; Spectacle (Mac OS X), wmctrl-pad (Gnome)
- Create new files via a shortcut
- 'Quick File Creator' inside Sublime Text
- Duplicate files files in one command
- 'File: Duplcate' via SideBarEnhancements inside Sublime Text
- When debugging a problem, I use a binary search of
console.logstatements - When finding methods/strings in foreign code bases, I use 'Find: In Current File' via Find++ in Sublime Text
- Alternatively, I use
git grepto search thegitfilesystem
- Alternatively, I use
- Checkout and merge previous branches via
git checkout/merge -. See Coderwall protips for more. - I use live coding frequently in multiple scenarios
- nodemon to reload local node servers whenever a
.jsfile changes - livereload in combination with Hooks and Request in Sublime Text to trigger actions (e.g.
npm test) on save - More information can be found at http://twolfson.com/2013-07-27-develop-faster
- nodemon to reload local node servers whenever a
- Open GitHub and Phabricator from Sublime Text via Githubinator and Phabricator plugins
- Create new repos in GitHub via hub
- Create templated repos via grunt-init-node
- Learn program shortcuts early on (e.g.
bash,less)- Use Shortcut Foo to learn key bindings of new programs
- Inside Sublime Text, multiple word selection is great for deleting a single word as well as adjusting multiple
Support this project and others by twolfson via donations.
http://twolfson.com/support-me
As of Feb 28 2014, Todd Wolfson has released this repository and its contents to the public domain.
It has been released under the UNLICENSE.
