summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-02-03 09:42:38 +0800
committertypebrook <typebrook@gmail.com>2020-02-03 09:42:38 +0800
commit5bf59740842ca88b84bf50331bef3b28ce6b4f7b (patch)
tree2544b32f0d8a5a7daae94672d043ccf02d9fd13f
parent6c378afeaaed37ed305b9a18d6b0486f92baa6c5 (diff)
update
-rw-r--r--tigrc1
-rw-r--r--vimrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/tigrc b/tigrc
index 441a6cb..35e4af4 100644
--- a/tigrc
+++ b/tigrc
@@ -294,6 +294,7 @@ bind refs F ?git fetch %(remote) %(ref)
294bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref) 294bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref)
295bind refs pd ?git push %(remote) :%(ref) 295bind refs pd ?git push %(remote) :%(ref)
296bind refs pD ?git push '%(prompt Delete from which remote? )' :%(ref) 296bind refs pD ?git push '%(prompt Delete from which remote? )' :%(ref)
297bind refs rd ?git branch --remotes -D %(remote)/%(ref)
297 298
298bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" 299bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig"
299bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" 300bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig"
diff --git a/vimrc b/vimrc
index ecb08d8..c7f3ad1 100644
--- a/vimrc
+++ b/vimrc
@@ -32,7 +32,7 @@ nnoremap <leader>P :r !xsel -ob<CR>
32" move 32" move
33nnoremap <Tab> } 33nnoremap <Tab> }
34nnoremap <S-Tab> { 34nnoremap <S-Tab> {
35inoremap <C-L> <Esc>2li 35inoremap <C-L> <Right>
36cnoremap <C-L> <Right> 36cnoremap <C-L> <Right>
37cnoremap <C-H> <Left> 37cnoremap <C-H> <Left>
38nmap H 0 38nmap H 0