dotfiles for my allways used apps ;)
The install script can be run in silent or interactive modes. Silent mode dont ask for any confirmation. Interactive mode, ask confirmation in some steps like backup of original dotfiles. Look at install.sh for details.
INSTALL:
Can be installed in silent mode via wget with:
- wget -qO- https://raw.githubusercontent.com/speedlight/dotfiles/master/scripts/install.sh | bash -s -- -s
Or for interactive mode:
- git clone --recursive https://github.com/speedlight/dotfiles.git ~/dotified
- ./dotified/scripts/install.sh -i
The script have 3 variables to hold the files to be backed up or restore.
- $DOTS is for .files in $HOME
- $DOTSCFG is for .files that are under a dot directory like .config/terminator or .vim/colors
- $DOTBASHALIAS is for .bash_aliases.d directory
There is a .fonts directory also that is added to the fonts cache, so if you want your fonts to be dotified just put them in the fonts/ directory.
BASH:
The bashrc have the bash-git-prompt script from https://github.com/magicmonty/bash-git-prompt loaded as a submodule repository under the scripts/ folder. Aliases can be created in diferent files under bash_aliases.d directory(for per machine purposes) and bashrc loads them automatically.
VIM: The vimrc file autoinstall Vundle if isnt already installed, PEP8 identation and the following plugins.
- Vundle (gmarik/vundle)
Type :BundleInstall to clone new Bundles from vimrc or to update the already installed.
- NERDtree (scrooloose/nerdtree)
The vimrc have C-n mapped to toggle the panel,
my common keys to open a file are:
t to open the file in a newtab.
i to open the file in horizontal split.
s to open in vertical split.
m to toogle the menu to add, delete or move files and dirs.
- Powerline (Lokaltog/powerline)
* Needs +python support, ( for debian try installing vim-nox package)
* clone Lokaltog/powerline-fonts repository to ~/.fonts to have patched fonts. !! The fonts are also in fonts/ directory and the install script load'em at user level.
- YouCompleteMe (Valloric/YouCompleteMe)
Once is installed with Vundle, go to ~/.vim/bundle/YouCompleteMe and run ./install.sh
(with --clang-completer for C family code support)
- IndentLine (Yggdroot/indentLine)
Just to have an easy way to follow the indents.
- CtrlP (kien/ctrlp.vim)
To find files from everywhere!
mapped to ctrl-p in normal mode.
Xdefaults:
-
Some distros read Xresources instead of Xdefaults, just rename the file and updated $DOTS variable in install.sh
-
Solarized color theme.
-
Source Code Pro for Powerline font.
Terminator:
-
No scrollbar, customized color pallete, SourceCodePro for Powerline font.