GithubHelp home page GithubHelp logo

dotfiles-2's Introduction

My dotfiles

This is my fork from the Eduarbo's dotfiles (https://github.com/eduarbo), so thanks for sharing them man. I wanted to keep this simple, functional, and styled.

Install

git clone https://github.com/tonatiuh/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && source bin/dotfiles
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +BundleInstall +qall

Bash features

  • Up/ down arrow partial search in history
  • Bash Completion
  • Styled git log
  • User profile shows the current branch (when in a git repo)

Vim overall features

  • Autocomplete
  • Look up for files by typing ctrl+p
  • Open Nerdtree by typing ctrl+n
  • Nerdtree remains consistent in all the tabs
  • Support for auto close quotes, parenthesis, curlybraces, etc
  • Comment code lines by typing gcc
  • Pressing the semi-colon key is recognized as colon (is faster to type)
  • Two times j key jj is goes from "insert mode" to "visual mode"
  • jk goes from "insert mode" to "visual mode" and also saves the file
  • Tabs like chrome (ctrl+t new tab, ctrl+w closes tab)
  • :Rename "new_file_name" (without quotes) command allows you to rename the current file
  • :Remove command allows you to delete the current file
  • Change two simple quotes to double quotes by typing c s ' " (in visual model over the first simple quote) more info
  • Code autoalignation by the equal sign ("="), select the code in visual mode, then press Ctrl+a

File support

  • HAML
  • Ruby
  • Coffeescript
  • Javascript
  • SASS

Git aliases

l -> log
ps -> push origin HEAD
f -> fetch
df -> diff
addp -> add --patch
dfc -> diff --cached
last -> diff HEAD^
softback -> reset --soft HEAD
mergecommit -> merge --no-ff
depintegration -> !git push origin integration && git push integration HEAD:master
st -> status -sb

Vim used theme

Jelly beans

![vim] (http://oi57.tinypic.com/1zg57rr.jpg)

Bash profile

![bash profile] (http://oi58.tinypic.com/wkqomr.jpg)

Git log

![git log] (http://oi61.tinypic.com/29vdted.jpg)

dotfiles-2's People

Contributors

eduarbo avatar tonatiuh avatar randy-jun avatar

Watchers

James Cloos avatar  avatar

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.