my personal dotfiles managed by dotbot, zinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ein Verne 3bf2c32d39 feat: update autojump config 1 year ago
.conky/conky-ev Add screenshot 8 years ago
.github/workflows Fix ci and update ubuntu bootstrap config 3 years ago
.vim feat: add csv plugin to vimrc 1 year ago
backup Reorder folder 6 years ago
bin Update zsh config 5 years ago
config feat: remove pyenv 2 years ago
dotbot@aa9335089b Update dotbot submodule 4 years ago
dotbot-apt-get@63078f9af4 Update dotbot 3 years ago
dotbot-asdf@6aa52891d8 Massive configs 4 years ago
dotbot-brew@f44fae43c9 Update dotbot submodule 4 years ago
dotbot-snap@ad82d7487a Update dotbot 3 years ago
espanso Add apt, snap and espanso config 3 years ago
git feat: set git http postBuffer 2 years ago
hammerspoon feat: update macos bootstrap 2 years ago
idea Adjust ideavimrc 2 years ago
init Update zsh config 5 years ago
karabiner Update zshrc 2 years ago
kitty Kitty: update cursor 4 years ago
mackup Massive configs 4 years ago
macos Massive configs 4 years ago
pulsedmedia Add pulsedmedia scripts 2 years ago
python_scripts Organize scripts 3 years ago
script Organize scripts 3 years ago
skhd Hammerspoon: autoscript 4 years ago
style Reorder folder 6 years ago
termux Add termux support (#6) 2 years ago
tmux Organize scripts 3 years ago
yabai Update yabairc 4 years ago
zsh feat: update autojump config 1 year ago
.gitignore Update zshrc 2 years ago
.gitmodules Update dotbot 3 years ago
.p10k.zsh Add default p10k config 3 years ago
.vimrc Add xml formatter in vimrc 4 years ago
.zprofile feat: update osx arm zprofile 1 year ago
.zshrc feat: add github-copilot-cli to zshrc 1 year ago
.zshrc.local Add zshrc 6 years ago
Brewfile Add ipinfo-cli 2 years ago
Brewfile-essentials feat: update essentials brewfile 1 year ago
Makefile feat: update macos bootstrap 2 years ago
README.md feat: update autojump config 1 year ago
install feat: update macos bootstrap 2 years ago
mac_bootstrap.sh feat: update macos bootstrap 2 years ago

README.md

This is my personal dotfiles which contain config for vim, zsh, tmux, git, fzf etc;

macOS setup

Set up by using dotbot:

cd ~
git clone [email protected]:einverne/dotfiles.git
cd dotfiles
# to bootstrap config for vim, zsh, tmux, git, fzf, etc
make bootstrap
# under Linux desktop, install essential packages
make linux
# under macOS, install applications by brew
make mac

Log out and log in again, zinit will install all plugins automatically. If you use vi to edit file at first time, the vim-plug will install all vim plugins automatically.

Termux setup

Install dependency first:

pkg install make python vim git

then:

git clone [email protected]:einverne/dotfiles.git
cd dotfiles
make termux

Overview

  • using dotbot to manage dotfiles, read more
  • zsh, using zinit as zsh plugin management
  • vim, using vim-plug to manage vim plugins, vim-plug relate configuration is under vim-plug_vimrc. In Vim, :PlugInstall to install all vim plugins.
  • tmux, using tpm to manage tmux plugins, in tmux, press Ctrl +B + I to install all tmux plugins.
  • other useful tools, like fzf to fuzzy search, ripgrep for recursively searching directories, zoxide to replace cd, exa to replace ls.

GUI applications:

  • Kitty
  • Karabiner-Elements
  • Hammerspoon

zsh config

to see .zshrc file.

Vim config

vim-plug related configuration is under vim-plug_vimrc, to show all plugins list, use :PluginList in vim.

python related configurations is under python_vimrc.

Components

  • bin/: executable shell scripts, Anything in bin/ will get added to your $PATH and be made available everywhere.
  • conf/: configuration file of zsh etc

Instruction for vim

Enter the vim and then run :PlugInstall to install all plugins.

install manually

Or, you can do it manually follow the step:

Enter vim, run :PlugInstall, after install all plugin, you will meet an error,

Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.

For Ubuntu and derivatives:

sudo apt-get install exuberant-ctags

with yum:

sudo yum install ctags-etags

Tmux config

I take some Tmux config from gpakosz. If you want to learn more about tmux, you can check this article.

You can manually install tmux plugins by prefix + I.

Tmux need:

  • tmux >= 2.1
  • You should set $TERM environment for xterm-256color

Tmux config:

  • You can use C-b as prefix, and use C-a as second choice
  • prefix + | to split panel vertically, prefix + - split panel horizontally
  • C-hjkl to switch pane
  • prefix + Shift + HJKL to adjust pane size

I use Tmux Plugin Manager to manage tmux plugins, and by default I use following plugins:

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-copycat'

fzf config

There are following alias in .zshrc :

  • fe : open file using $EDITOR
  • fo : open file Ctrl-o using open, Ctrl-e use $EDITOR
  • fcd : cd path (fd to replace find)
  • fkill : kill process
  • tm : tm new tmux session
  • fs : tmux attach tmux session