1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00

Adding vim stuff

This commit is contained in:
Henrik Hautakoski 2023-09-14 19:55:17 +02:00
parent b77ac31173
commit 81d5cc35ce
11 changed files with 3006 additions and 0 deletions

6
nvim/git.vim Normal file
View file

@ -0,0 +1,6 @@
function! GitStatus()
let l:branchname = system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'")
return strlen(l:branchname) > 0?'branch:'.l:branchname.' ':''
endfunction