Skip to content

jaztsong/dotfiles

Repository files navigation

Dotfiles

Personal dotfiles configuration for Unix-like systems.

Quick Start

  1. Clone this repository:
git clone https://github.com/jaztsong/dotfiles.git ~/dotfiles
cd ~/dotfiles
  1. Run the setup script:
./makesymlinks.sh

This will automatically:

  • Create symlinks for all dotfiles
  • Install Oh My Zsh and plugins
  • Install vim-plug and all vim plugins
  • Install TPM (Tmux Plugin Manager) and tmux plugins

Plugin Management

Vim Plugins (vim-plug)

Update all plugins:

vim +PlugUpdate +qall
# Or inside vim: :PlugUpdate

Install new plugin:

  1. Add Plug 'author/plugin-name' to vimrc between call plug#begin() and call plug#end()
  2. Run :PlugInstall in vim

Remove plugin:

  1. Delete the Plug line from vimrc
  2. Run :PlugClean in vim

Tmux Plugins (TPM)

Update all plugins:

~/.tmux/plugins/tpm/bin/update_plugins all
# Or in tmux: prefix + U (Ctrl-b then Shift-U)

Key bindings in tmux:

  • prefix + I - Install new plugins
  • prefix + U - Update plugins
  • prefix + alt + u - Uninstall plugins

Add new plugin:

  1. Add set -g @plugin 'author/plugin-name' to tmux.conf
  2. Press prefix + I in tmux or run ./install_tmux_plugins.sh

Manual Installation

If you prefer to install components separately:

Vim plugins only:

./install_vim_plugins.sh

Tmux plugins only:

./install_tmux_plugins.sh

Tmux Setup

  1. Install dependencies (for macOS):
brew install libevent
  1. Build tmux from source:
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
sudo make install

Shell Configuration

To set zsh as your default shell:

sudo chsh -s $(which zsh)

Components

  • Tmux: Terminal multiplexer with tmux-resurrect for session persistence
  • Vim: Editor with essential plugins managed by vim-plug
  • Zsh: Shell with Oh My Zsh, Powerlevel10k, and useful plugins
  • Standard tooling used by the community

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •