https://github.com/inhere/myconf
my config files(git/vim/tmux)
https://github.com/inhere/myconf
Last synced: over 1 year ago
JSON representation
my config files(git/vim/tmux)
- Host: GitHub
- URL: https://github.com/inhere/myconf
- Owner: inhere
- Created: 2020-01-04T02:19:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-13T03:26:53.000Z (over 4 years ago)
- Last Synced: 2025-01-31T07:42:18.660Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Config
我的一些工具配置
- shell(bash/zsh)
- git
- tmux
- vim
## Shell 配置
主要是一些常用别名,方法
Install:
```bash
curl https://raw.githubusercontent.com/inhere/conf/master/shell-scripts.sh >> ~/.my-scripts.sh
```
Edit `.bashrc` or `.zshrc`:
```bash
source $HOME/.my-scripts.sh
```
Or use: `echo >> source $HOME/.my-scripts.sh`
## Git 配置
Git 的简单配置,设置一些常用别名。
- 配置文件 [git config](my.gitconfig)
Install:
```bash
curl https://raw.githubusercontent.com/inhere/conf/master/my.gitconfig >> ~/.gitconfig
```
## Tmux 配置
> NOTE: make sure your tmux version >= `2.5`
**极简配置**
极简配置,主要是允许鼠标滚动,颜色,状态栏。
- 配置文件 [tmux config](tmux.conf)
Install:
```bash
curl https://raw.githubusercontent.com/inhere/conf/master/tmux.conf >> ~/.tmux.conf
```
Tmux 1.x:
```bash
curl https://raw.githubusercontent.com/inhere/conf/master/tmux1.conf >> ~/.tmux.conf
```
> 重新载入配置 `tmux source ~/.tmux.conf`
**稍丰富的配置**
Direact usage:
```bash
curl https://raw.githubusercontent.com/ulue/k-tmux/master/tmux.conf > ~/.tmux.conf
```
Use github:
```bash
git clone https://github.com/ulue/k-tmux.git
ln -s $PWD/k-tmux/tmux.conf ~/.tmux.conf
```
**更强大的配置**
请看:
- https://github.com/gpakosz/.tmux
- https://github.com/erikw/tmux-powerline
- https://github.com/tony/tmux-config
- https://github.com/samoshkin/tmux-config 包含 tpm
### tmux 增强工具
- https://github.com/tmux-plugins/tpm tmux 插件管理
- https://github.com/tmux-plugins/tmux-resurrect 重启后恢复tmux之前的会话,需要手动保存会话信息
- https://github.com/tmux-plugins/tmux-continuum 自动保存会话信息,重启后恢复tmux之前的会话设置
## Vim 配置
- https://github.com/wklken/k-vim
### 简洁版配置
简洁版配置适用于服务器环境
- https://github.com/wklken/vim-for-server
Install:
```bash
cp ~/.vimrc ~/.vimrc_bak
curl https://raw.githubusercontent.com/wklken/vim-for-server/master/vimrc > ~/.vimrc
```