aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gitconfig2
-rw-r--r--tigrc6
-rw-r--r--vimrc3
3 files changed, 7 insertions, 4 deletions
diff --git a/gitconfig b/gitconfig
index 2036c46..1df5b38 100644
--- a/gitconfig
+++ b/gitconfig
@@ -4,6 +4,6 @@
4[alias] 4[alias]
5 reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2" 5 reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2"
6[core] 6[core]
7 pager = tig 7 pager =
8[color] 8[color]
9 ui = off 9 ui = off
diff --git a/tigrc b/tigrc
index 7e3081e..b7e127c 100644
--- a/tigrc
+++ b/tigrc
@@ -25,6 +25,7 @@ bind main b @git checkout -b "%(prompt Enter branch name: )" %(commit)
25bind main V @git log -S "%(prompt Enter search word: )" 25bind main V @git log -S "%(prompt Enter search word: )"
26bind main gd ?git branch -d %(branch) 26bind main gd ?git branch -d %(branch)
27bind main gD ?git branch -D %(branch) 27bind main gD ?git branch -D %(branch)
28bind main C !git branch --points-at=%(commit) | echo
28 29
29set main-view = \ 30set main-view = \
30 date:default \ 31 date:default \
@@ -44,9 +45,10 @@ bind status a ?git commit --amend
44bind stash D ?git stash drop %(stash) 45bind stash D ?git stash drop %(stash)
45bind stash a ?git stash apply %(stash) 46bind stash a ?git stash apply %(stash)
46 47
47bind refs d ?git branch -d %(branch) 48bind refs C none
48bind refs <Esc>d ?git branch -D %(branch)
49bind refs c ?git checkout %(branch) 49bind refs c ?git checkout %(branch)
50bind refs d @git branch -d %(branch)
51bind refs b @git branch %(branch) %(commit)
50 52
51set ignore-case = true 53set ignore-case = true
52set line-graphics = utf-8 54set line-graphics = utf-8
diff --git a/vimrc b/vimrc
index 63282b4..75618cb 100644
--- a/vimrc
+++ b/vimrc
@@ -10,9 +10,11 @@ set nosol
10set ss=1 10set ss=1
11set siso=999 11set siso=999
12"set clipboard=unnamedplus 12"set clipboard=unnamedplus
13let g:vim_markdown_conceal = 0
13 14
14nmap <c-c> :q<cr> 15nmap <c-c> :q<cr>
15nnoremap <leader>r :.w !bash<cr> 16nnoremap <leader>r :.w !bash<cr>
17nnoremap <leader>tt :TableFormat<cr>
16 18
17 19
18""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 20"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -40,7 +42,6 @@ Plug 'Yggdroot/indentLine'
40Plug 'mileszs/ack.vim' 42Plug 'mileszs/ack.vim'
41Plug 'tpope/vim-surround' 43Plug 'tpope/vim-surround'
42Plug 'lifepillar/pgsql.vim' 44Plug 'lifepillar/pgsql.vim'
43Plug 'dhruvasagar/vim-table-mode'
44 45
45" Initialize plugin system 46" Initialize plugin system
46call plug#end() 47call plug#end()