new aliases

This commit is contained in:
Grigory Shipunov 2022-10-02 02:08:44 +02:00
parent f1abab663e
commit 02e8b4d283
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 19 additions and 20 deletions

View file

@ -11,17 +11,15 @@
[credential]
helper = cache --timeout 28800
[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
ci = commit
ciall = commit -a
ciam = commit --amend
ciA = commit --amend
cia = commit -a
co = checkout
dic = diff --cached
dif = diff
d = 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
[pull]
ff = only

View file

@ -105,7 +105,7 @@ set updatetime=107
" markdown
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
set nomodeline
@ -148,5 +148,6 @@ highlight RedundantSpaces ctermbg=red guibg=red
match RedundantSpaces /\s\+$/
" fzf
nmap <leader>f :Files<cr>
nmap <leader>f :GitFiles<cr>
nmap <leader>F :Files<cr>
nmap <leader>b :Buffers<cr>