From ff4b828e6c0cbe0cc5254bcce9859bcb3df9477a Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Wed, 10 Jul 2019 22:53:10 +0800 Subject: [PATCH] Add plugins --- .vim/startup/vundle_vimrc | 3 +++ README.md | 11 ++++++----- tmux/.tmux.conf | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.vim/startup/vundle_vimrc b/.vim/startup/vundle_vimrc index a34ec3c..561a27f 100644 --- a/.vim/startup/vundle_vimrc +++ b/.vim/startup/vundle_vimrc @@ -46,6 +46,9 @@ Plugin 'vim-airline/vim-airline-themes' " syntax highlight for Dockerfile Plugin 'ekalinin/Dockerfile.vim' Plugin 'hotoo/pangu.vim' +Plugin 'chr4/nginx.vim' +Plugin 'mileszs/ack.vim' + " Git plugin not hosted on GitHub Plugin 'git://git.wincent.com/command-t.git' diff --git a/README.md b/README.md index 26f6531..4a5095a 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,18 @@ dotfiles config contain vim, zsh, tmux configurations. With -- [Vundle](https://github.com/VundleVim/Vundle.vim) to manage vim plugins, vundle relate configuration is under `vundle_vimrc` -- [antigen](https://gtk.pw/antigen) to manage zsh plugins -- [tpm](https://github.com/tmux-plugins/tpm) to manage tmux plugins +- [antigen](https://gtk.pw/antigen) to manage zsh plugins, `source ~/.zshrc` to install all zsh plugins +- [Vundle](https://github.com/VundleVim/Vundle.vim) to manage vim plugins, vundle relate configuration is under `vundle_vimrc`. In Vim, `:PluginInstall` to install all vim plugins. +- [tpm](https://github.com/tmux-plugins/tpm) to manage tmux plugins, in tmux, press `Ctrl +B` + `I` to install all tmux plugins. +### zsh config +to see `.zshrc` file ### Vim config vundle related configuration is under `vundle_vimrc`, to show all plugins list, use `:PluginList` in vim. python related configurations is under `python_vimrc`. - - ## Instruction under Linux Just run `./install.sh`, everything is done. Then Enter the vim run `:PluginInstall` to install all plugins. @@ -57,6 +57,7 @@ Tmux 配置參考了 [gpakosz](https://github.com/gpakosz/.tmux) 的大部分配 - 在保留`C-b` 的前提下,`C-a` 作为第二选择 - `prefix + |` 开启垂直分割的新 panel, `prefix + -` 水平分割 - `C-hjkl` 直接在多 panel 中跳转 +- Tmux 调整 Pane 窗口大小 `prefix + Shift + HJKL` 使用 Tmux Plugin Manager 管理,默认有如下插件 diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e415ceb..65af0b1 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -48,6 +48,7 @@ set -g visual-activity off # 调节窗口大小快捷键 # bind -r 表示可以重复 +# 注意这里时大写,需要按住 Shift + HJKL bind -r H resize-pane -L 5 bind -r J resize-pane -D 5 bind -r K resize-pane -U 5