Skip to content

khanduri/dotfiles

Repository files navigation

INSTRUCTIONS:

Dotfile setup:

mkdir -p ~/projects
git clone ssh://[email protected]/khanduri/dotfiles ~/projects/dotfiles
cd ~/projects/dotfiles
./makesymlinks.sh

Vim Setup:

I use vundle as my vim package manager. Hence we'll need to get that first.

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim
:PluginInstall

Bash settings

Tmux config

tmux: open up tmux
ctrl-a y: Setup for staging server logins
ctrl-a u: Dev setup

Troubleshooting

Vim support for ruby and python
  • vim --version (make sure you see +python and +ruby in there)
  • Linux: apt-get install ruby rubygems vim-nox
  • Mac: brew install vim
Command-T
  • Needs to compile from source
> `cd ~/.vim/bundle/Command-T/ruby/command-t`
> ruby extconf.rb
> make
  • Also requires vim support for ruby
CTags

https://gist.github.com/nazgob/1570678

# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

# you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags

#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"

#try again!
ctags -R --exclude=.git --exclude=log *

# puts tags file into you .gitignore (probably global) and you're all set!
# PS. i was inspired to install ctags by https://workshops.thoughtbot.com/vim video by @r00k, thanks man!

General Queries:

Online Markup edit tool
Figuring out distribution of unix
~$cat /etc/*-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
NAME="Ubuntu"
VERSION="12.04.2 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
VERSION_ID="12.04"
`
``
trigger
trigger
trigger
trigger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published