weimeng23 / dotfiles

:rainbow: @weimeng23 does dotfiles and preferences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

@weimeng23 does dotfiles for Ubuntu and OS X

Table of contents

Table of contents generated with markdown-toc

Install

copy all dotfiles to $HOME

git clone https://github.com/weimeng23/dotfiles.git
cd dotfiles
chmod +x install.sh && ./install.sh

Components

Neovim/Vim

No need to execute

For neovim, install vim-plug (A minimalist Vim plugin manager.)

curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

neovim config file in ~/.config/nvim/init.vim. Plugins installed in ~/.config/nvim/plugged.

For vim,

curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

vim config file in ~/.vimrc. Plugins installed in ~/.vim/plugged.

Tmux

  1. Use default prefix key

  2. Base index start from 1

  3. Automatically renumber the windows of a session after any window is closed

  4. Large history message (200000 lines)

  5. Modify window-status-format, easy to find current pane(** on both sides)

  6. Status bar updates every 2s

Inputrc

  1. Ignore case and display a list of possible files for us

  2. Search specific command use up&down button

Xmodmap

On Ubuntu, use gnome-session-properties to add xmodmap /home/$USER/.xmodmaprc into autorun (use absolute path better)

Two keyboard configuration here:

  1. Remove Caps_Lock and replace it with Control_L (default)

  2. Swap Caps_Lock and Control_L

About

:rainbow: @weimeng23 does dotfiles and preferences


Languages

Language:Vim Script 98.3%Language:Shell 1.7%