Skip to content

Latest commit

 

History

History
78 lines (54 loc) · 3.12 KB

File metadata and controls

78 lines (54 loc) · 3.12 KB

Dotfiles

Simple dotfiles using bash shell, vim as editor, few awesome vim plugins etc.

Currently in use on OSX 10.10.5 (work env), and Debian 8.2 with X11 ("other" work env). See the X branch for config related to Xorg.

Usage

Clone into ~/dotfiles/

  • cd ~/
  • git clone git@github.com:mlen108/dotfiles.git

Then add symlinks in your ~/ directory

  • cd ~/
  • ln -nfs ~/dotfiles/vim/ .vim
  • ln -nfs ~/dotfiles/vimrc .vimrc
  • ln -nfs ~/dotfiles/bash_profile .bash_profile
  • ln -nfs ~/dotfiles/bash_aliases .bash_aliases
  • ln -nfs ~/dotfiles/gitconfig .gitconfig

If proper Unix-like system:

  • mkdir -p ~/.config/awesome/
  • ln -nfs ~/dotfiles/awesome/rc.lua ~/.config/awesome/rc.lua
  • ln -nfs ~/dotfiles/X/Xdefaults .Xdefaults
  • mkdir -p ~/.bin/
  • ln -nfs ~/dotfiles/bin/capscr ~/.bin/capscr

You will need imagemagick for the capscr functionality to work.

Install Vim Plugins & Themes

  • git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  • vim ~/dotfiles/vimrc
  • :source %
  • :PluginInstall

You're also going to want Powerline Fonts for vim-Airline to look right.

Vundle is being used to manage plugins.

In the included vimrc:

Navigation

  • ctrl-p - Fuzzy file, buffer, mru, tag, etc finder.

Git

  • vim-fugitive - A Git wrapper so awesome, it should be illegal.
  • vim-merginal - Fugitive extension to manage and merge Git branches.
  • vim-gitgutter - Shows git diff in the gutter and stages/reverts hunks.

Language Specific

Visual

  • Badwolf - A Vim color scheme.
  • vim-Airline - lean & mean status/tabline for vim that's light as air.

Misc

  • Supertab - Perform all your vim insert mode completions with Tab.
  • Syntastic - Syntax checking hacks for vim.
  • tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes.
  • vim-better-whitespace - Better whitespace highlighting for Vim.
  • vim-endwise - Wisely add "end" in ruby, endfunction/endif/more in vim script, etc.
  • vim-rspec - Run Rspec specs from Vim.
  • vim-fetch - Handle line and column numbers in file names.