removed netrw_gitignore#Hide since it is not available anymore, I wonder why
This commit is contained in:
parent
dd2d6d863c
commit
6bf6e6ad1e
29
vim/.vimrc
29
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 <C-n> :Lex <bar> vertical resize 30 <CR>
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
@ -96,7 +97,7 @@ map <C-n> :Lex <bar> vertical resize 30 <CR>
|
|||
" 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 <F8> :TagbarToggle<CR>
|
|||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" 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 <leader>fu :call FzfSearchUpwards()<CR>
|
|||
" without a newline
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
|
||||
" xnoremap <leader>c <esc>=:'<,'>:w ! base64<C-M>p
|
||||
|
||||
function! Base64EncodeSelection()
|
||||
|
|
Loading…
Reference in New Issue