Skip to content

Latest commit

 

History

History
105 lines (73 loc) · 2.85 KB

README.en.md

File metadata and controls

105 lines (73 loc) · 2.85 KB

中文版本

dotfiles

A set of vim, zsh, git, and tmux configuration files.

ssh

Setup

SSH Multiplexing

SSH multiplexing is the ability to carry multiple SSH sessions over a single TCP connection.

ControlMaster auto
ControlPersist yes
ControlPath ~/.ssh/socks/%h-%p-%r

Keep session from disconnecting

ServerAliveInterval 60

Disable strict host key checking

StrictHostKeyChecking no
UserKnownHostsFile /dev/null

tmux

vim

Setup

You need install following package to compile YCM:

  • ctags
  • cmake
  • g++(Centos:gcc-c++)
  • python-devel

Base Configuration

Plugins

  • VundleVim/Vundle.vim'
  • Lokaltog/vim-powerline' "status 美化
  • octol/vim-cpp-enhanced-highlight' "对c++语法高亮增强
  • kshenoy/vim-signature' "书签可视化的插件
  • vim-scripts/BOOKMARKS--Mark-and-Highlight-Full-Lines' "书签行高亮
  • majutsushi/tagbar' "taglist的增强版,查看标签,依赖于ctags
  • scrooloose/nerdcommenter' "多行注释,leader键+cc生成, leader+cu删除注释
  • scrooloose/nerdtree' "文件浏览
  • Valloric/YouCompleteMe' "自动补全
  • kien/ctrlp.vim' "搜索历史打开文件,在命令行模式下按ctrl+p触发
  • vim-scripts/grep.vim' "在命令行模式使用grep命令,:Grep
  • Lokaltog/vim-easymotion' "快速跳转,按两下leader键和f组合
  • vim-scripts/ShowTrailingWhitespace.git' "高亮显示行尾的多余空白字符
  • vim-scripts/indentpython.vim.git'
  • vim-scripts/Solarized.git' "主题方案
  • nathanaelkane/vim-indent-guides.git' "缩进对齐显示
  • davidhalter/jedi-vim' "python 补全,不依赖于tags,但比较慢,可以使用indexer替换,但不能跳转项目外
  • vim-scripts/Markdown'
  • tpope/vim-surround'
  • ekalinin/Dockerfile.vim'

Theme

zsh

Setup

Base Configration

Plugins

  • git
  • zsh-syntax-highlighting
  • extract
  • z

Themes

  • robbyrussell

git

Awesome Command-line Tools

  • ag: Recursively search for PATTERN in PATH. Like grep or ack, but faster.
  • tig: Text-mode interface for Git.
  • mycli: A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.
  • jq: Command-line JSON processor.
  • shellcheck: A static analysis tool for shell scripts.
  • yapf: A formatter for Python files.
  • mosh: Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.
  • fzf: A command-line fuzzy finder written in Go.
  • PathPicker(fpp): A simple command line tool that solves the perpetual problem of selecting files out of bash output.