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 nocompatible
|
||||||
set backspace=start,eol,indent
|
set backspace=start,eol,indent
|
||||||
set hidden
|
set hidden
|
||||||
set hlsearch
|
set hlsearch
|
||||||
syntax on
|
syntax on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
set tabstop=4 shiftwidth=4 autoindent smartindent expandtab
|
set tabstop=4 shiftwidth=4 autoindent smartindent expandtab
|
||||||
set mouse=v
|
set mouse=v
|
||||||
set ttymouse=xterm
|
set ttymouse=xterm
|
||||||
let mapleader=","
|
let mapleader=","
|
||||||
|
@ -71,15 +71,15 @@ set wildmode=longest:full,full
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
"
|
"
|
||||||
" Create Tags thorugh :MakeTags
|
" Create Tags thorugh :MakeTags
|
||||||
"
|
"
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
command! MakeTags !ctags -R .
|
command! MakeTags !ctags -R .
|
||||||
set autochdir
|
set autochdir
|
||||||
set tags=tags;
|
set tags=tags;
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
"
|
"
|
||||||
" File browsing through a tree on the left side
|
" 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_browse_split=4
|
||||||
let g:netrw_altv=1
|
let g:netrw_altv=1
|
||||||
let g:netrw_liststyle=3
|
let g:netrw_liststyle=3
|
||||||
let g:netrw_list_hide=netrw_gitignore#Hide()
|
" 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\+'
|
||||||
|
let g:netrw_list_hide='\(^|\s\s\)\zs\.\S\+'
|
||||||
map <C-n> :Lex <bar> vertical resize 30 <CR>
|
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
|
" Cursorline on the cursor
|
||||||
"
|
"
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
set cursorline
|
set cursorline
|
||||||
hi CursorLine cterm=NONE ctermbg=darkgrey ctermfg=white
|
hi CursorLine cterm=NONE ctermbg=darkgrey ctermfg=white
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,7 +110,7 @@ hi CursorLine cterm=NONE ctermbg=darkgrey ctermfg=white
|
||||||
" function! gitbranch()
|
" function! gitbranch()
|
||||||
" return system("git rev-parse --abbrev-ref head 2>/dev/null | tr -d '\n'")
|
" return system("git rev-parse --abbrev-ref head 2>/dev/null | tr -d '\n'")
|
||||||
" endfunction
|
" endfunction
|
||||||
"
|
"
|
||||||
" function! statuslinegit()
|
" function! statuslinegit()
|
||||||
" let l:branchname = gitbranch()
|
" let l:branchname = gitbranch()
|
||||||
" return strlen(l:branchname) > 0?' '.l:branchname.' ':''
|
" return strlen(l:branchname) > 0?' '.l:branchname.' ':''
|
||||||
|
@ -127,7 +128,7 @@ autocmd BufWritePre * :call UpdateGitBranch()
|
||||||
autocmd BufReadPost * :call UpdateGitBranch()
|
autocmd BufReadPost * :call UpdateGitBranch()
|
||||||
autocmd BufEnter * :call UpdateGitBranch()
|
autocmd BufEnter * :call UpdateGitBranch()
|
||||||
augroup end
|
augroup end
|
||||||
|
|
||||||
function! LinterStatus() abort
|
function! LinterStatus() abort
|
||||||
let l:counts = ale#statusline#Count(bufnr(''))
|
let l:counts = ale#statusline#Count(bufnr(''))
|
||||||
|
|
||||||
|
@ -187,7 +188,7 @@ nmap <F8> :TagbarToggle<CR>
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
"
|
"
|
||||||
" Selection Highlighting
|
" Selection Highlighting
|
||||||
"
|
"
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" hlsearch colors
|
" hlsearch colors
|
||||||
|
@ -213,7 +214,7 @@ set splitright
|
||||||
let g:ale_enabled = 1
|
let g:ale_enabled = 1
|
||||||
let g:ale_hover_enabled = 1
|
let g:ale_hover_enabled = 1
|
||||||
let g:ale_set_balloons = 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_sign_warning = ''
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_completion_enabled = 1
|
||||||
let g:ale_completion_autoimport = 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
|
" autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
|
||||||
|
|
||||||
"
|
"
|
||||||
"
|
"
|
||||||
" --This puts the preview window to the right of the screen
|
" --This puts the preview window to the right of the screen
|
||||||
"
|
"
|
||||||
|
@ -359,7 +360,7 @@ nnoremap <leader>fu :call FzfSearchUpwards()<CR>
|
||||||
" without a newline
|
" without a newline
|
||||||
"
|
"
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
||||||
" xnoremap <leader>c <esc>=:'<,'>:w ! base64<C-M>p
|
" xnoremap <leader>c <esc>=:'<,'>:w ! base64<C-M>p
|
||||||
|
|
||||||
function! Base64EncodeSelection()
|
function! Base64EncodeSelection()
|
||||||
|
|
Loading…
Reference in New Issue