From 6bf6e6ad1e3cc5c6a32c1f8e497e64d3c661466b Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Wed, 26 Feb 2025 09:40:39 +0100 Subject: [PATCH] removed netrw_gitignore#Hide since it is not available anymore, I wonder why --- vim/.vimrc | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index a62c213..4738baf 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,10 +1,10 @@ set nocompatible set backspace=start,eol,indent -set hidden +set hidden set hlsearch syntax on filetype plugin on -set tabstop=4 shiftwidth=4 autoindent smartindent expandtab +set tabstop=4 shiftwidth=4 autoindent smartindent expandtab set mouse=v set ttymouse=xterm let mapleader="," @@ -71,15 +71,15 @@ set wildmode=longest:full,full """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " -" Create Tags thorugh :MakeTags -" +" Create Tags thorugh :MakeTags +" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" command! MakeTags !ctags -R . set autochdir set tags=tags; """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" +" " File browsing through a tree on the left side " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -87,8 +87,9 @@ let g:netrw_banner=0 let g:netrw_browse_split=4 let g:netrw_altv=1 let g:netrw_liststyle=3 -let g:netrw_list_hide=netrw_gitignore#Hide() -let g:netrw_list_hide.=',\(\^\|\s\s\)\zs\.\S\+' +" let g:netrw_list_hide=netrw_gitignore#Hide() +" let g:netrw_list_hide=',\(\^\|\s\s\)\zs\.\S\+' +let g:netrw_list_hide='\(^|\s\s\)\zs\.\S\+' map :Lex vertical resize 30 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -96,7 +97,7 @@ map :Lex vertical resize 30 " Cursorline on the cursor " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -set cursorline +set cursorline hi CursorLine cterm=NONE ctermbg=darkgrey ctermfg=white @@ -109,7 +110,7 @@ hi CursorLine cterm=NONE ctermbg=darkgrey ctermfg=white " function! gitbranch() " return system("git rev-parse --abbrev-ref head 2>/dev/null | tr -d '\n'") " endfunction -" +" " function! statuslinegit() " let l:branchname = gitbranch() " return strlen(l:branchname) > 0?' '.l:branchname.' ':'' @@ -127,7 +128,7 @@ autocmd BufWritePre * :call UpdateGitBranch() autocmd BufReadPost * :call UpdateGitBranch() autocmd BufEnter * :call UpdateGitBranch() augroup end - + function! LinterStatus() abort let l:counts = ale#statusline#Count(bufnr('')) @@ -187,7 +188,7 @@ nmap :TagbarToggle """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " -" Selection Highlighting +" Selection Highlighting " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " hlsearch colors @@ -213,7 +214,7 @@ set splitright let g:ale_enabled = 1 let g:ale_hover_enabled = 1 let g:ale_set_balloons = 1 -let g:ale_sign_error = '✗' +let g:ale_sign_error = '✗' " let g:ale_sign_warning = '' let g:ale_completion_enabled = 1 let g:ale_completion_autoimport = 1 @@ -255,7 +256,7 @@ set completeopt+=longest,menu,menuone,preview,noselect,noinsert "" " autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif -" +" " " --This puts the preview window to the right of the screen " @@ -359,7 +360,7 @@ nnoremap fu :call FzfSearchUpwards() " without a newline " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - + " xnoremap c =:'<,'>:w ! base64p function! Base64EncodeSelection()