You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.4 KiB

My dotfiles

This is a collection of my dotfiles. Requirements are: installed and working homebrew with installed node, npm and the node jake-plugin. And zsh :-)

git clone git://github.com/nebelschwade/Dotfiles ~/Dotfiles
cd ~/Dotfiles
jake

Restart your terminal and type

cd ~/Dotfiles
jake zsh

Now change the file .gitconfig.user in your home-folder and provide your git credentials, such as:

[user]
  name = Your name
  email = youremail@domain.de
[github]
  user = username
  token = 1235687641287364

Finally restart your terminal and vim again, and you are ready to go.

oh-my-zsh

I use the famous oh-my-zsh framework with a custom theme. Have a look at the zshrc-file for custom aliases and functions.

VIM

Bundled Plugins

  • Pathogen (sits in autoload/ - the only one not in bundle/)
  • ack
  • browser-refresh
  • buffergator
  • ctrlp
  • easymotion
  • editorconfig
  • fugitive
  • gist (more config needed, see github page)
  • indent-guides
  • indent-object
  • matchit
  • nerdtree
  • nrrwrgn
  • pasta
  • ragtag
  • repeat
  • snipmate
  • sparkup
  • supertab
  • surround
  • syntastic
  • tabular
  • tagbar
  • tcomment
  • unimpaired
  • yankring
  • zoomwin

Bundled Color Schemes

  • jellybeans (one to rule them all)

Better syntax and indenting for

  • javascript
  • css3 and scss
  • html5
  • php
  • git
  • markdown

Custom Stuff (see my github profile)

  • typoscript syntax for Vim

  • a better statusline

  • custom snipmate snippets

  • remapping ; to :

  • <leader> is set to comma (,)

  • <tab> and <shift-tab> for switching between buffers

  • no arrow-keys, except for indenting, moving blocks of code with <shift>

  • ,u and ,l (and uppercase) for uppercasing/lowercasing words

  • ,w for switching to words

  • ,v for a new vertical split

  • ,= for resizing splits equally

  • ,a for Ack-Search

  • ,f for search and replace

  • ,/ for un/commenting

  • ,z for zoomin

  • ,r for browser-refreshing-

  • ,n for nerdtree toggling

  • ,m for easymotion (,mw or ,mf are my favorites here)

  • ,y for the yankring

  • ,b for toggling buffergator

  • ,t for CtrlP

  • ,d for changing the working dir to the dir of the current file

  • <F8> for toggling the tagbar

  • <shift-tab> in css indents single line to column 31

  • autotrailing of whitespace for php, html, css, js, ts, xml, json, inc and vim files