My collection of dotfiles
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.atom
.vim/bundle
BSD
Linux
macOS
oh-my-zsh @ ea6ec09
oh-my-zsh-custom/plugins
.gitignore
.gitmodules
.tmux.conf
.vimrc
.zshrc
README.md
Zenburn.terminal
agignore.txt
dotfiles.sh
gitattributes_global
gitconfig_global
gitignore_global

README.md

My personal set of config files for vim & zsh

Requiered packages: vim zsh tmux Install before dotfiles.sh install to avoid glitches!

Installation

macOS: choose the the path to zsh in Terminal.app preferences

git clone https://github.com/JulianKahnert/dotfiles.git ~/.dotfiles
~/.dotfiles/dotfiles.sh install

Also needed:

  • Python: pip install flake8 pycodestyle
  • LaTex: brew cask install mactex
  • Search Tools: brew install the_silver_searcher fzf

Update dotfiles

~/.dotfiles/dotfiles.sh update

Cheat Sheet

Terminal

CTRL R      command-searching
CTRL T      path-searching

VIM

<Space> Fold code
gcc     comment current line
VIS: gc comment section

Skript: dotfiles.sh

  • ~/.dotfiles/dotfiles.sh install
  • ~/.dotfiles/dotfiles.sh update
  • ~/.dotfiles/dotfiles.sh info
  • ~/.dotfiles/dotfiles.sh maintenance
  • ~/.dotfiles/dotfiles.sh init

ToDo

  • Makefile
  • `init.sh for Linux and FreeBSD
  • write Help for dotfiles.sh

Searching

The Silver Searcher

ag PATTERN /PATH/TO/
ag -i PATTERN /PATH/TO/                             # case insensitive
ag --hidden PATTERN /PATH/TO/                       # also search hidden files
ag --hidden --ignore .git -g "" PATTERN /PATH/TO/   # also search hidden files,
                                                    # but not .git folders

command-line fuzzy finder

CTRL R      commands
CTRL T      paths

ZSH Functions

  • cdf - cd into the directory of the selected file
  • cdh - fuzzy matching in folder history
  • fkill - kill process
  • mkrepo - create a new repo + pyenv