General maintenance; NEW: git fzf

This commit is contained in:
Tobias Manske 2020-05-22 13:10:59 +02:00
parent e4ccee9cfd
commit 6637ad03e2
Signed by: tobias
GPG Key ID: D5914DC71F2F9352
3 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,10 @@
[user]
email = tobias.manske@mailbox.org
name = Tobias Manske
signingkey = 978D99F12D4E041F
signingkey = FF57750B830AA3A1
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
fzf = "!git lg --color=always | fzf --multi --preview 'git show --color=always {+2}' --ansi"
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
undo = reset HEAD~
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"

View File

@ -1,4 +1,3 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKnXpQ4aaW3Uhn2pfZ79+mqC1Hls2gvSARFNDroNjxGH rad4day@Cyb3r
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOEbfr3p9Kl3ob6wlzIw0JemcPMtMJs2jQeoFL4lJu/p rad4day@ThinkPad
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhMf4bDL4YdzGGJfEnCJRxKU5diRHeSrAmxT+Or6QY4 u0_a112Motorola
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOGFGekwSXCl0+QZXRoc51KF0TamoJrQBUgs6k4Py+Nb rad4day@x380yoga

View File

@ -1,5 +1,3 @@
" Plugin Manager
source ~/.vim/config/plugins.vim
" Make sure plug.vim is present
if empty(glob('~/.vim/autoload/plug.vim'))
@ -9,6 +7,8 @@ if empty(glob('~/.vim/autoload/plug.vim'))
autocmd VimEnter * PlugInstall --sync
endif
" Plugin Manager
source ~/.vim/config/plugins.vim
" Prepare central backup/swap/undo directory
let &undodir = expand('~/.vim/.undo//')