Code Monkey home page Code Monkey logo

dotfiles's Introduction

jarrod_taylor_made

dotfiles

In my opinion which I respect very much what you have stumbled across right here is the best dotfiles money can buy. I have and continue to spend a ridiculous amount of time grooming and enhancing this treasure trove of developer tools. So if you love the command line, and I know you do, then do yourself a favor, grab a copy and get to coding.

Installation

git clone https://github.com/JarrodCTaylor/dotfiles.git ~/dotfiles
cd ~/dotfiles/install-scripts
zsh OSX/install-packages.sh
zsh OSX/create-symlinks.sh
# or
zsh Linux/install-packages.sh
zsh Linux/create-symlinks.sh

Contents

Zsh

At the configurations core is the Z shell. When you first open the terminal you will notice the custom prompt. The prompt takes up the full width of the terminal and is two or three lines depending on if you are currently in a directory that is a git repo. The image below details the core components of the prompt. Additionally if you enter a directory that shares the name of a Python virtualenv it will be activated automatically and indicated visually in the prompt. The same is true for a directory containing node modules.

zsh-prompt

Customizing Zsh

The zsh setup is designed to allow customization. I recommend that you maintain a separate version controlled repository of configurations for all of your settings and pull that repository into the dotfiles/custom-configs directory. Any file ending with .sh will automatically be sourced when you open a shell. You can use this to add additional alias, functions, etc.

Tmux

A must have for pair programming sessions. The most notable features are the themed status line pictured below and the non-stock leader key <C-Space>

tmux-status

Vim

The vim configuration is the life blood of the dotfiles. Vim is my primary editor and I spend the majority of everyday banging away inside its modal buffers. You can interactively explore the key mappings by opening an empty buffer and typing |<Space> in normal mode. This will open a unite menu that lists all of the shortcuts with a description and the key mapping that triggers it. You can scroll through the list with <C-J> <C-k> or filter the options by typing.

Customizing Vim

The Vim setup is designed to allow customization. I recommend that you maintain a separate version controlled repository of configurations for all your settings and pull that repository into the dotfiles/custom-configs directory. Any file ending with .vim will automatically be sourced.

If you would like to add additional plugins, copy a file from vim/plugin-configs and update it as needed. Then save that file with a name that ends in -plugin.vim.

If you would like to not load some of the plugins that I have configured you can create a file named custom-init.vim. In there you can specify an array of plugins to exclude. For example hard-time is not for the novice Vim user. So in your custom-init.vim you can add the following line.

let g:exclude = ["vim-hardtime.vim"]

this array can contain the name of any file in vim/plugin-configs

Conky

Conky in two flavors 2 and 4 core. The setup script will ask you which one you would like to install.

conky

Misc Customization

You can use your own configuration file in place of any of the following

  • gitconfig
  • coffeelint.json
  • psqlrc
  • tigrc
  • tmux.conf

To do so you just need to include a file of the same name in your version controlled directory that you save into custom-configs the create symlinks scripts will link the files properly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.