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

@ -1,31 +1,29 @@
[user] [user]
name = Grigory Shipunov name = Grigory Shipunov
email = blame@oxapentane.com email = blame@oxapentane.com
signingkey = DD0998E6CDF294537FC604F991FA5E5BF9AA901C signingkey = DD0998E6CDF294537FC604F991FA5E5BF9AA901C
[color] [color]
ui = auto ui = auto
[merege] [merege]
conflictstyle = diff3 conflictstyle = diff3
[commit] [commit]
gpgsign = true gpgsign = true
[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
[init] [init]
defaultBranch = master defaultBranch = master
[safe] [safe]
directory = /etc/nixos directory = /etc/nixos

View file

@ -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>