new aliases
This commit is contained in:
parent
f1abab663e
commit
02e8b4d283
2 changed files with 19 additions and 20 deletions
|
@ -11,17 +11,15 @@
|
||||||
[credential]
|
[credential]
|
||||||
helper = cache --timeout 28800
|
helper = cache --timeout 28800
|
||||||
[alias]
|
[alias]
|
||||||
diffs = diff --stat
|
|
||||||
diffstat = diff --stat
|
|
||||||
diffw = diff --word-diff=color
|
|
||||||
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
|
||||||
br = branch
|
br = branch
|
||||||
ci = commit
|
ci = commit
|
||||||
ciall = commit -a
|
ciA = commit --amend
|
||||||
ciam = commit --amend
|
cia = commit -a
|
||||||
co = checkout
|
co = checkout
|
||||||
dic = diff --cached
|
d = diff
|
||||||
dif = diff
|
dc = diff --cached
|
||||||
|
ds = diff --stat
|
||||||
|
lg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||||
s = status
|
s = status
|
||||||
[pull]
|
[pull]
|
||||||
ff = only
|
ff = only
|
||||||
|
|
|
@ -105,7 +105,7 @@ set updatetime=107
|
||||||
|
|
||||||
" markdown
|
" markdown
|
||||||
let g:markdown_syntax_conceal = 0
|
let g:markdown_syntax_conceal = 0
|
||||||
let g:markdown_fenced_languages = ['c', 'html', 'python', 'scheme', 'yaml', 'sh', 'json']
|
let g:markdown_fenced_languages = ['c', 'html', 'python', 'rust', 'scheme', 'yaml', 'sh', 'json']
|
||||||
|
|
||||||
" disable modelines
|
" disable modelines
|
||||||
set nomodeline
|
set nomodeline
|
||||||
|
@ -148,5 +148,6 @@ highlight RedundantSpaces ctermbg=red guibg=red
|
||||||
match RedundantSpaces /\s\+$/
|
match RedundantSpaces /\s\+$/
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
nmap <leader>f :Files<cr>
|
nmap <leader>f :GitFiles<cr>
|
||||||
|
nmap <leader>F :Files<cr>
|
||||||
nmap <leader>b :Buffers<cr>
|
nmap <leader>b :Buffers<cr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue