Skip to content

sleepyblackcat/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

生产效率

[TOC]

常用工具

Server

  1. Dotfiles :个人配置文件

    git clone https://github.com/sleepyblackcat/dotfiles.git
  2. Tmux :终端复用

    Ref:tmuxcheatsheet 更新tmux版本

    sudo apt-get install tmux xclip automake pkg-config libevent-dev libncurses-dev
    # copy config file 
    cp dotfiles/.tmux.conf ~/
  3. Vim :文本编辑器

    Ref: terminal 工作环境配置

    手册:vimcheatsheet

    cp dotfiles/.vimrc ~/
    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    # you_complete_me 安装非常慢,耐心等
    vim +PluginInstall +qall
    
    # 安装 you_complete_me
    sudo apt-get install build-essential cmake
    sudo apt-get install python-dev python3-dev
    cd ~/.vim/bundle/YouCompleteMe
    git submodule update --init --recursive
    ./install.py --clang-completer
    
    # 安装 clang-format
    mkdir -p ~/.vim/prebuild/clang
    curl http://releases.llvm.org/5.0.1/clang+llvm-5.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz -o ~/.vim/prebuild/clang/llvm.tar.xz # 或者到 http://releases.llvm.org/download.html 下载对应版本 prebuilds
    pushd ~/.vim/prebuild/clang
    mkdir llvm
    tar -xvf llvm.tar.xz -C llvm --strip-components 1
    echo "export PATH=~/.vim/prebuild/clang/llvm/bin:\$PATH" >> ~/.bash_profile
    source ~/.bash_profile
    popd
    
    # 安装 vim 用的 py2
    sudo apt-get install vim-nox-py2
    sudo update-alternatives --config vim # 更换vim (切换python版本,现在的vim是py3,但是有很多插件只支持py2)
  4. Tree :树形目录查看

    sudo apt-get install tree
  5. Zsh / Oh My Zsh

    Zsh:

    sudo apt-get install zsh

    Oh My Zsh:

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  6. feh / ffmpeg :视频工具

    sudo apt-get install feh
    sudo apt-get install ffmpeg
  7. Rsync :同步文件夹

    sudo apt-get install rsync

Mac

  1. ShadowsocksX-NG

  2. SSHFS :远程挂载硬盘

    brew cask install osxfuse (?)
    brew install sshfs
  3. VSCode :代码编辑器

  4. iTerm :终端

  5. XQuartz :Mac X server

  6. Alfred :管家 (licence见邮件)

  7. Typora :Markdown编辑器

  8. Magnet :窗口快捷布局 ( App Store )

  9. MindMaster :思维导图

  10. Pages / Number :Mac文档 ( App Store )

  11. Chrome :浏览器 ( 需ss )

    • Vimium 插件