Skip to content

timkomip/dotfiles

Repository files navigation

timko's dotfiles setup and notes

Install (via oh my zsh)

ln -s ~/dotfiles/oh-my-zsh/custom/plugins/timko ~/.oh-my-zsh/custom/plugins/timko

Then enable plugin in .zshrc

plugins = (
  git
  timko
)

ZSH Plugins

fzf-git.sh

Note: Currently sourced in timko plugin. TODO: Find better way to do this.

mkdir -p ~/.fzf
git clone git@github.com:junegunn/fzf-git.sh.git ~/.fzf

zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Vim?

Clone timko-vim

git clone git@github.com:timkomip/timko-vim.git ~/.config/nvim

ZSH Functions

teleport

Navigate to a directory from anywhere in the filesystem.

There are two versions.

  • yaml_teleport - uses yaml config
  • json_teleport - use json config

Requires jq or yq to be installed.

yaml_teleport code # navigate to the ~/code directory from anywhere
yaml_teleport tmp # navigate to the ~/tmp directory from anywhere

# aliased as t
t code
t tmp

Locations are defined in ~/.teleport.json. For example:

{
  "tmp": "/Users/michael.timko/tmp",
  "code": "/Users/michael.timko/code"
}
places:
  tmp: /Users/michael.timko/tmp
  code: /Users/michael.timko/code

About

my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages