<root>
/
tigrc
(45c8c15b84c84c236bfc011f930f845cb82b2c54) (1,254B) (mode 100644)
[raw]
# more vim-like bindings
bind generic g move-first-line
bind generic G move-last-line
bind main G move-last-line
bind generic <Ctrl-f> move-page-down
bind generic <Ctrl-b> move-page-up
# scroll view with J/K
bind generic J scroll-line-down
bind generic K scroll-line-up
# commit in verbose mode (shows all changes)
bind status C !git commit -v
# initiate interactive rebase until current commit
bind main x <git rebase -i %(commit)^
# customize pseudo-graphic defaults
set line-graphics = utf-8
# add commit hash column and shorten author field
set main-view = line-number:no,interval=5 id:yes date:default author:abbreviated,width=0 commit-title:yes,graph,refs,overflow=no
# don't expand contents of untracked directories
set status-show-untracked-dirs = false
# tabs take 4 character positions
set tab-size = 4
# ignore case unless search string doesn't contain uppercase letters
set ignore-case = smart-case
# more readable and closer to git defaults look
color cursor black yellow normal
color date black default bold
color diff-stat default default bold
color diff-index default default bold
color stat-staged cyan default bold
color stat-unstaged cyan default bold
color stat-untracked cyan default bold
color status.section green default
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotfiles
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotfiles
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master