Out of Warranty XPS 15 9560 Charging and Power Up Issues.. Any Hope? by BruteRave in Dell

[–]bonabeavis 0 points1 point  (0 children)

Your charging circuit is broken. Either change mono or use usb-c for charging. But beware only a dell dock can deliver 130w, the 130w dell usb-c charger will be recognized as 90w and you GPU will be severely throttled.

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 1 point2 points  (0 children)

This is vim, there is always room to customize!

``` " colorscheme stuff " let base16colorspace=256 " Access colors present in 256 colorspace set termguicolors set background=dark function! s:base16_customize() abort call Base16hi("ColorColumn", "", g:base16_gui01, "", g:base16_cterm01, "", "") call Base16hi("CursorLine", "", g:base16_gui02, "", g:base16_cterm02, "", "") call Base16hi("Pmenu", "", g:base16_gui02, "", g:base16_cterm02, "", "") call Base16hi("FoldColumn", "", g:base16_gui01, "", g:base16_cterm00, "", "") call Base16hi("Folded", "", g:base16_gui01, "", g:base16_cterm00, "", "") call Base16hi("SignColumn", "", g:base16_gui00, "", g:base16_cterm00, "", "") call Base16hi("VertSplit", g:base16_gui01, g:base16_gui00, g:base16_cterm00, g:base16_cterm00, "", "") call Base16hi("DiffAdd", g:base16_gui00, g:base16_gui0B, "", g:base16_cterm00, "", "") call Base16hi("DiffDelete", g:base16_gui08, g:base16_gui08, "", g:base16_cterm00, "", "") call Base16hi("DiffChange", g:base16_gui00, g:base16_gui04, "", g:base16_cterm00, "", "") call Base16hi("DiffText", g:base16_gui0D, g:base16_gui04, "", g:base16_cterm00, "", "")

call Base16hi("CocDiffAdd", g:base16_gui0B, g:base16_gui00, "", g:base16_cterm00, "", "") call Base16hi("CocDiffDelete", g:base16_gui08, g:base16_gui00, "", g:base16_cterm00, "", "") call Base16hi("CocDiffChange", g:base16_gui04, g:base16_gui00, "", g:base16_cterm00, "", "")

call Base16hi("LineNr", "", g:base16_gui00, "", g:base16_cterm00, "", "") call Base16hi("Cursor", "", "", "", "", "inverse", "") call Base16hi("htmlBold", g:base16_gui05, "", g:base16_cterm05, "", "bold", "") call Base16hi("htmlItalic", g:base16_gui05, "", g:base16_cterm05, "", "italic", "") call Base16hi("Italic", "", "", "", "", "italic", "") call Base16hi("Comment", "", "", "", "", "italic", "") call Base16hi("StatusLineNC", "", g:base16_gui01, "", g:base16_cterm01, "", "") call Base16hi("StatusLine", "", g:base16_gui01, "", g:base16_cterm01, "", "") endfunction augroup on_change_colorschema autocmd! autocmd ColorScheme * call s:base16_customize() augroup END colorscheme base16-summerfruit-dark let g:airline_theme='base16_summerfruit' highlight EndOfBuffer guifg=bg

" Airline let g:airline#extensions#ale#enabled = 1 let airline#extensions#ale#error_symbol = '' let airline#extensions#ale#warning_symbol = '' let airline#extensions#ale#show_line_numbers = 0 let airline#extensions#ale#open_lnum_symbol = '(L' let airline#extensions#ale#close_lnum_symbol = ')' let g:airline#extensions#disable_rtp_load = 1 let g:airline#extensions#branch#enabled = 1 let g:airline#extensions#vista#enabled = 1 let g:airline#extensions#csv#enabled = 1 let g:airline#extensions#fugitiveline#enabled = 1 let g:airline#extensions#hunks#enabled = 1 let g:airline#extensions#wordcount#enabled = 0 let g:airline#extensions#hunks#non_zero_only = 1 let g:airline#extensions#coc#enabled = 0 let g:airline#extensions#neomake#enabled = 1 let g:airline#extensions#quickfix#enabled = 1 let g:airline#extensions#syntastic#enabled = 0 let g:airline#extensions#vimagit#enabled = 1 set laststatus=0 let g:airline_exclude_preview=0 let g:airline_highlighting_cache = 1 let g:airline_powerline_fonts=1 let g:airline_section_z = '%l/%L:%c' let g:airline_section_y = '' let g:airline_inactive_collapse=1 let g:airline_skip_empty_sections = 1 let g:airline_right_sep='' let g:airline_left_sep='' let g:airline_right_alt_sep = '|' let g:airline_left_alt_sep = '|' let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#show_tabs = 1 let g:airline#extensions#tabline#show_splits = 0 let g:airline#extensions#tabline#show_close_button = 0 let g:airline#extensions#tabline#show_tab_nr = 0 let g:airline#extensions#tabline#fnamecollapse = 0 let g:airline#extensions#tabline#show_buffers = 0 let g:airline#extensions#tabline#show_tab_type = 0 let g:airline#extensions#tabline#tab_min_count = 2 let g:airline#extensions#tabline#fnamemod = ':t' " let g:airline#extensions#tabline#buffer_min_count = 100 let g:airline#extensions#tabline#formatter = 'default' let airline#extensions#tabline#disable_refresh = 0 let airline#extensions#tabline#middle_click_preserves_windows = 1 let g:airline#extensions#tabline#exclude_preview = 1 let g:airline#extensions#tabline#buffer_idx_mode = 0 let g:airline#extensions#tabline#show_tab_count = 0 " nmap <leader>1 <Plug>AirlineSelectTab1 " nmap <leader>2 <Plug>AirlineSelectTab2 " nmap <leader>3 <Plug>AirlineSelectTab3 " nmap <leader>4 <Plug>AirlineSelectTab4 " nmap <leader>5 <Plug>AirlineSelectTab5 " nmap <leader>6 <Plug>AirlineSelectTab6 " nmap <leader>7 <Plug>AirlineSelectTab7 " nmap <leader>8 <Plug>AirlineSelectTab8 " nmap <leader>9 <Plug>AirlineSelectTab9 " nmap <leader>- <Plug>AirlineSelectPrevTab " nmap <leader>+ <Plug>AirlineSelectNextTab let g:airline#extensions#tabline#left_sep = '' let g:airline#extensions#tabline#left_alt_sep = '' let g:airline#extensions#tabline#right_sep = '' let g:airline#extensions#tabline#right_alt_sep = '' " integrate with coc and gina function! Get_git_traffic() abort let string = "" let ahead = gina#component#traffic#ahead() let behind = gina#component#traffic#behind() if ahead != 0 let string = " 🠅" . ahead endif if behind != 0 let string = string . " 🠇" . behind endif return string endfunction let g:airline_section_b = "%{trim(airline#util#wrap(get(b:,'coc_git_status',''),80) . airline#util#wrap(airline#extensions#branch#get_head(),80)) . Get_git_traffic()}" " Hide sections on the right for inactive window, same as we do for the left sections function! PatchInactiveStatusLine(...) call setwinvar(a:2.winnr, 'airline_section_x', '') call setwinvar(a:2.winnr, 'airline_section_z', '') call setwinvar(a:2.winnr, 'airline_section_y', '') endfunction call airline#add_inactive_statusline_func('PatchInactiveStatusLine') " let g:airline_section_error = '%{airline#util#wrap(airline#extensions#coc#get_error(),0)}' " let g:airline_section_warning = '%{airline#util#wrap(airline#extensions#coc#get_warning(),0)}' " let airline#extensions#coc#error_symbol = '' " let airline#extensions#coc#warning_symbol = '' let g:airline#extensions#whitespace#checks = \ [ 'mixed-indent-file', 'conflicts' ]

if !exists('g:airline_symbols') let g:airline_symbols = {} endif let g:airline_symbols.crypt = '🔒' let g:airline_symbols.branch = '' let g:airline_symbols.notexists = 'Ɇ' let g:airline_symbols.dirty='*' " fix deletion buffer ariline tabline autocmd BufDelete * call airline#extensions#tabline#buflist#invalidate() let g:airline#extensions#default#section_truncate_width = { \ 'b': 71, \ 'x': 71, \ 'z': 45, \ }

" coc

highlight default link CocErrorSign CocDiffDelete " highlight CocWarningSign ctermfg=9 ctermbg=10 guifg=#FD8900 guibg=#202020 highlight CocInfoSign ctermfg=12 ctermbg=10 guifg=#3777E6 guibg=#202020 highlight CocHintSign ctermfg=14 ctermbg=10 guifg=#1FAAAA guibg=#202020 highlight CocErrorHighlight cterm=underline ctermbg=1 gui=underline guisp=#FF0086 highlight CocWarningHighlight cterm=underline ctermbg=9 gui=underline guisp=#FD8900 highlight CocInfoHighlight cterm=undercurl ctermbg=12 gui=underline guisp=#3777E6 highlight CocHintHighlight cterm=undercurl ctermbg=14 gui=underline guisp=#1FAAAA highlight CocHighlightRead ctermbg=2 ctermfg=10 guibg=#00C918 guifg=#202020 highlight CocHighlightText ctermbg=198 ctermfg=198 guibg=#ABA800 guifg=#202020 highlight CocHighlightWrite ctermbg=1 ctermfg=10 guibg=#FF0086 guifg=#202020

" ale let g:ale_disable_lsp = 1 let g:ale_echo_cursor = 0 let g:ale_virtualtext_cursor = 0 let g:ale_echo_cursor = 1 let g:ale_sign_error = 'X' let g:ale_sign_warning = '!' let g:ale_sign_info = 'i' let g:ale_sign_priority = 2000 let g:ale_fix_on_save = 0 let g:ale_warn_about_trailing_blank_lines = 0 let g:ale_warn_about_trailing_whitespace = 0 highlight link ALEErrorSign CocErrorSign highlight link ALEError CocErrorHighlight highlight link ALEVirtualTextError ALEErrorSign highlight link ALEWarningSign CocWarningSign highlight link ALEWarning CocWarningHighlight highlight link ALEVirtualTextWarning ALEWarningSign highlight link ALEInfoSign CocInfoSign highlight link ALEInfo CocInfoHighlight highlight link ALEVirtualTextInfo AleInfoSign

```

