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 77d932fc3c Add default p10k config 3 years ago
.conky/conky-ev Add screenshot 8 years ago
.github/workflows Massive configs 4 years ago
.vim Update zsh alias 3 years ago
backup Reorder folder 6 years ago
bin Update zsh config 5 years ago
config Add default p10k config 3 years ago
dotbot@aa9335089b Update dotbot submodule 4 years ago
dotbot-asdf@6aa52891d8 Massive configs 4 years ago
dotbot-brew@f44fae43c9 Update dotbot submodule 4 years ago
git Ignore DS_Store 3 years ago
hammerspoon Update hammerspoon 3 years ago
idea Adjust idea vimrc: tm to toggle bookmark 3 years ago
init Update zsh config 5 years ago
karabiner Karabiner: add more o mapping 4 years ago
kitty Kitty: update cursor 4 years ago
mackup Massive configs 4 years ago
macos Massive configs 4 years ago
script Add git log by day 5 years ago
skhd Hammerspoon: autoscript 4 years ago
style Reorder folder 6 years ago
termux Update dotfiles 5 years ago
tmux Update zsh alias 3 years ago
yabai Update yabairc 4 years ago
zsh Update zoxide config 3 years ago
.gitignore Ignore DS_Store 3 years ago
.gitmodules Remove stackline 4 years ago
.p10k.zsh Add default p10k config 3 years ago
.vimrc Add xml formatter in vimrc 4 years ago
.zshrc Remove autojump plugin 3 years ago
.zshrc.local Add zshrc 6 years ago
Brewfile Update cask 3 years ago
Brewfile-essentials Brewfile: add gnu-sed 4 years ago
Makefile Massive configs 4 years ago
README.md Add default p10k config 3 years ago
bootstrap.sh Massive configs 4 years ago
byzanz-record-gui.sh add screencast git tool 9 years ago
byzanz-record-region.sh add screencast git tool 9 years ago
byzanz-record-window.sh add screencast git tool 9 years ago
clone-all-gitlab.py Update dotfiles 4 years ago
install Massive configs 4 years ago
install.sh Massive configs 4 years ago
install_android_decompiler.sh Update config 7 years ago
install_byzanz_record.sh Install without promt and auto build xrectsel 7 years ago
install_conky.sh Add conky config 8 years ago
ubuntu_init.sh Update fzf 5 years ago

README.md

dotfiles config contain vim, zsh, tmux configurations.

MacOS setup

Set up using dotbot:

git clone [email protected]:einverne/dotfiles.git
cd dotfiles
# under Linux, install essential packages
sh install.sh
./install

Overview

  • using dotbot to manage dotfiles, read more
  • zsh, using zinit as 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

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 under Linux

Just run ./install.sh, everything is done. Then Enter the vim 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

Tmux 配置參考了 gpakosz 的大部分配置。Tmux 的基础部分可以参考这篇 文章。

需要满足

  • tmux >= 2.1
  • 在 tmux 运行的环境中,$TERM 需要设置为 xterm-256color

功能

  • 在保留C-b 的前提下,C-a 作为第二选择
  • prefix + | 开启垂直分割的新 panel, prefix + - 水平分割
  • C-hjkl 直接在多 panel 中跳转
  • Tmux 调整 Pane 窗口大小 prefix + Shift + HJKL

使用 Tmux Plugin Manager 管理,默认有如下插件

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'

fzf config

There are following alias in .zshrc :

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