https://github.com/ya-luotao/dotfiles
A set of vim, git and tmux configuration files.
https://github.com/ya-luotao/dotfiles
dotfiles git hammerspoon tmux vim
Last synced: 2 months ago
JSON representation
A set of vim, git and tmux configuration files.
- Host: GitHub
- URL: https://github.com/ya-luotao/dotfiles
- Owner: ya-luotao
- Created: 2017-03-13T05:13:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-05-26T10:48:19.000Z (about 5 years ago)
- Last Synced: 2025-03-18T04:28:41.050Z (over 1 year ago)
- Topics: dotfiles, git, hammerspoon, tmux, vim
- Language: Lua
- Homepage:
- Size: 147 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
## Install
```
git clone git@github.com:ya-luotao/dotfiles ~/Workspace/dotfiles
```
Install rcm:
```
brew install rcm
```
Install the dotfiles:
```
env RCRC=$HOME/Workspace/dotfiles/rcrc rcup
```
## Update
```
rcup
```
## Create new dotfile link
```
mkrc ~/.tmuxinator/proj.yml
```
## What's in it?
tmux configuration:
- Set prefix to `Ctrl+g`.
- Improve color resolution.
vim configuration:
- Use vim-plug to manage plugins.
- Use Ag instead of Grep when available.
- Use Tagbar to view the tags of the current file and get an overview of its structure, map `tag` to `:TagbarToggle`.
- Set `` to `,`.
- Switch between the last two files with ``.
Shell aliases and scripts:
- `ll` for `ls -lha`.
- `mux` for `tmux`.
- `path` for `echo $PATH | tr -s ":" "\n"` to pretty print the path.
- `gitlog` for `git log --format="%Cgreen%h%Creset %C(yellow)%aN%Creset: %s" --no-merges` to pretty print the git log.
- `dotfiles` for `cd ~/Workspace/dotfiles`.
- `workspace` for `cd ~/Workspace`.