dotfiles config contains vim, zsh, tmux configurations.
Set up using dotbot:
git clone [email protected]:einverne/dotfiles.git
cd dotfiles
# to bootstrap
make bootstrap
# under Linux desktop, install essential packages
make linux
# under macOS
make macos
vim-plug_vimrc
. In Vim, :PlugInstall
to install all vim plugins.Ctrl +B
+ I
to install all tmux plugins.to see .zshrc
file
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
.
Just run ./install.sh
, everything is done. Then Enter the vim run :PlugInstall
to install all plugins.
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 配置參考了 gpakosz 的大部分配置。Tmux 的基础部分可以参考这篇 文章。
需要满足
tmux >= 2.1
$TERM
需要设置为 xterm-256color
功能
C-b
的前提下,C-a
作为第二选择prefix + |
开启垂直分割的新 panel, prefix + -
水平分割C-hjkl
直接在多 panel 中跳转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'
There are following alias in .zshrc
: