dotfiles/.vimrc.plugins-settings

27 lines
871 B
Text
Raw Normal View History

2019-02-22 15:50:11 +00:00
" plugins: airline
let g:bufferline_echo = 0
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
2019-07-07 12:08:00 +01:00
au BufWrite * :Autoformat
2019-02-22 15:50:11 +00:00
" plugins: rust
let g:rustfmt_autosave = 1
" searching
let $FZF_DEFAULT_COMMAND = 'rg --files --no-messages "" .'
set grepprg=rg\ --vimgrep
let g:fzf_command_prefix = 'Fzf'
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>), 1, <bang>0)
2019-02-22 16:08:40 +00:00
let g:ctrlp_show_hidden = 1
2019-02-22 15:50:11 +00:00
2019-02-24 12:20:00 +00:00
let g:lsp_signs_enabled = 1
let g:lsp_diagnostics_echo_cursor = 1
2019-06-30 20:28:10 +01:00
let g:deoplete#enable_at_startup = 1
" nerdtree startup
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
2019-02-23 09:15:44 +00:00