2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-03 15:40:30 +00:00
Go to file
2012-05-28 17:17:32 +02:00
vim updated git config, readme and added all submodules for vim 2012-05-28 17:16:38 +02:00
.gitignore Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
.gitmodules updated git config, readme and added all submodules for vim 2012-05-28 17:16:38 +02:00
gitconfig updated git config, readme and added all submodules for vim 2012-05-28 17:16:38 +02:00
gitconfig.erb Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
gitignore Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
inputrc Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
jshintrc Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
pearrc Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
profile Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00
README.md updated git config, readme and added all submodules for vim 2012-05-28 17:16:38 +02:00
vimrc Initial commit - dotvim to dotfiles - with install script, yeah 2012-05-28 16:38:01 +02:00

My dotfiles

This is a collection of my dotfiles. To install on your local machine run the following commands:

git clone git://github.com/nebelschwade/dotfiles ~/Dotfiles
cd ~/Dotfiles
ln -s ~/Dotfiles/vim ~/.vim
ln -s ~/Dotfiles/gitconfig ~/.gitconfig
ln -s ~/Dotfiles/gitignore ~/.gitignore
ln -s ~/Dotfiles/inputrc ~/.inputrc
ln -s ~/Dotfiles/jshintrc ~/.jshintrc
ln -s ~/Dotfiles/pearrc ~/.pearrc
ln -s ~/Dotfiles/profile ~/.profile
ln -s ~/Dotfiles/pearrc ~/.pearrc
ln -s ~/Dotfiles/vimrc ~/.vimrc
git submodule init
git submodule update
git submodule foreach git checkout master
git submodule foreach git pull

Then create a 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

Restart your terminal and vim, and you are ready to go.

VIM

Bundled Plugins

  • Pathogen (sits in autoload/ - the only one not in bundle/)
  • ack
  • browser-refresh
  • buffergator
  • ctrlp
  • easymotion
  • fugitive
  • gist
  • indent-guides
  • indent-object
  • matchit
  • nrrwrgn
  • nerdtree
  • 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

  • ,/ 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

Bash and aliases

Well, have a look at .profile.