# dotfiles **Repository Path**: wmeng223/dotfiles ## Basic Information - **Project Name**: dotfiles - **Description**: @weimeng23 does dotfiles and preferences - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-04 - **Last Updated**: 2026-01-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: dotfiles, Bash ## README # Dotfiles @weimeng23 does dotfiles for Ubuntu and OS X ## Table of contents - [Dotfiles](#dotfiles) - [Table of contents](#table-of-contents) - [Install](#install) - [Components](#components) - [Neovim/Vim](#neovimvim) - [Tmux](#tmux) - [Inputrc](#inputrc) - [Xmodmap](#xmodmap) Table of contents generated with markdown-toc ## Install copy all dotfiles to `$HOME` ```bash 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.) ```bash 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`, ```bash 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