From cb847d65b5130cc25305ac9f072c931acf7242a8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 19 Nov 2021 07:50:28 +0100 Subject: [PATCH] vim: umsortiert --- .vimrc | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.vimrc b/.vimrc index 49cfd63..882c3b0 100644 --- a/.vimrc +++ b/.vimrc @@ -135,21 +135,5 @@ nmap :tab G " markiere text im visual mode; suche dann danach mit // im visual-mode " https://vim.fandom.com/wiki/Search_for_visually_selected_text vnoremap // y/\V=escape(@",'/\') -" https://shapeshed.com/vim-statuslines/ -function! GitBranch() - return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'") -endfunction -" ### lightline/statusline -" blende insert/visual/... in der commandline aus, steht in lightline -set noshowmode -set laststatus=2 -let g:lightline = { - \ 'active': { - \ 'left': [ [ 'mode', 'paste' ], - \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] - \ }, - \ 'component_function': { - \ 'gitbranch': 'FugitiveHead' - \ }, - \ } +