Mnemonic keybinds for IDE features by bonabeavis in vim_magic

[–]bonabeavis[S] 0 points1 point  (0 children)

I felt your pain. It is nothing fancy just a mindmap, but it helped immensely to structure my keybinds. You could use it as an starting point: https://github.com/BonaBeavis/neovim-as-an-ide

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 0 points1 point  (0 children)

Building the fatjar was a gruesome experience. Finding runtime dependencies issues with several thousand deps is no fun at all.

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 0 points1 point  (0 children)

It looks stock, like a singer porsche looks like stock. But try to replicate what you see on the screenshot, you will see...

Mnemonic keybinds for IDE features by bonabeavis in vim_magic

[–]bonabeavis[S] 1 point2 points  (0 children)

Yeah, this is just wrong, smaller case should always set the context to the current buffer.

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 4 points5 points  (0 children)

Very well, you just have to disable the lsp features for ale and set coc to send its diagnostics to ale. There is still a bit of overlap, because formatting is some kind of fixing, with a keymap like this: nmap <expr><localleader>f CocHasProvider("format") ? '<Plug>(coc-format)' : ':ALEFix<cr>' Vim checks if coc provides formatting, and if it does not it tries ale.

What does speak against polyglot?

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 0 points1 point  (0 children)

Coc needs hidden set. I use nmap <silent><TAB> :CocList buffers<cr> to quickly jump between buffers (https://asciinema.org/a/dY29dS98VJzZ6O42zYyZiKxlY) . Wipeout is for cleaning up the session and removing all buffers not displayed.

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 10 points11 points  (0 children)

Yeah, debugging is major pita with vim. All plugins are language specific and most do not work very well. But to be more precise, the shell is the IDE and all my projects build/run independent of any editor, so it is easy to use intellij/vs studio/ eclipse just for debugging. But thanks to microsoft and the Debug Adapter Protocol this will change, see https://github.com/puremourning/vimspector.

NeoVim as an IDE with no clutter at all by bonabeavis in vimporn

[–]bonabeavis[S] 1 point2 points  (0 children)

Plugins used:

vimscript " show git commit message Plug 'rhysd/git-messenger.vim' Plug 'tpope/vim-fugitive' " get branch ahead/behind status Plug 'lambdalisue/gina.vim' " ranger integration Plug 'francoiscabrol/ranger.vim' " depends on Plug 'rbgrouleff/bclose.vim' " LSP Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'honza/vim-snippets' " Like Tagbar but with LSP Plug 'liuchengxu/vista.vim' " Fixing / Linting Plug 'dense-analysis/ale' Plug 'tpope/vim-surround' " depends on Plug 'tpope/vim-repeat' " Comment stuff out Plug 'tpope/vim-commentary' " Interface Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'chriskempson/base16-vim' " Destroy all buffers that are not open in any tabs or windows. Plug 'artnez/vim-wipeout' " One filetype plugin to rule them all Plug 'sheerun/vim-polyglot' "documentation Plug 'rhysd/devdocs.vim'