-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtigrc
67 lines (49 loc) · 1.57 KB
/
tigrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# vi: ft=conf
# ==============================================================================
# SETTINGS
# ==============================================================================
# --- Git Settings ---
set ignore-space = yes
set status-show-untracked-files = yes
set status-show-untracked-dirs = no
# --- Miscellaneous Settings ---
# Ignore case for search
set ignore-case = yes
# Disable mouse support
set mouse = no
set tab-size = 4
# ==============================================================================
# KEY BINDINGS
# ==============================================================================
# Page up/down
bind generic <C-k> move-page-up
bind generic <C-j> move-page-down
# Go to first/last line
bind generic g none
bind generic gg move-first-line
bind main G move-last-line
bind generic G move-last-line
# Next/previous
bind generic gj next
bind generic gk previous
# Switch modes
bind generic m none
bind generic mm view-main
bind generic md view-diff
bind generic ml view-log
bind generic mt view-tree
bind generic mf view-blob
bind generic mb view-blame
bind generic mr view-refs
bind generic ms view-status
bind generic mc view-stage
bind generic my view-stash
bind generic mg view-grep
bind generic mp view-pager
bind generic mh view-help
# TODO: Grab some fancy bindings from here
# https://github.com/jonas/tig/blob/master/contrib/vim.tigrc
# ==============================================================================
# COLORS
# ==============================================================================
color cursor white yellow bold