2022-06-23 10:45:58 +03:00
|
|
|
|
" Nerdtree
|
|
|
|
|
|
|
|
|
|
noremap <leader>nt :NERDTreeToggle<CR>
|
|
|
|
|
noremap <leader>nf :NERDTreeFind<CR>
|
|
|
|
|
|
|
|
|
|
let g:NERDTreeDirArrowExpandable = '▸'
|
2022-06-23 10:56:13 +03:00
|
|
|
|
let g:NERDTreeDirArrowCollapsible = '▾'
|
2022-06-23 10:45:58 +03:00
|
|
|
|
|
|
|
|
|
let g:NERDTreeMiniamlUI = 1
|
|
|
|
|
let g:NERDTreeDirArrows = 1
|
|
|
|
|
|
|
|
|
|
" Nerdtree git plugin symbols
|
|
|
|
|
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
|
|
|
|
\ "Modified" : "ᵐ",
|
|
|
|
|
\ "Staged" : "ˢ",
|
|
|
|
|
\ "Untracked" : "ᵘ",
|
|
|
|
|
\ "Renamed" : "ʳ",
|
|
|
|
|
\ "Unmerged" : "ᶴ",
|
|
|
|
|
\ "Deleted" : "ˣ",
|
|
|
|
|
\ "Dirty" : "˜",
|
|
|
|
|
\ "Clean" : "ᵅ",
|
|
|
|
|
\ "Unknown" : "?"
|
|
|
|
|
\ }
|
|
|
|
|
|
|
|
|
|
" NeoFormat
|
|
|
|
|
let g:neoformat_try_node_exe = 1
|
|
|
|
|
let g:neoformat_only_msg_on_error = 1
|
|
|
|
|
let g:neoformat_enabled_markdown = ["denofmt"]
|
|
|
|
|
aug fmt
|
|
|
|
|
au!
|
|
|
|
|
au BufWritePre * try | undojoin | Neoformat | catch /E790/ | Neoformat | endtry
|
|
|
|
|
aug END
|