aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-04-04 16:39:39 +0800
committertypebrook <typebrook@gmail.com>2019-04-04 16:39:39 +0800
commitf1089b521ec7d3cd38a3f9bb5d38b8014b3fd526 (patch)
tree5ac7159b5d2932e31653dc1d5dd6fa219bd3b688
parent0ae425050dbcf55501d12bed81d33c0260d6e1b4 (diff)
update
-rw-r--r--alias1
-rw-r--r--tigrc2
-rw-r--r--vimrc6
3 files changed, 9 insertions, 0 deletions
diff --git a/alias b/alias
index 9d4d265..fc8fdb8 100644
--- a/alias
+++ b/alias
@@ -11,6 +11,7 @@ alias v='vim'
11alias vv='vim ~/vimwiki/index.wiki' 11alias vv='vim ~/vimwiki/index.wiki'
12alias vr='vim -R' 12alias vr='vim -R'
13alias cdv='cd ~/.vim_runtime' 13alias cdv='cd ~/.vim_runtime'
14alias cdw='cd ~/vimwiki'
14 15
15# shell 16# shell
16alias ll='ls -alh' 17alias ll='ls -alh'
diff --git a/tigrc b/tigrc
index fa39144..db4aa62 100644
--- a/tigrc
+++ b/tigrc
@@ -86,6 +86,8 @@ bind main pp ?git push
86bind main pP ?git push -u %(remote) %(branch):%(branch) 86bind main pP ?git push -u %(remote) %(branch):%(branch)
87bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) 87bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch)
88bind main pd ?git push %(remote) :%(branch) 88bind main pd ?git push %(remote) :%(branch)
89bind main pu ?git pull
90bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch)
89 91
90# reset/rebase/revert 92# reset/rebase/revert
91bind main u ?git reset %(commit) 93bind main u ?git reset %(commit)
diff --git a/vimrc b/vimrc
index bfd449b..65eff1c 100644
--- a/vimrc
+++ b/vimrc
@@ -16,6 +16,12 @@ nnoremap <leader>R :.w !bash<cr>
16nnoremap <leader>W :set wrap!<cr> 16nnoremap <leader>W :set wrap!<cr>
17nnoremap <leader>tt :TableFormat<cr> 17nnoremap <leader>tt :TableFormat<cr>
18nnoremap <leader>u :set clipboard=unnamedplus<cr> 18nnoremap <leader>u :set clipboard=unnamedplus<cr>
19nnoremap <silent> <Leader>s
20 \ : if exists("syntax_on") <BAR>
21 \ syntax off <BAR>
22 \ else <BAR>
23 \ syntax enable <BAR>
24 \ endif<CR>
19 25
20let g:vim_markdown_folding_disabled = 1 26let g:vim_markdown_folding_disabled = 1
21 27