Browse Source

Add plugins

pull/4/head
Ein Verne 5 years ago
parent
commit
ff4b828e6c
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 3
      .vim/startup/vundle_vimrc
  2. 11
      README.md
  3. 1
      tmux/.tmux.conf

3
.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'

11
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 管理,默认有如下插件

1
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

Loading…
Cancel
Save