plugins

[!NOTE|label:references:]

vim auto-pairs

[!NOTE|label:alternative:]

[!NOTE|label:alternative:]

[!NOTE|label:references:]

airline + ale

sections

[!NOTE|label:references:]

  • section_a

    [!NOTE|label:paths:]

    • show relative path %F : let g:airline_section_c = airline#section#create([ '%F' ]) -> ~/.vimrc

    • show filename only %f : let g:airline_section_c = airline#section#create([ '%f' ]) -> .vimrc

    section_a with default mode

    section_a with short mode

    • via function

      • i.e.:

        airline section_a shortpath

    • via %{}

      airline section_a shortpath with '%{}'

  • sections with length limitation

    • %<': let g:airline_section_c = '%<' . airline#section#create(['%{expand("%:p:~")}'])

    • %-0.xx{} : let g:airline_section_c = '%<' . '%-0.13{expand("%:p:~")}'

    • i.e.:

themes

  • great themes

      • base16_embers base16_embers

      • base16 base16

      • apprentice apprentice

      • gruvbox gruvbox

      • zenburn zenburn

    • angr

    • selenized/selenized_bw

    • biogoo

    • base16_default

    • base16color

    • base16_chalk

    • base16_bright

    • biogoo ( dark background in insert mode )

  • nice themes

    • owo

    • hybrid

    • bubblegum

    • supernova

    • alduin

    • base16_summerfruit

    • base16_atelierseaside

    • raven ( no background color )

    • peaksea ( no background color change )

programming

[!NOTE|label:references:]

style warning

error

[!TIP|label:references:]

nvim coc copilot snippets

nvim coc lspconfig

[!NOTE|label:references:]

coc-snippets

[!TIP|label:default snippets]

OPTIONS
DESCRIPTION

b

beginning of line

i

In-word explansion

w

Word boundary

r

Regular Expression

t

Do NOT expand tabs

s

Remove Whitespace immediately before the cursor

t

Trim all whitespaces from right side of snippet lines

c

Custom context snippet

A

Snippet will be triggered automatically

snippets

commands

[!NOTE|label:references:]

extensions management

[!NOTE|label:references:]

[!NOTE]

nvim-treesitter

  • others

  • configure

  • install manually

  • commands

[!NOTE|label:references:]

nvim copilot

[!NOTE|label:references:]

troubleshooting

  • No GitHub token found in WSL

    • error message

    • error log

    • solution

  • [ghostText] Error on ghost text request: FetchError: CA signature digest algorithm too weak

    • error log

    • solutin

[!NOTE|label:references:]

[!TIP] to reset the ale_lsit_window_size via autocmd:

  • shortcuts

    • :ALENextWrap<CR> : ] + a

    • :ALEPreviousWrap<CR> : [ + a

    • :ALELast<CR> : ] + A

    • :ALEFirst<CR> : [ + A

  • linter/checker install

  • debug info

ale error
ale warning
ale info

color and theme

[!NOTE|label:references:]

  • more

[!NOTE|label:references:]

nvim nerdtree devicons coc lspconfig

[!NOTE|label:unicodes]

nvim nerdtree devicon highlight

  • default settings

utils

[!NOTE|label:references:]

markdown

  • other configurations

  • automatic alignment table in markdown

git

  • call bash cmd in silent mode

git blamer blame

[!NOTE|label:references:]

  • shortcuts

    • :GitGutterNextHunk<CR> : ] + h

    • :GitGutterPrevHunk<CR> : [ + h

troubleshooting

airline

[!NOTE|label:references:]

Last updated

Was this helpful?