├── .gitignore ├── .vim ├── plugged │ ├── nerdtree │ │ ├── .vintrc.yaml │ │ ├── CHANGELOG.md │ │ ├── LICENCE │ │ ├── README.markdown │ │ ├── _config.yml │ │ ├── autoload │ │ │ ├── nerdtree.vim │ │ │ └── nerdtree │ │ │ │ └── ui_glue.vim │ │ ├── doc │ │ │ ├── NERDTree.txt │ │ │ └── tags │ │ ├── lib │ │ │ └── nerdtree │ │ │ │ ├── bookmark.vim │ │ │ │ ├── creator.vim │ │ │ │ ├── event.vim │ │ │ │ ├── flag_set.vim │ │ │ │ ├── key_map.vim │ │ │ │ ├── menu_controller.vim │ │ │ │ ├── menu_item.vim │ │ │ │ ├── nerdtree.vim │ │ │ │ ├── notifier.vim │ │ │ │ ├── opener.vim │ │ │ │ ├── path.vim │ │ │ │ ├── tree_dir_node.vim │ │ │ │ ├── tree_file_node.vim │ │ │ │ └── ui.vim │ │ ├── nerdtree_plugin │ │ │ ├── exec_menuitem.vim │ │ │ ├── fs_menu.vim │ │ │ └── vcs.vim │ │ ├── plugin │ │ │ └── NERD_tree.vim │ │ ├── screenshot.png │ │ └── syntax │ │ │ └── nerdtree.vim │ ├── rainbow │ │ ├── LICENSE │ │ ├── NOTICE │ │ ├── README.md │ │ ├── README_zh.md │ │ ├── autoload │ │ │ ├── rainbow.vim │ │ │ └── rainbow_main.vim │ │ ├── doc │ │ │ ├── rainbow.txt │ │ │ └── tags │ │ ├── plugin │ │ │ └── rainbow_main.vim │ │ └── tests │ │ │ ├── test.c │ │ │ ├── test.css │ │ │ ├── test.csv │ │ │ ├── test.go │ │ │ ├── test.hs │ │ │ ├── test.html │ │ │ ├── test.html.txt │ │ │ ├── test.js │ │ │ ├── test.lua │ │ │ ├── test.php │ │ │ ├── test.pl │ │ │ ├── test.rb │ │ │ ├── test.sh │ │ │ ├── test.special-ft │ │ │ ├── test.styl │ │ │ ├── test.tex │ │ │ └── test.xml │ ├── vim-airline-themes │ │ ├── LICENSE │ │ ├── README.md │ │ ├── autoload │ │ │ └── airline │ │ │ │ └── themes │ │ │ │ ├── alduin.vim │ │ │ │ ├── angr.vim │ │ │ │ ├── apprentice.vim │ │ │ │ ├── atomic.vim │ │ │ │ ├── ayu_dark.vim │ │ │ │ ├── ayu_light.vim │ │ │ │ ├── ayu_mirage.vim │ │ │ │ ├── badwolf.vim │ │ │ │ ├── base16.vim │ │ │ │ ├── base16_3024.vim │ │ │ │ ├── base16_adwaita.vim │ │ │ │ ├── base16_apathy.vim │ │ │ │ ├── base16_ashes.vim │ │ │ │ ├── base16_atelier_cave.vim │ │ │ │ ├── base16_atelier_cave_light.vim │ │ │ │ ├── base16_atelier_dune.vim │ │ │ │ ├── base16_atelier_dune_light.vim │ │ │ │ ├── base16_atelier_estuary.vim │ │ │ │ ├── base16_atelier_estuary_light.vim │ │ │ │ ├── base16_atelier_forest.vim │ │ │ │ ├── base16_atelier_forest_light.vim │ │ │ │ ├── base16_atelier_heath.vim │ │ │ │ ├── base16_atelier_heath_light.vim │ │ │ │ ├── base16_atelier_lakeside.vim │ │ │ │ ├── base16_atelier_lakeside_light.vim │ │ │ │ ├── base16_atelier_plateau.vim │ │ │ │ ├── base16_atelier_plateau_light.vim │ │ │ │ ├── base16_atelier_savanna.vim │ │ │ │ ├── base16_atelier_savanna_light.vim │ │ │ │ ├── base16_atelier_seaside.vim │ │ │ │ ├── base16_atelier_seaside_light.vim │ │ │ │ ├── base16_atelier_sulphurpool.vim │ │ │ │ ├── base16_atelier_sulphurpool_light.vim │ │ │ │ ├── base16_atelierdune.vim │ │ │ │ ├── base16_atelierforest.vim │ │ │ │ ├── base16_atelierheath.vim │ │ │ │ ├── base16_atelierlakeside.vim │ │ │ │ ├── base16_atelierseaside.vim │ │ │ │ ├── base16_atlas.vim │ │ │ │ ├── base16_bespin.vim │ │ │ │ ├── base16_black_metal.vim │ │ │ │ ├── base16_black_metal_bathory.vim │ │ │ │ ├── base16_black_metal_burzum.vim │ │ │ │ ├── base16_black_metal_dark_funeral.vim │ │ │ │ ├── base16_black_metal_gorgoroth.vim │ │ │ │ ├── base16_black_metal_immortal.vim │ │ │ │ ├── base16_black_metal_khold.vim │ │ │ │ ├── base16_black_metal_marduk.vim │ │ │ │ ├── base16_black_metal_mayhem.vim │ │ │ │ ├── base16_black_metal_nile.vim │ │ │ │ ├── base16_black_metal_venom.vim │ │ │ │ ├── base16_brewer.vim │ │ │ │ ├── base16_bright.vim │ │ │ │ ├── base16_brogrammer.vim │ │ │ │ ├── base16_brushtrees.vim │ │ │ │ ├── base16_brushtrees_dark.vim │ │ │ │ ├── base16_chalk.vim │ │ │ │ ├── base16_circus.vim │ │ │ │ ├── base16_classic.vim │ │ │ │ ├── base16_classic_dark.vim │ │ │ │ ├── base16_classic_light.vim │ │ │ │ ├── base16_codeschool.vim │ │ │ │ ├── base16_colors.vim │ │ │ │ ├── base16_cupcake.vim │ │ │ │ ├── base16_cupertino.vim │ │ │ │ ├── base16_darktooth.vim │ │ │ │ ├── base16_decaf.vim │ │ │ │ ├── base16_default.vim │ │ │ │ ├── base16_default_dark.vim │ │ │ │ ├── base16_default_light.vim │ │ │ │ ├── base16_dracula.vim │ │ │ │ ├── base16_edge_dark.vim │ │ │ │ ├── base16_edge_light.vim │ │ │ │ ├── base16_eighties.vim │ │ │ │ ├── base16_embers.vim │ │ │ │ ├── base16_espresso.vim │ │ │ │ ├── base16_flat.vim │ │ │ │ ├── base16_framer.vim │ │ │ │ ├── base16_fruit_soda.vim │ │ │ │ ├── base16_gigavolt.vim │ │ │ │ ├── base16_github.vim │ │ │ │ ├── base16_google.vim │ │ │ │ ├── base16_google_dark.vim │ │ │ │ ├── base16_google_light.vim │ │ │ │ ├── base16_grayscale.vim │ │ │ │ ├── base16_grayscale_dark.vim │ │ │ │ ├── base16_grayscale_light.vim │ │ │ │ ├── base16_greenscreen.vim │ │ │ │ ├── base16_gruvbox_dark_hard.vim │ │ │ │ ├── base16_gruvbox_dark_medium.vim │ │ │ │ ├── base16_gruvbox_dark_pale.vim │ │ │ │ ├── base16_gruvbox_dark_soft.vim │ │ │ │ ├── base16_gruvbox_light_hard.vim │ │ │ │ ├── base16_gruvbox_light_medium.vim │ │ │ │ ├── base16_gruvbox_light_soft.vim │ │ │ │ ├── base16_harmonic16.vim │ │ │ │ ├── base16_harmonic_dark.vim │ │ │ │ ├── base16_harmonic_light.vim │ │ │ │ ├── base16_heetch.vim │ │ │ │ ├── base16_heetch_light.vim │ │ │ │ ├── base16_helios.vim │ │ │ │ ├── base16_hopscotch.vim │ │ │ │ ├── base16_horizon_dark.vim │ │ │ │ ├── base16_horizon_light.vim │ │ │ │ ├── base16_horizon_terminal_dark.vim │ │ │ │ ├── base16_horizon_terminal_light.vim │ │ │ │ ├── base16_ia_dark.vim │ │ │ │ ├── base16_ia_light.vim │ │ │ │ ├── base16_icy.vim │ │ │ │ ├── base16_irblack.vim │ │ │ │ ├── base16_isotope.vim │ │ │ │ ├── base16_londontube.vim │ │ │ │ ├── base16_macintosh.vim │ │ │ │ ├── base16_marrakesh.vim │ │ │ │ ├── base16_materia.vim │ │ │ │ ├── base16_material.vim │ │ │ │ ├── base16_material_darker.vim │ │ │ │ ├── base16_material_lighter.vim │ │ │ │ ├── base16_material_palenight.vim │ │ │ │ ├── base16_material_vivid.vim │ │ │ │ ├── base16_mellow_purple.vim │ │ │ │ ├── base16_mexico_light.vim │ │ │ │ ├── base16_mocha.vim │ │ │ │ ├── base16_monokai.vim │ │ │ │ ├── base16_nord.vim │ │ │ │ ├── base16_nova.vim │ │ │ │ ├── base16_ocean.vim │ │ │ │ ├── base16_oceanicnext.vim │ │ │ │ ├── base16_one_light.vim │ │ │ │ ├── base16_onedark.vim │ │ │ │ ├── base16_outrun_dark.vim │ │ │ │ ├── base16_papercolor_dark.vim │ │ │ │ ├── base16_papercolor_light.vim │ │ │ │ ├── base16_paraiso.vim │ │ │ │ ├── base16_phd.vim │ │ │ │ ├── base16_pico.vim │ │ │ │ ├── base16_pop.vim │ │ │ │ ├── base16_porple.vim │ │ │ │ ├── base16_railscasts.vim │ │ │ │ ├── base16_rebecca.vim │ │ │ │ ├── base16_sandcastle.vim │ │ │ │ ├── base16_seti.vim │ │ │ │ ├── base16_shapeshifter.vim │ │ │ │ ├── base16_shell.vim │ │ │ │ ├── base16_snazzy.vim │ │ │ │ ├── base16_solarflare.vim │ │ │ │ ├── base16_solarized.vim │ │ │ │ ├── base16_solarized_dark.vim │ │ │ │ ├── base16_solarized_light.vim │ │ │ │ ├── base16_spacemacs.vim │ │ │ │ ├── base16_summerfruit.vim │ │ │ │ ├── base16_summerfruit_dark.vim │ │ │ │ ├── base16_summerfruit_light.vim │ │ │ │ ├── base16_synth_midnight_dark.vim │ │ │ │ ├── base16_tomorrow.vim │ │ │ │ ├── base16_tomorrow_night.vim │ │ │ │ ├── base16_tomorrow_night_eighties.vim │ │ │ │ ├── base16_tube.vim │ │ │ │ ├── base16_twilight.vim │ │ │ │ ├── base16_unikitty_dark.vim │ │ │ │ ├── base16_unikitty_light.vim │ │ │ │ ├── base16_vim.vim │ │ │ │ ├── base16_woodland.vim │ │ │ │ ├── base16_xcode_dusk.vim │ │ │ │ ├── base16_zenburn.vim │ │ │ │ ├── base16color.vim │ │ │ │ ├── behelit.vim │ │ │ │ ├── biogoo.vim │ │ │ │ ├── bubblegum.vim │ │ │ │ ├── cobalt2.vim │ │ │ │ ├── cool.vim │ │ │ │ ├── dark_minimal.vim │ │ │ │ ├── desertink.vim │ │ │ │ ├── deus.vim │ │ │ │ ├── distinguished.vim │ │ │ │ ├── durant.vim │ │ │ │ ├── fairyfloss.vim │ │ │ │ ├── fruit_punch.vim │ │ │ │ ├── google_dark.vim │ │ │ │ ├── google_light.vim │ │ │ │ ├── hybrid.vim │ │ │ │ ├── hybridline.vim │ │ │ │ ├── jellybeans.vim │ │ │ │ ├── jet.vim │ │ │ │ ├── kalisi.vim │ │ │ │ ├── kolor.vim │ │ │ │ ├── laederon.vim │ │ │ │ ├── lessnoise.vim │ │ │ │ ├── light.vim │ │ │ │ ├── lighthaus.vim │ │ │ │ ├── lucius.vim │ │ │ │ ├── luna.vim │ │ │ │ ├── minimalist.vim │ │ │ │ ├── molokai.vim │ │ │ │ ├── monochrome.vim │ │ │ │ ├── murmur.vim │ │ │ │ ├── night_owl.vim │ │ │ │ ├── nord_minimal.vim │ │ │ │ ├── onedark.vim │ │ │ │ ├── ouo.vim │ │ │ │ ├── owo.vim │ │ │ │ ├── papercolor.vim │ │ │ │ ├── peaksea.vim │ │ │ │ ├── powerlineish.vim │ │ │ │ ├── qwq.vim │ │ │ │ ├── raven.vim │ │ │ │ ├── ravenpower.vim │ │ │ │ ├── seagull.vim │ │ │ │ ├── selenized.vim │ │ │ │ ├── selenized_bw.vim │ │ │ │ ├── seoul256.vim │ │ │ │ ├── serene.vim │ │ │ │ ├── sierra.vim │ │ │ │ ├── silver.vim │ │ │ │ ├── simple.vim │ │ │ │ ├── soda.vim │ │ │ │ ├── sol.vim │ │ │ │ ├── solarized.vim │ │ │ │ ├── solarized_flood.vim │ │ │ │ ├── supernova.vim │ │ │ │ ├── term.vim │ │ │ │ ├── term_light.vim │ │ │ │ ├── tomorrow.vim │ │ │ │ ├── transparent.vim │ │ │ │ ├── ubaryd.vim │ │ │ │ ├── understated.vim │ │ │ │ ├── violet.vim │ │ │ │ ├── wombat.vim │ │ │ │ ├── xtermlight.vim │ │ │ │ └── zenburn.vim │ │ ├── doc │ │ │ ├── airline-themes.txt │ │ │ └── tags │ │ ├── plugin │ │ │ └── airline-themes.vim │ │ └── test │ │ │ └── airline-themes.vader │ ├── vim-airline │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── Gemfile │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Rakefile │ │ ├── autoload │ │ │ ├── airline.vim │ │ │ └── airline │ │ │ │ ├── async.vim │ │ │ │ ├── builder.vim │ │ │ │ ├── debug.vim │ │ │ │ ├── extensions.vim │ │ │ │ ├── extensions │ │ │ │ ├── ale.vim │ │ │ │ ├── battery.vim │ │ │ │ ├── bookmark.vim │ │ │ │ ├── branch.vim │ │ │ │ ├── bufferline.vim │ │ │ │ ├── capslock.vim │ │ │ │ ├── coc.vim │ │ │ │ ├── commandt.vim │ │ │ │ ├── csv.vim │ │ │ │ ├── ctrlp.vim │ │ │ │ ├── ctrlspace.vim │ │ │ │ ├── cursormode.vim │ │ │ │ ├── default.vim │ │ │ │ ├── denite.vim │ │ │ │ ├── dirvish.vim │ │ │ │ ├── eclim.vim │ │ │ │ ├── example.vim │ │ │ │ ├── fern.vim │ │ │ │ ├── fugitiveline.vim │ │ │ │ ├── fzf.vim │ │ │ │ ├── gen_tags.vim │ │ │ │ ├── gina.vim │ │ │ │ ├── grepper.vim │ │ │ │ ├── gutentags.vim │ │ │ │ ├── hunks.vim │ │ │ │ ├── keymap.vim │ │ │ │ ├── languageclient.vim │ │ │ │ ├── localsearch.vim │ │ │ │ ├── lsp.vim │ │ │ │ ├── neomake.vim │ │ │ │ ├── netrw.vim │ │ │ │ ├── nrrwrgn.vim │ │ │ │ ├── nvimlsp.vim │ │ │ │ ├── obsession.vim │ │ │ │ ├── omnisharp.vim │ │ │ │ ├── po.vim │ │ │ │ ├── poetv.vim │ │ │ │ ├── promptline.vim │ │ │ │ ├── quickfix.vim │ │ │ │ ├── rufo.vim │ │ │ │ ├── scrollbar.vim │ │ │ │ ├── searchcount.vim │ │ │ │ ├── syntastic.vim │ │ │ │ ├── tabline.vim │ │ │ │ ├── tabline │ │ │ │ │ ├── autoshow.vim │ │ │ │ │ ├── buffers.vim │ │ │ │ │ ├── buflist.vim │ │ │ │ │ ├── builder.vim │ │ │ │ │ ├── ctrlspace.vim │ │ │ │ │ ├── formatters │ │ │ │ │ │ ├── default.vim │ │ │ │ │ │ ├── jsformatter.vim │ │ │ │ │ │ ├── short_path.vim │ │ │ │ │ │ ├── tabnr.vim │ │ │ │ │ │ ├── unique_tail.vim │ │ │ │ │ │ └── unique_tail_improved.vim │ │ │ │ │ ├── tabs.vim │ │ │ │ │ ├── tabws.vim │ │ │ │ │ └── xtabline.vim │ │ │ │ ├── tagbar.vim │ │ │ │ ├── taglist.vim │ │ │ │ ├── term.vim │ │ │ │ ├── tmuxline.vim │ │ │ │ ├── undotree.vim │ │ │ │ ├── unicode.vim │ │ │ │ ├── unite.vim │ │ │ │ ├── vimagit.vim │ │ │ │ ├── vimcmake.vim │ │ │ │ ├── vimtex.vim │ │ │ │ ├── virtualenv.vim │ │ │ │ ├── vista.vim │ │ │ │ ├── whitespace.vim │ │ │ │ ├── windowswap.vim │ │ │ │ ├── wordcount.vim │ │ │ │ ├── wordcount │ │ │ │ │ └── formatters │ │ │ │ │ │ ├── default.vim │ │ │ │ │ │ └── readingtime.vim │ │ │ │ ├── xkblayout.vim │ │ │ │ ├── ycm.vim │ │ │ │ └── zoomwintab.vim │ │ │ │ ├── formatter │ │ │ │ └── short_path.vim │ │ │ │ ├── highlighter.vim │ │ │ │ ├── init.vim │ │ │ │ ├── msdos.vim │ │ │ │ ├── parts.vim │ │ │ │ ├── section.vim │ │ │ │ ├── themes.vim │ │ │ │ ├── themes │ │ │ │ └── dark.vim │ │ │ │ └── util.vim │ │ ├── doc │ │ │ ├── airline.txt │ │ │ └── tags │ │ ├── plugin │ │ │ └── airline.vim │ │ └── t │ │ │ ├── airline.vim │ │ │ ├── builder.vim │ │ │ ├── commands.vim │ │ │ ├── extensions_default.vim │ │ │ ├── extensions_tabline.vim │ │ │ ├── highlighter.vim │ │ │ ├── init.vim │ │ │ ├── parts.vim │ │ │ ├── section.vim │ │ │ ├── themes.vim │ │ │ └── util.vim │ ├── vim-signature │ │ ├── LICENSE │ │ ├── README.md │ │ ├── after │ │ │ └── plugin │ │ │ │ └── signature.vim │ │ ├── autoload │ │ │ └── signature │ │ │ │ ├── mark.vim │ │ │ │ ├── marker.vim │ │ │ │ ├── sign.vim │ │ │ │ └── utils.vim │ │ ├── doc │ │ │ ├── signature.txt │ │ │ └── tags │ │ └── plugin │ │ │ └── signature.vim │ └── vim-surround │ │ ├── README.markdown │ │ ├── doc │ │ ├── surround.txt │ │ └── tags │ │ └── plugin │ │ └── surround.vim └── vim-plug │ └── plug.vim ├── LICENSE ├── MyTXT ├── B사감과_러브레터 │ ├── B사감과 러브레터.txt │ └── 현진건-B사감과_러브레터-조선문단.txt ├── 내마음_고요히_흐른_봄길_우에 │ ├── 김윤식-내마음_고요히_흐른_봄길_우에.txt │ └── 내마음 고요히 흐른 봄길 우에.txt ├── 단축키-VimView.txt ├── 단축키-vi.txt ├── 동백꽃 │ ├── 김유정-동백꽃-조광.txt │ └── 동백꽃.txt ├── 메밀꽃_필_무렵 │ ├── 메밀꽃 필 무렵.txt │ └── 이효석-모밀꽃_필_무렵.txt ├── 별헤는밤 │ ├── 별헤는밤.txt │ └── 윤동주-별헤는밤-하늘과_바람과_별과_시.txt ├── 봄_봄 │ ├── 김유정-봄_봄-조광.txt │ └── 봄_봄.txt ├── 서시(序詩) │ ├── 서시(序詩).txt │ └── 윤동주-서시(序詩)-하늘과_바람과_별과_시.txt └── 종료(F4).txt ├── README.md ├── config ├── _vimrc.txt └── _vimrc_vi.txt ├── fonts ├── D2Coding-Ver1.3.2-20180524.ttf ├── FiraCode-Retina.ttf ├── GowunBatang-Regular.ttf ├── GowunDodum-Regular.ttf ├── Gugi-Regular.ttf ├── HANBatang.ttf ├── HANDotum.ttf ├── Hack-Regular.ttf ├── JetBrainsMono-Regular.ttf ├── KNPSBandali.otf ├── KNPSKkomi.otf ├── MaruBuri-Regular.ttf ├── NIXGONFONTS-M-2.0.ttf ├── NanumBarunGothic.ttf ├── NanumBarunpenR.ttf ├── NanumGothic.ttf ├── NanumMyeongjo.ttf ├── NanumPen.ttf ├── NanumSquareRoundR.ttf ├── NovaMono-Regular.ttf ├── PoorStory-Regular.ttf ├── PretendardVariable.ttf ├── RIDIBatang.otf ├── SDSamliphopangcheTTFBasic.ttf ├── SDSamliphopangcheTTFOutline.ttf ├── Sunflower-Light.ttf ├── UbuntuMono-R.ttf ├── 라이선스_D2Coding.txt ├── 라이선스_Fira_Code.txt ├── 라이선스_GownBatang.txt ├── 라이선스_GownDodum.txt ├── 라이선스_Gugi.txt ├── 라이선스_Hack.txt ├── 라이선스_JetBrains_Mono.txt ├── 라이선스_NovaMono.txt ├── 라이선스_PoorStory.txt ├── 라이선스_Pretendard.txt ├── 라이선스_Sunflower.txt ├── 라이선스_Ubuntu_Font.txt ├── 라이선스_네이버_나눔글꼴_마루부리.txt ├── 라이선스_닉스곤폰트.txt ├── 라이선스_리디바탕.txt ├── 라이선스_삼립호빵체.txt ├── 라이선스_함초롬체.txt └── 안심글꼴_반달이_꼬미.txt ├── src ├── VimView │ ├── VimView.c │ ├── VimView.ico │ ├── VimView.rc │ ├── bin-vs2013-xp │ │ ├── bin32-xp │ │ │ ├── VimView.exe │ │ │ └── vi.exe │ │ ├── bin64-xp │ │ │ ├── VimView.exe │ │ │ └── vi.exe │ │ ├── makefile-cl-win32-xp │ │ └── makefile-cl-x64-xp │ ├── bin-vs2022 │ │ └── bin64 │ │ │ ├── VimView.exe │ │ │ └── vi.exe │ ├── makefile-cl-win32 │ ├── makefile-cl-x64 │ ├── makefile-gcc-win32 │ ├── makefile-gcc-x64 │ ├── resource.h │ └── vi.c ├── build │ ├── make │ │ ├── msys2 │ │ │ ├── msys32.cmd │ │ │ └── msys64.cmd │ │ ├── sdk71-xp │ │ │ └── sdk71_xp.cmd │ │ ├── vs2013 │ │ │ ├── vs2013_win32.cmd │ │ │ └── vs2013_x64.cmd │ │ └── vs2022 │ │ │ ├── vs2022_win32.cmd │ │ │ └── vs2022_x64.cmd │ └── patch │ │ └── ypadding │ │ ├── gui.c.patch │ │ ├── option.h.patch │ │ ├── optiondefs.h.patch │ │ └── patch_ypadding.cmd └── gvimfullscreen_win32_mod │ ├── README │ ├── dll-vs2013-xp │ ├── dll32-xp │ │ └── gvimfullscreen.dll │ └── dll64-xp │ │ └── gvimfullscreen.dll │ ├── dll-vs2022 │ └── dll64 │ │ └── gvimfullscreen.dll │ ├── gvimfullscreen.c │ └── makefile └── vim82 ├── autoload ├── airline │ └── themes │ │ ├── gruvbox.vim │ │ └── onedark.vim ├── gruvbox.vim ├── lightline │ └── colorscheme │ │ ├── gruvbox.vim │ │ └── onedark.vim └── onedark.vim ├── colors ├── blue.vim ├── delek.vim ├── desert.vim ├── elflord.vim ├── evening.vim ├── gruvbox.vim ├── industry.vim ├── jellybeans.vim ├── koehler.vim ├── molokai.vim ├── monokai.vim ├── morning.vim ├── murphy.vim ├── onedark.vim ├── pablo.vim ├── peachpuff.vim ├── ron.vim ├── shine.vim ├── slate.vim ├── solarized.vim ├── torte.vim └── zellner.vim └── syntax └── text.vim /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/.vintrc.yaml: -------------------------------------------------------------------------------- 1 | cmdargs: 2 | severity: style_problem 3 | color: true 4 | env: 5 | neovim: false 6 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/LICENCE: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/lib/nerdtree/event.vim: -------------------------------------------------------------------------------- 1 | "CLASS: Event 2 | "============================================================ 3 | let s:Event = {} 4 | let g:NERDTreeEvent = s:Event 5 | 6 | function! s:Event.New(nerdtree, subject, action, params) abort 7 | let newObj = copy(self) 8 | let newObj.nerdtree = a:nerdtree 9 | let newObj.subject = a:subject 10 | let newObj.action = a:action 11 | let newObj.params = a:params 12 | return newObj 13 | endfunction 14 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/lib/nerdtree/flag_set.vim: -------------------------------------------------------------------------------- 1 | "CLASS: FlagSet 2 | "============================================================ 3 | let s:FlagSet = {} 4 | let g:NERDTreeFlagSet = s:FlagSet 5 | 6 | "FUNCTION: FlagSet.addFlag(scope, flag) {{{1 7 | function! s:FlagSet.addFlag(scope, flag) 8 | let flags = self._flagsForScope(a:scope) 9 | if index(flags, a:flag) == -1 10 | call add(flags, a:flag) 11 | end 12 | endfunction 13 | 14 | "FUNCTION: FlagSet.clearFlags(scope) {{{1 15 | function! s:FlagSet.clearFlags(scope) 16 | let self._flags[a:scope] = [] 17 | endfunction 18 | 19 | "FUNCTION: FlagSet._flagsForScope(scope) {{{1 20 | function! s:FlagSet._flagsForScope(scope) 21 | if !has_key(self._flags, a:scope) 22 | let self._flags[a:scope] = [] 23 | endif 24 | return self._flags[a:scope] 25 | endfunction 26 | 27 | "FUNCTION: FlagSet.New() {{{1 28 | function! s:FlagSet.New() 29 | let newObj = copy(self) 30 | let newObj._flags = {} 31 | return newObj 32 | endfunction 33 | 34 | "FUNCTION: FlagSet.removeFlag(scope, flag) {{{1 35 | function! s:FlagSet.removeFlag(scope, flag) 36 | let flags = self._flagsForScope(a:scope) 37 | 38 | let i = index(flags, a:flag) 39 | if i >= 0 40 | call remove(flags, i) 41 | endif 42 | endfunction 43 | 44 | "FUNCTION: FlagSet.renderToString() {{{1 45 | function! s:FlagSet.renderToString() 46 | let flagstring = '' 47 | for i in values(self._flags) 48 | let flagstring .= join(i) 49 | endfor 50 | 51 | if len(flagstring) == 0 52 | return '' 53 | endif 54 | 55 | return '[' . flagstring . ']' 56 | endfunction 57 | 58 | " vim: set sw=4 sts=4 et fdm=marker: 59 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/lib/nerdtree/notifier.vim: -------------------------------------------------------------------------------- 1 | "CLASS: Notifier 2 | "============================================================ 3 | let s:Notifier = {} 4 | 5 | function! s:Notifier.AddListener(event, funcname) 6 | let listeners = s:Notifier.GetListenersForEvent(a:event) 7 | if listeners == [] 8 | let listenersMap = s:Notifier.GetListenersMap() 9 | let listenersMap[a:event] = listeners 10 | endif 11 | call add(listeners, a:funcname) 12 | endfunction 13 | 14 | function! s:Notifier.NotifyListeners(event, path, nerdtree, params) 15 | let event = g:NERDTreeEvent.New(a:nerdtree, a:path, a:event, a:params) 16 | 17 | for Listener in s:Notifier.GetListenersForEvent(a:event) 18 | let l:Callback = type(Listener) == type(function('tr')) ? Listener : function(Listener) 19 | call l:Callback(event) 20 | endfor 21 | endfunction 22 | 23 | function! s:Notifier.GetListenersMap() 24 | if !exists('s:refreshListenersMap') 25 | let s:refreshListenersMap = {} 26 | endif 27 | return s:refreshListenersMap 28 | endfunction 29 | 30 | function! s:Notifier.GetListenersForEvent(name) 31 | let listenersMap = s:Notifier.GetListenersMap() 32 | return get(listenersMap, a:name, []) 33 | endfunction 34 | 35 | let g:NERDTreePathNotifier = deepcopy(s:Notifier) 36 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/nerdtree_plugin/exec_menuitem.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================ 2 | " File: exec_menuitem.vim 3 | " Description: plugin for NERD Tree that provides an execute file menu item 4 | " Maintainer: Martin Grenfell 5 | " License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | " ============================================================================ 12 | if exists('g:loaded_nerdtree_exec_menuitem') 13 | finish 14 | endif 15 | let g:loaded_nerdtree_exec_menuitem = 1 16 | 17 | call NERDTreeAddMenuItem({ 18 | \ 'text': '(!)Execute file', 19 | \ 'shortcut': '!', 20 | \ 'callback': 'NERDTreeExecFile', 21 | \ 'isActiveCallback': 'NERDTreeExecFileActive' }) 22 | 23 | function! NERDTreeExecFileActive() 24 | let node = g:NERDTreeFileNode.GetSelected() 25 | return !node.path.isDirectory && node.path.isExecutable 26 | endfunction 27 | 28 | function! NERDTreeExecFile() 29 | let treenode = g:NERDTreeFileNode.GetSelected() 30 | echo "==========================================================\n" 31 | echo "Complete the command to execute (add arguments etc):\n" 32 | let cmd = treenode.path.str({'escape': 1}) 33 | let cmd = input(':!', cmd . ' ') 34 | 35 | if cmd !=# '' 36 | exec ':!' . cmd 37 | else 38 | echo 'Aborted' 39 | endif 40 | endfunction 41 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/nerdtree_plugin/vcs.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================ 2 | " File: vcs.vim 3 | " Description: NERDTree plugin that provides a command to open on the root of 4 | " a version control system repository. 5 | " Maintainer: Phil Runninger 6 | " License: This program is free software. It comes without any warranty, 7 | " to the extent permitted by applicable law. You can redistribute 8 | " it and/or modify it under the terms of the Do What The Fuck You 9 | " Want To Public License, Version 2, as published by Sam Hocevar. 10 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 11 | " 12 | " ============================================================================ 13 | command! -n=? -complete=dir -bar NERDTreeVCS :call CreateTabTreeVCS('') 14 | command! -n=? -complete=dir -bar NERDTreeToggleVCS :call ToggleTabTreeVCS('') 15 | 16 | " FUNCTION: s:CreateTabTreeVCS(a:name) {{{1 17 | function! s:CreateTabTreeVCS(name) 18 | let l:path = g:NERDTreeCreator._pathForString(a:name) 19 | let l:path = s:FindParentVCSRoot(l:path) 20 | call g:NERDTreeCreator.createTabTree(empty(l:path) ? '' : l:path._str()) 21 | endfunction 22 | 23 | " FUNCTION: s:ToggleTabTreeVCS(a:name) {{{1 24 | " Behaves the same as ToggleTabTree except roots directory at VCS root 25 | function! s:ToggleTabTreeVCS(name) 26 | let l:path = g:NERDTreeCreator._pathForString(a:name) 27 | let l:path = s:FindParentVCSRoot(l:path) 28 | call g:NERDTreeCreator.toggleTabTree(empty(l:path) ? '' : l:path._str()) 29 | endfunction 30 | 31 | " FUNCTION: s:FindParentVCSRoot(a:path) {{{1 32 | " Finds the root version control system folder of the given path. If a:path is 33 | " not part of a repository, return the original path. 34 | function! s:FindParentVCSRoot(path) 35 | let l:path = a:path 36 | while !empty(l:path) && 37 | \ l:path._str() !~# '^\(\a:[\\\/]\|\/\)$' && 38 | \ !isdirectory(l:path._str() . '/.git') && 39 | \ !isdirectory(l:path._str() . '/.svn') && 40 | \ !isdirectory(l:path._str() . '/.hg') && 41 | \ !isdirectory(l:path._str() . '/.bzr') && 42 | \ !isdirectory(l:path._str() . '/_darcs') 43 | let l:path = l:path.getParent() 44 | endwhile 45 | return (empty(l:path) || l:path._str() =~# '^\(\a:[\\\/]\|\/\)$') ? a:path : l:path 46 | endfunction 47 | 48 | -------------------------------------------------------------------------------- /.vim/plugged/nerdtree/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/.vim/plugged/nerdtree/screenshot.png -------------------------------------------------------------------------------- /.vim/plugged/rainbow/NOTICE: -------------------------------------------------------------------------------- 1 | Rainbow Parentheses Improved 2 | Copyright 2013 LuoChen (luochen1990@gmail.com). Licensed under the Apache License 2.0. 3 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/doc/rainbow.txt: -------------------------------------------------------------------------------- 1 | Rainbow Parentheses Improved *rainbow* 2 | ========================================================================== 3 | 4 | Commands: *rainbow-commands* 5 | -------------------------------------------------------------------------- 6 | 7 | *RainbowToggle* --- toggle this plugin on/off 8 | *RainbowToggleOn* --- toggle this plugin on 9 | *RainbowToggleOff* --- toggle this plugin off 10 | 11 | Configurations: *rainbow-config* 12 | -------------------------------------------------------------------------- 13 | 14 | *g:rainbow_active* --- 1 to auto enable this plugin 15 | 0 to enable it later via :RainbowToggle 16 | *g:rainbow_conf* --- https://github.com/luochen1990/rainbow#configure 17 | 18 | vim:tw=78:ts=8:ft=help:norl: 19 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/doc/tags: -------------------------------------------------------------------------------- 1 | RainbowToggle rainbow.txt /*RainbowToggle* 2 | RainbowToggleOff rainbow.txt /*RainbowToggleOff* 3 | RainbowToggleOn rainbow.txt /*RainbowToggleOn* 4 | g:rainbow_active rainbow.txt /*g:rainbow_active* 5 | g:rainbow_conf rainbow.txt /*g:rainbow_conf* 6 | rainbow rainbow.txt /*rainbow* 7 | rainbow-commands rainbow.txt /*rainbow-commands* 8 | rainbow-config rainbow.txt /*rainbow-config* 9 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/plugin/rainbow_main.vim: -------------------------------------------------------------------------------- 1 | " Copyright 2013 LuoChen (luochen1990@gmail.com). Licensed under the Apache License 2.0. 2 | 3 | if exists('s:loaded') || !(exists('g:rainbow_active') || exists('g:rainbow_conf')) | finish | endif | let s:loaded = 1 4 | 5 | command! RainbowToggle call rainbow_main#toggle() 6 | command! RainbowToggleOn call rainbow_main#load() 7 | command! RainbowToggleOff call rainbow_main#clear() 8 | 9 | if (exists('g:rainbow_active') && g:rainbow_active) 10 | auto syntax * call rainbow_main#load() 11 | auto colorscheme * call rainbow_main#load() 12 | endif 13 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.c: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | typoo 6 | (typoo) 7 | 8 | int main() { 9 | printf("hello, world"); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.css: -------------------------------------------------------------------------------- 1 | div { 2 | color: red 3 | } 4 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.csv: -------------------------------------------------------------------------------- 1 | a,b,c,d 2 | 1,2,3,4 3 | 1,,3,4 4 | 1,,,4 5 | 1 , , , 4 6 | 1,2,3,4,5 7 | 1, 2, 3, 4 8 | 1 ,2 ,3, 4, 5 9 | 1 , 2 , 3 , 4 10 | 1 , 2 , 3 , 4 11 | 1, 3 12 | 1,2,3 13 | 1,3,4,5 14 | 15 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.go: -------------------------------------------------------------------------------- 1 | typoo 2 | (typoo) 3 | 4 | client := &http.Client{} 5 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.hs: -------------------------------------------------------------------------------- 1 | {- this is a comment block -} 2 | 3 | xs = [1, 2, 3] 4 | ps = [(1, 2), (3, 1 / 4)] 5 | 6 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 |
11 | 12 | (1 + (2 + 3)) 13 |
14 | 15 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.html.txt: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | (1 + (2 + 3)) 5 |
6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.js: -------------------------------------------------------------------------------- 1 | typoo 2 | (typoo) 3 | 4 | console.log({w: 200, h: 100, pos: [{x: 1, y: 2}, {x: 3, y: 4}]}) 5 | 6 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.lua: -------------------------------------------------------------------------------- 1 | (function(args) 2 | lst = { a=function(arg) print("hello") end, 3 | b=(1+2)*3/4, 4 | [3+5]={ ["hello"]=("hi") }, 5 | } 6 | lst[ 7 | (function() return 0 end)()] = 1 8 | end)("blah") 9 | 10 | [[ 11 | Special lua string... 12 | ]] 13 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.php: -------------------------------------------------------------------------------- 1 | 0) 3 | { 4 | echo "Error: " . $_FILES["file"]["error"] . "
"; 5 | } 6 | else 7 | { 8 | echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
"; 9 | } 10 | ?> 11 | 12 | hello (world) 13 | 14 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.pl: -------------------------------------------------------------------------------- 1 | typoo 2 | (typoo) 3 | 4 | sub test { 5 | correct indent; 6 | } 7 | 8 | if ($test) { 9 | incorrect indent; 10 | } 11 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.rb: -------------------------------------------------------------------------------- 1 | {{{}}} 2 | ((())) 3 | [[[]]] 4 | [[[[]]]] 5 | 6 | def sample_function(a, b) 7 | ((())) 8 | [[[]]] 9 | end 10 | 11 | class SampleClass 12 | def sample_method(a, b) 13 | [[[]]] 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | typoo 3 | (typoo) 4 | 5 | if stuff 6 | then 7 | somestuff 8 | test = (()) 9 | (()) 10 | a = (1 + (2 + 3)) 11 | if 12 | then 13 | elif 14 | then 15 | else 16 | fi 17 | else 18 | otherstuff 19 | fi 20 | 21 | if stuff 22 | then 23 | somestuff 24 | else 25 | otherstuff 26 | fi 27 | 28 | function f() { 29 | if 30 | fi 31 | } 32 | 33 | 34 | # check if command exists 35 | command_exists () { 36 | type "${1}" > /dev/null 2>&1; 37 | a = (1 + (2 + 3)) 38 | } 39 | 40 | # Fetch the update 41 | fetch() { 42 | if type wget > /dev/null 2>&1 ; then 43 | $debug && echo "fetching update via wget" 44 | wget --no-check-certificate -O "${2}" "${1}" >/dev/null 2>&1 45 | elif type curl > /dev/null 2>&1 ; then 46 | $debug && echo "fetching update via curl" 47 | curl --insecure --remote-name -o "${2}" "${1}" >/dev/null 2>&1 48 | else 49 | echo 'Warning: Neither wget nor curl is available. online updates unavailable' >&2 50 | exit 1 51 | fi 52 | } 53 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.special-ft: -------------------------------------------------------------------------------- 1 | (((()))) 2 | [[[[]]]] 3 | {{{{}}}} 4 | 5 | # vim: set ft=this-is-a--very-SPECIAL-filetype : 6 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.styl: -------------------------------------------------------------------------------- 1 | div { 2 | color: red 3 | } 4 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | 3 | {{{{}}}} 4 | ((((((())))))) 5 | [[[[[[]]]]]] 6 | \begin{document} 7 | ((((())))) 8 | ${{{{}}}}$ 9 | {{{{}}}} 10 | [[[[[[]]]]]] 11 | \end{document} 12 | -------------------------------------------------------------------------------- /.vim/plugged/rainbow/tests/test.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (C) 2013-2021 Bailey Ling & Contributors. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the "Software"), 7 | to deal in the Software without restriction, including without limitation 8 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 | and/or sell copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included 13 | in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 19 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 21 | OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/ayu_dark.vim: -------------------------------------------------------------------------------- 1 | " Normal mode 2 | " (Dark) 3 | let s:N1 = [ '#3D424D' , '#C2D94C' , 59 , 149 ] " guifg guibg ctermfg ctermbg 4 | let s:N2 = [ '#C2D94C' , '#304357' , 149 , 59 ] " guifg guibg ctermfg ctermbg 5 | let s:N3 = [ '#B3B1AD' , '#0A0E14' , 145 , 16 ] " guifg guibg ctermfg ctermbg 6 | 7 | " Insert mode 8 | let s:I1 = [ '#3D424D' , '#39BAE6' , 59 , 74 ] " guifg guibg ctermfg ctermbg 9 | let s:I2 = [ '#39BAE6' , '#304357' , 74 , 59 ] " guifg guibg ctermfg ctermbg 10 | let s:I3 = [ '#B3B1AD' , '#0A0E14' , 145 , 16 ] " guifg guibg ctermfg ctermbg 11 | 12 | " Visual mode 13 | let s:V1 = [ '#3D424D' , '#FF8F40' , 59 , 209 ] " guifg guibg ctermfg ctermbg 14 | let s:V2 = [ '#FF8F40' , '#304357' , 209 , 59 ] " guifg guibg ctermfg ctermbg 15 | let s:V3 = [ '#B3B1AD' , '#0A0E14' , 145 , 16 ] " guifg guibg ctermfg ctermbg 16 | 17 | " Replace mode 18 | let s:RE = [ '#3D424D' , '#FF3333' , 59 , 203 ] " guifg guibg ctermfg ctermbg 19 | 20 | let g:airline#themes#ayu_dark#palette = {} 21 | 22 | let g:airline#themes#ayu_dark#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 23 | 24 | let g:airline#themes#ayu_dark#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 25 | let g:airline#themes#ayu_dark#palette.insert_replace = { 26 | \ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] } 27 | 28 | let g:airline#themes#ayu_dark#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 29 | 30 | let g:airline#themes#ayu_dark#palette.replace = copy(g:airline#themes#ayu_dark#palette.normal) 31 | let g:airline#themes#ayu_dark#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ] 32 | 33 | let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ] 34 | let g:airline#themes#ayu_dark#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 35 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/ayu_light.vim: -------------------------------------------------------------------------------- 1 | " Normal mode 2 | " (Dark) 3 | let s:N1 = [ '#6C7680' , '#86B300' , 66 , 106 ] " guifg guibg ctermfg ctermbg 4 | let s:N2 = [ '#86B300' , '#6C7680' , 106 , 66 ] " guifg guibg ctermfg ctermbg 5 | let s:N3 = [ '#6C7680' , '#FAFAFA' , 66 , 231 ] " guifg guibg ctermfg ctermbg 6 | 7 | " Insert mode 8 | let s:I1 = [ '#6C7680' , '#55B4D4' , 66 , 74 ] " guifg guibg ctermfg ctermbg 9 | let s:I2 = [ '#55B4D4' , '#6C7680' , 74 , 66 ] " guifg guibg ctermfg ctermbg 10 | let s:I3 = [ '#6C7680' , '#FAFAFA' , 66 , 231 ] " guifg guibg ctermfg ctermbg 11 | 12 | " Visual mode 13 | let s:V1 = [ '#6C7680' , '#FA8D3E' , 66 , 209 ] " guifg guibg ctermfg ctermbg 14 | let s:V2 = [ '#FA8D3E' , '#6C7680' , 209 , 66 ] " guifg guibg ctermfg ctermbg 15 | let s:V3 = [ '#6C7680' , '#FAFAFA' , 66 , 231 ] " guifg guibg ctermfg ctermbg 16 | 17 | " Replace mode 18 | let s:RE = [ '#6C7680' , '#F51818' , 66 , 196 ] " guifg guibg ctermfg ctermbg 19 | 20 | let g:airline#themes#ayu_light#palette = {} 21 | 22 | let g:airline#themes#ayu_light#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 23 | 24 | let g:airline#themes#ayu_light#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 25 | let g:airline#themes#ayu_light#palette.insert_replace = { 26 | \ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] } 27 | 28 | let g:airline#themes#ayu_light#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 29 | 30 | let g:airline#themes#ayu_light#palette.replace = copy(g:airline#themes#ayu_light#palette.normal) 31 | let g:airline#themes#ayu_light#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ] 32 | 33 | let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ] 34 | let g:airline#themes#ayu_light#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 35 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/ayu_mirage.vim: -------------------------------------------------------------------------------- 1 | " Normal mode 2 | " (Dark) 3 | let s:N1 = [ '#212733' , '#BBE67E' , 0 , 114 ] " guifg guibg ctermfg ctermbg 4 | let s:N2 = [ '#BBE67E' , '#212733' , 114 , 0 ] " guifg guibg ctermfg ctermbg 5 | let s:N3 = [ '#E6E1CF' , '#212733' , 15 , 0 ] " guifg guibg ctermfg ctermbg 6 | 7 | " Insert mode 8 | let s:I1 = [ '#212733' , '#80D4FF' , 0 , 80 ] " guifg guibg ctermfg ctermbg 9 | let s:I2 = [ '#80D4FF' , '#212733' , 80 , 0 ] " guifg guibg ctermfg ctermbg 10 | let s:I3 = [ '#E6E1CF' , '#212733' , 15 , 0 ] " guifg guibg ctermfg ctermbg 11 | 12 | " Visual mode 13 | let s:V1 = [ '#212733' , '#FFAE57' , 0 , 173 ] " guifg guibg ctermfg ctermbg 14 | let s:V2 = [ '#FFAE57' , '#212733' , 173 , 0 ] " guifg guibg ctermfg ctermbg 15 | let s:V3 = [ '#E6E1CF' , '#212733' , 15 , 0 ] " guifg guibg ctermfg ctermbg 16 | 17 | " Replace mode 18 | let s:RE = [ '#212733' , '#F07178' , 0 , 167 ] " guifg guibg ctermfg ctermbg 19 | 20 | let g:airline#themes#ayu_mirage#palette = {} 21 | 22 | let g:airline#themes#ayu_mirage#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 23 | 24 | let g:airline#themes#ayu_mirage#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 25 | let g:airline#themes#ayu_mirage#palette.insert_replace = { 26 | \ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] } 27 | 28 | let g:airline#themes#ayu_mirage#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 29 | 30 | let g:airline#themes#ayu_mirage#palette.replace = copy(g:airline#themes#ayu_mirage#palette.normal) 31 | let g:airline#themes#ayu_mirage#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ] 32 | 33 | let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ] 34 | let g:airline#themes#ayu_mirage#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 35 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/base16_shell.vim: -------------------------------------------------------------------------------- 1 | " This theme has been improved and renamed to base16_vim. The following is 2 | " provided for backward compatibility. 3 | 4 | function! airline#themes#base16_shell#refresh() 5 | call airline#themes#base16_vim#refresh() 6 | let g:airline#themes#base16_shell#palette 7 | \ = g:airline#themes#base16_vim#palette 8 | endfunction 9 | 10 | call airline#themes#base16_shell#refresh() 11 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/hybridline.vim: -------------------------------------------------------------------------------- 1 | " vim-airline theme based on vim-hybrid and powerline 2 | " (https://github.com/w0ng/vim-hybrid) 3 | " (https://github.com/Lokaltog/powerline) 4 | 5 | let g:airline#themes#hybridline#palette = {} 6 | 7 | let s:N1 = [ '#282a2e' , '#c5c8c6' , 'black' , 15 ] 8 | let s:N2 = [ '#c5c8c6' , '#373b41' , 15 , 8 ] 9 | let s:N3 = [ '#ffffff' , '#282a2e' , 255 , 'black' ] 10 | let g:airline#themes#hybridline#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 11 | let g:airline#themes#hybridline#palette.normal.airline_a = ['#005f00', '#b5bd68', 22, 10, ''] 12 | 13 | let s:I1 = [ '#005f5f' , '#8abeb7' , 23 , 14 ] 14 | let s:I2 = [ '#c5c8c6' , '#0087af' , 15 , 31 ] 15 | let s:I3 = [ '#ffffff' , '#005f87' , 255 , 24 ] 16 | let g:airline#themes#hybridline#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 17 | let g:airline#themes#hybridline#palette.insert_paste = { 18 | \ 'airline_a': ['#000000', '#ac4142', 16 , 1, ''] , 19 | \ } 20 | 21 | let g:airline#themes#hybridline#palette.replace = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 22 | let g:airline#themes#hybridline#palette.replace.airline_a = ['#000000', '#CC6666', 16, 9] 23 | 24 | let g:airline#themes#hybridline#palette.visual = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 25 | let g:airline#themes#hybridline#palette.visual.airline_a = ['#000000', '#de935f', 16, 3] 26 | 27 | let s:IA1 = [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ] 28 | let s:IA2 = [ '#4e4e4e' , '#262626' , 239 , 235 , '' ] 29 | let s:IA3 = [ '#4e4e4e' , '#303030' , 239 , 236 , '' ] 30 | let g:airline#themes#hybridline#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) 31 | 32 | let g:airline#themes#hybridline#palette.accents = { 33 | \ 'red': [ '#ff0000' , '' , 160 , '' ] 34 | \ } 35 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/kolor.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#kolor#palette = {} 2 | 3 | let s:N1 = [ '#e2e2e2' , '#4f3598' , 254 , 56 ] 4 | let s:N2 = [ '#ff5fd7' , '#242322' , 206 , 234 ] 5 | let s:N3 = [ '#e2e2e2' , '#4a4a4a' , 254 , 238 ] 6 | 7 | let g:airline#themes#kolor#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 8 | 9 | let g:airline#themes#kolor#palette.normal_modified = { 10 | \ 'airline_c': [ '#e2e2e2' , '#4f3598' , 254 , 56 , '' ] , 11 | \ } 12 | 13 | 14 | let s:I1 = [ '#242322' , '#7eaefd' , 234 , 111 ] 15 | let s:I2 = [ '#75d7d8' , '#242322' , 80 , 234 ] 16 | let s:I3 = [ '#e2e2e2' , '#4a4a4a' , 254 , 238 ] 17 | let g:airline#themes#kolor#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 18 | let g:airline#themes#kolor#palette.insert_modified = { 19 | \ 'airline_c': [ '#242322' , '#7eaefd' , 234 , 111 , '' ] , 20 | \ } 21 | 22 | 23 | let g:airline#themes#kolor#palette.replace = copy(g:airline#themes#kolor#palette.insert) 24 | let g:airline#themes#kolor#palette.replace.airline_a = [ s:I2[0] , '#005154' , s:I2[2] , 23 , '' ] 25 | let g:airline#themes#kolor#palette.replace_modified = { 26 | \ 'airline_c': [ '#e2e2e2' , '#005154' , 254 , 23 , '' ] , 27 | \ } 28 | 29 | 30 | let s:V1 = [ '#242322' , '#e6987a' , 234 , 180 ] 31 | let s:V2 = [ '#dbc570' , '#242322' , 186 , 234 ] 32 | let s:V3 = [ '#e2e2e2' , '#4a4a4a' , 254 , 238 ] 33 | let g:airline#themes#kolor#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 34 | let g:airline#themes#kolor#palette.visual_modified = { 35 | \ 'airline_c': [ '#242322' , '#e6987a' , 234 , 180 , '' ] , 36 | \ } 37 | 38 | 39 | let s:IA1 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 , '' ] 40 | let s:IA2 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] 41 | let s:IA3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 , '' ] 42 | let g:airline#themes#kolor#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) 43 | let g:airline#themes#kolor#palette.inactive_modified = { 44 | \ 'airline_c': [ '#875faf' , '' , 97 , '' , '' ] , 45 | \ } 46 | 47 | 48 | let g:airline#themes#kolor#palette.accents = { 49 | \ 'red': [ '#d96e8a' , '' , 168 , '' ] 50 | \ } 51 | 52 | 53 | if !get(g:, 'loaded_ctrlp', 0) 54 | finish 55 | endif 56 | let g:airline#themes#kolor#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( 57 | \ [ '#e2e2e2' , '#4a4a4a' , 254 , 238 , '' ], 58 | \ [ '#e2e2e2' , '#242322' , 254 , 234 , '' ], 59 | \ [ '#e2e2e2' , '#4f3598' , 254 , 56 , 'bold' ]) 60 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/light.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#light#palette = {} 2 | 3 | let s:N1 = [ '#ffffff' , '#005fff' , 255 , 27 ] 4 | let s:N2 = [ '#000087' , '#00dfff' , 18 , 45 ] 5 | let s:N3 = [ '#005fff' , '#afffff' , 27 , 159 ] 6 | let g:airline#themes#light#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 7 | let g:airline#themes#light#palette.normal_modified = { 8 | \ 'airline_c': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , 9 | \ } 10 | 11 | 12 | let s:I1 = [ '#ffffff' , '#00875f' , 255 , 29 ] 13 | let s:I2 = [ '#005f00' , '#00df87' , 22 , 42 ] 14 | let s:I3 = [ '#005f5f' , '#afff87' , 23 , 156 ] 15 | let g:airline#themes#light#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 16 | let g:airline#themes#light#palette.insert_modified = { 17 | \ 'airline_c': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , 18 | \ } 19 | let g:airline#themes#light#palette.insert_paste = { 20 | \ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] , 21 | \ } 22 | 23 | 24 | let g:airline#themes#light#palette.replace = copy(g:airline#themes#light#palette.insert) 25 | let g:airline#themes#light#palette.replace.airline_a = [ s:I2[0] , '#ff0000' , s:I1[2] , 196 , '' ] 26 | let g:airline#themes#light#palette.replace_modified = g:airline#themes#light#palette.insert_modified 27 | 28 | 29 | let s:V1 = [ '#ffffff' , '#ff5f00' , 255 , 202 ] 30 | let s:V2 = [ '#5f0000' , '#ffaf00' , 52 , 214 ] 31 | let s:V3 = [ '#df5f00' , '#ffff87' , 166 , 228 ] 32 | let g:airline#themes#light#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 33 | let g:airline#themes#light#palette.visual_modified = { 34 | \ 'airline_c': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , 35 | \ } 36 | 37 | 38 | let s:IA1 = [ '#666666' , '#b2b2b2' , 242 , 249 , '' ] 39 | let s:IA2 = [ '#8a8a8a' , '#d0d0d0' , 245 , 252 , '' ] 40 | let s:IA3 = [ '#a8a8a8' , '#ffffff' , 248 , 255 , '' ] 41 | let g:airline#themes#light#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) 42 | let g:airline#themes#light#palette.inactive_modified = { 43 | \ 'airline_c': [ '#df0000' , '' , 160 , '' , '' ] , 44 | \ } 45 | 46 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/monochrome.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#monochrome#palette = {} 2 | 3 | function! airline#themes#monochrome#refresh() 4 | let s:SL = airline#themes#get_highlight('StatusLine') 5 | let s:SLNC = airline#themes#get_highlight('StatusLineNC') 6 | 7 | let g:airline#themes#monochrome#palette.normal = airline#themes#generate_color_map(s:SL, s:SL, s:SL) 8 | let g:airline#themes#monochrome#palette.insert = g:airline#themes#monochrome#palette.normal 9 | let g:airline#themes#monochrome#palette.replace = g:airline#themes#monochrome#palette.normal 10 | let g:airline#themes#monochrome#palette.visual = g:airline#themes#monochrome#palette.normal 11 | let g:airline#themes#monochrome#palette.normal.airline_error = s:SLNC 12 | let g:airline#themes#monochrome#palette.normal.airline_warning = s:SLNC 13 | let g:airline#themes#monochrome#palette.normal.airline_term = s:SL 14 | 15 | let g:airline#themes#monochrome#palette.inactive = airline#themes#generate_color_map(s:SLNC, s:SLNC, s:SLNC) 16 | endfunction 17 | 18 | call airline#themes#monochrome#refresh() 19 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/nord_minimal.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#nord_minimal#palette = {} 2 | let s:gui00 = '#2e3440' 3 | let s:gui01 = '#3b4252' 4 | let s:gui02 = '#434c5e' 5 | let s:gui03 = '#4c566a' 6 | let s:gui04 = '#d8dee9' 7 | let s:gui05 = '#e5e9f0' 8 | let s:gui06 = '#eceff4' 9 | let s:gui07 = '#8fbcbb' 10 | let s:gui08 = '#88c0d0' 11 | let s:gui09 = '#81a1c1' 12 | let s:gui0A = '#5e81ac' 13 | let s:gui0B = '#bf616a' 14 | let s:gui0C = '#d08770' 15 | let s:gui0D = '#ebcb8b' 16 | let s:gui0E = '#a3be8c' 17 | let s:gui0F = '#b48ead' 18 | 19 | let s:cterm00 = 0 20 | let s:cterm01 = 0 21 | let s:cterm02 = 59 22 | let s:cterm03 = 102 23 | let s:cterm04 = 145 24 | let s:cterm05 = 188 25 | let s:cterm06 = 253 26 | let s:cterm07 = 15 27 | let s:cterm08 = 166 28 | let s:cterm09 = 203 29 | let s:cterm0A = 214 30 | let s:cterm0B = 29 31 | let s:cterm0C = 12 32 | let s:cterm0D = 12 33 | let s:cterm0E = 134 34 | let s:cterm0F = 12 35 | 36 | let s:N1 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 37 | let s:N2 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 38 | let s:N3 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 39 | let g:airline#themes#nord_minimal#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 40 | 41 | let s:I1 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 42 | let s:I2 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 43 | let s:I3 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 44 | let g:airline#themes#nord_minimal#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 45 | 46 | let s:R1 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 47 | let s:R2 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 48 | let s:R3 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 49 | let g:airline#themes#nord_minimal#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) 50 | 51 | let s:V1 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 52 | let s:V2 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 53 | let s:V3 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 54 | let g:airline#themes#nord_minimal#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 55 | 56 | let s:IA1 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 57 | let s:IA2 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 58 | let s:IA3 = [ s:gui09, s:gui02, s:cterm09, s:cterm02 ] 59 | let g:airline#themes#nord_minimal#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) 60 | 61 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/ravenpower.vim: -------------------------------------------------------------------------------- 1 | " Pretty much powerlineish clone, and some 2 | " of the hex colours was borrowed from raven 3 | 4 | " Normal mode " fg & bg 5 | let s:N1 = [ '#005f00' , '#1d1f21' , 7 , 8 ] " darkestgreen & brightgreen 6 | let s:N2 = [ '#9e9e9e' , '#303030' , 247 , 236 ] " gray8 & gray2 7 | let s:N3 = [ '#c8c8c8' , '#2e2e2e' , 188 , 235 ] " white & gray4 8 | 9 | " Insert mode " fg & bg 10 | "let s:I1 = [ '#005f5f' , '#ffffff' , 23 , 231 ] " darkestcyan & white 11 | "let s:I2 = [ '#5fafd7' , '#0087af' , 74 , 31 ] " darkcyan & darkblue 12 | let s:I1 = [ '#87d7ff' , '#1d1f21' , 7 , 24 ] " mediumcyan & darkestblue 13 | 14 | " Visual mode " fg & bg 15 | let s:V1 = [ '#080808' , '#ffaf00' , 232 , 214 ] " gray3 & brightestorange 16 | 17 | " Replace mode " fg & bg 18 | let s:RE = [ '#ffffff' , '#d70000' , 231 , 160 ] " white & brightred 19 | 20 | let g:airline#themes#ravenpower#palette = {} 21 | 22 | let g:airline#themes#ravenpower#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 23 | 24 | let g:airline#themes#ravenpower#palette.insert = airline#themes#generate_color_map(s:I1, s:N2, s:N3) 25 | let g:airline#themes#ravenpower#palette.insert_replace = { 26 | \ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] } 27 | 28 | let g:airline#themes#ravenpower#palette.visual = { 29 | \ 'airline_a': [ s:V1[0] , s:V1[1] , s:V1[2] , s:V1[3] , '' ] } 30 | 31 | let g:airline#themes#ravenpower#palette.replace = copy(airline#themes#ravenpower#palette.normal) 32 | let g:airline#themes#ravenpower#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ] 33 | 34 | 35 | let s:IA = [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , '' ] 36 | let g:airline#themes#ravenpower#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/serene.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#serene#palette = {} 2 | 3 | let s:guibg = '#080808' 4 | let s:termbg = 232 5 | let s:termsep = 236 6 | let s:guisep = '#303030' 7 | 8 | let s:N1 = [ '#00dfff' , s:guibg , 45 , s:termbg ] 9 | let s:N2 = [ '#ff5f00' , s:guibg , 202 , s:termbg ] 10 | let s:N3 = [ '#767676' , s:guibg , 7 , s:termbg ] 11 | 12 | let g:airline#themes#serene#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 13 | let g:airline#themes#serene#palette.normal_modified = { 14 | \ 'airline_c': [ '#df0000' , s:guibg, 160 , s:termbg , '' ] , 15 | \ } 16 | 17 | let s:I1 = [ '#5fff00' , s:guibg , 82 , s:termbg ] 18 | let s:I2 = [ '#ff5f00' , s:guibg , 202 , s:termbg ] 19 | let s:I3 = [ '#767676' , s:guibg , 7 , s:termbg ] 20 | let g:airline#themes#serene#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 21 | let g:airline#themes#serene#palette.insert_modified = copy(g:airline#themes#serene#palette.normal_modified) 22 | let g:airline#themes#serene#palette.insert_paste = { 23 | \ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] , 24 | \ } 25 | 26 | let g:airline#themes#serene#palette.replace = { 27 | \ 'airline_a': [ s:I1[0] , '#af0000' , s:I1[2] , 124 , '' ] , 28 | \ } 29 | let g:airline#themes#serene#palette.replace_modified = copy(g:airline#themes#serene#palette.normal_modified) 30 | 31 | let s:V1 = [ '#dfdf00' , s:guibg , 184 , s:termbg ] 32 | let s:V2 = [ '#ff5f00' , s:guibg , 202 , s:termbg ] 33 | let s:V3 = [ '#767676' , s:guibg , 7 , s:termbg ] 34 | let g:airline#themes#serene#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 35 | let g:airline#themes#serene#palette.visual_modified = copy(g:airline#themes#serene#palette.normal_modified) 36 | 37 | let s:IA = [ '#4e4e4e' , s:guibg , 239 , s:termbg , '' ] 38 | let s:IA2 = [ '#4e4e4e' , s:guisep , 239 , s:termsep , '' ] 39 | let g:airline#themes#serene#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA2, s:IA2) 40 | let g:airline#themes#serene#palette.inactive_modified = copy(g:airline#themes#serene#palette.normal_modified) 41 | 42 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/simple.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#simple#palette = {} 2 | 3 | let s:guibg = '#080808' 4 | let s:guibg2 = '#1c1c1c' 5 | let s:termbg = 232 6 | let s:termbg2= 234 7 | 8 | let s:N1 = [ s:guibg , '#00dfff' , s:termbg , 45 ] 9 | let s:N2 = [ '#ff5f00' , s:guibg2, 202 , s:termbg2 ] 10 | let s:N3 = [ '#767676' , s:guibg, 243 , s:termbg] 11 | let g:airline#themes#simple#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 12 | let g:airline#themes#simple#palette.normal_modified = { 13 | \ 'airline_c': [ '#df0000' , s:guibg, 160 , s:termbg , '' ] , 14 | \ } 15 | 16 | 17 | let s:I1 = [ s:guibg, '#5fff00' , s:termbg , 82 ] 18 | let s:I2 = [ '#ff5f00' , s:guibg2, 202 , s:termbg2 ] 19 | let s:I3 = [ '#767676' , s:guibg, 243 , s:termbg ] 20 | let g:airline#themes#simple#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 21 | let g:airline#themes#simple#palette.insert_modified = copy(g:airline#themes#simple#palette.normal_modified) 22 | let g:airline#themes#simple#palette.insert_paste = { 23 | \ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] , 24 | \ } 25 | 26 | 27 | let g:airline#themes#simple#palette.replace = { 28 | \ 'airline_a': [ s:I1[0] , '#af0000' , s:I1[2] , 124 , '' ] , 29 | \ } 30 | let g:airline#themes#simple#palette.replace_modified = copy(g:airline#themes#simple#palette.normal_modified) 31 | 32 | 33 | let s:V1 = [ s:guibg, '#dfdf00' , s:termbg , 184 ] 34 | let s:V2 = [ '#ff5f00' , s:guibg2, 202 , s:termbg2 ] 35 | let s:V3 = [ '#767676' , s:guibg, 243 , s:termbg ] 36 | let g:airline#themes#simple#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 37 | let g:airline#themes#simple#palette.visual_modified = copy(g:airline#themes#simple#palette.normal_modified) 38 | 39 | 40 | let s:IA = [ '#4e4e4e' , s:guibg , 239 , s:termbg , '' ] 41 | let s:IA2 = [ '#4e4e4e' , s:guibg2 , 239 , s:termbg2 , '' ] 42 | let g:airline#themes#simple#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA2, s:IA2) 43 | let g:airline#themes#simple#palette.inactive_modified = { 44 | \ 'airline_c': [ '#df0000', '', 160, '', '' ] , 45 | \ } 46 | 47 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/soda.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#soda#palette = {} 2 | 3 | let g:airline#themes#soda#palette.normal = airline#themes#generate_color_map( 4 | \['#ffffff', '#875faf', 255, 97], 5 | \['#ffffff', '#875f87', 255, 91], 6 | \['#ffffff', '#5f0087', 255, 54]) 7 | 8 | let g:airline#themes#soda#palette.insert = airline#themes#generate_color_map( 9 | \['#ffffff', '#005f00', 255, 22], 10 | \['#ffffff', '#008700', 255, 28], 11 | \['#ffffff', '#00af00', 255, 34]) 12 | 13 | let g:airline#themes#soda#palette.replace = {'airline_a': ['#767676', '#ffff5f', 243, 227]} 14 | 15 | let g:airline#themes#soda#palette.visual = airline#themes#generate_color_map( 16 | \['#767676', '#ffff5f', 243, 227], 17 | \['#767676', '#ffd75f', 243, 221], 18 | \['#767676', '#ffaf5f', 243, 215]) 19 | 20 | let g:airline#themes#soda#palette.inactive = airline#themes#generate_color_map( 21 | \['#767676', '#ffffff', 243, 255], 22 | \['#767676', '#ffffff', 243, 255], 23 | \['#767676', '#ffffff', 243, 255]) 24 | 25 | let g:airline#themes#soda#palette.inactive_modified = {'airline_c': ['#ffffff', '#df0000', 255, 160]} 26 | 27 | let g:airline#themes#soda#palette.tabline = { 28 | \'airline_tab': ['#ffffff', '#5f0087', 255, 54], 29 | \'airline_tabsel': ['#ffffff', '#875faf', 255, 97], 30 | \'airline_tabtype': ['#ffffff', '#00af00', 255, 34], 31 | \'airline_tabfill': ['#767676', '#ffffff', 243, 255], 32 | \'airline_tabmod': ['#ffffff', '#767676', 255, 243]} 33 | 34 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/tomorrow.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#tomorrow#palette = {} 2 | 3 | function! airline#themes#tomorrow#refresh() 4 | let g:airline#themes#tomorrow#palette.accents = { 5 | \ 'red': airline#themes#get_highlight('Constant'), 6 | \ } 7 | 8 | let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Directory', 'fg'], 'bold') 9 | let s:N2 = airline#themes#get_highlight('Pmenu') 10 | let s:N3 = airline#themes#get_highlight('CursorLine') 11 | let g:airline#themes#tomorrow#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 12 | 13 | let group = airline#themes#get_highlight('vimCommand') 14 | let g:airline#themes#tomorrow#palette.normal_modified = { 15 | \ 'airline_c': [ group[0], '', group[2], '', '' ] 16 | \ } 17 | 18 | let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['MoreMsg', 'fg'], 'bold') 19 | let s:I2 = airline#themes#get_highlight2(['MoreMsg', 'fg'], ['Normal', 'bg']) 20 | let s:I3 = s:N3 21 | let g:airline#themes#tomorrow#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 22 | let g:airline#themes#tomorrow#palette.insert_modified = g:airline#themes#tomorrow#palette.normal_modified 23 | 24 | let s:R1 = airline#themes#get_highlight('Error', 'bold') 25 | let s:R2 = s:N2 26 | let s:R3 = s:N3 27 | let g:airline#themes#tomorrow#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) 28 | let g:airline#themes#tomorrow#palette.replace_modified = g:airline#themes#tomorrow#palette.normal_modified 29 | 30 | let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Constant', 'fg'], 'bold') 31 | let s:V2 = airline#themes#get_highlight2(['Constant', 'fg'], ['Normal', 'bg']) 32 | let s:V3 = s:N3 33 | let g:airline#themes#tomorrow#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 34 | let g:airline#themes#tomorrow#palette.visual_modified = g:airline#themes#tomorrow#palette.normal_modified 35 | 36 | let s:IA = airline#themes#get_highlight2(['NonText', 'fg'], ['CursorLine', 'bg']) 37 | let g:airline#themes#tomorrow#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 38 | let g:airline#themes#tomorrow#palette.inactive_modified = { 39 | \ 'airline_c': [ group[0], '', group[2], '', '' ] 40 | \ } 41 | endfunction 42 | 43 | call airline#themes#tomorrow#refresh() 44 | 45 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/violet.vim: -------------------------------------------------------------------------------- 1 | " Normal mode " guifg guibg ctermfg ctermbg 2 | let s:N1 = [ '#bcbcbc' , '#875faf' , 250 , 97 ] 3 | let s:N2 = [ '#d75fd7' , '#4e4e4e' , 170 , 239 ] 4 | let s:N3 = [ '#c6c6c6' , '#3a3a3a' , 251 , 237 ] 5 | 6 | " Insert mode 7 | let s:I1 = [ '#CACFD2' , '#009966' , 253 , 35 ] 8 | let s:I2 = [ '#d75fd7' , '#4e4e4e' , 170 , 239 ] 9 | let s:I3 = [ '#c6c6c6' , '#3a3a3a' , 251 , 237 ] 10 | 11 | " Visual mode 12 | let s:V1 = [ '#5f0000' , '#ff5faf' , 52 , 205 ] 13 | 14 | " Replace mode 15 | let s:RE = [ '#c6c6c6' , '#ce537a' , 251, 168 ] 16 | 17 | let g:airline#themes#violet#palette = {} 18 | 19 | let g:airline#themes#violet#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 20 | 21 | let g:airline#themes#violet#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 22 | let g:airline#themes#violet#palette.insert_replace = { 23 | \ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] } 24 | 25 | let g:airline#themes#violet#palette.visual = { 26 | \ 'airline_a': [ s:V1[0] , s:V1[1] , s:V1[2] , s:V1[3] , '' ] } 27 | 28 | let g:airline#themes#violet#palette.replace = copy(g:airline#themes#violet#palette.normal) 29 | let g:airline#themes#violet#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ] 30 | 31 | let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ] 32 | let g:airline#themes#violet#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 33 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/xtermlight.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#xtermlight#palette = {} 2 | 3 | let s:N1 = [ '#eeeeee' , '#005fff' , 255 , 27 ] 4 | let s:N2 = [ '#000087' , '#00d7ff' , 18 , 45 ] 5 | let s:N3 = [ '#005fff' , '#afffff' , 27 , 159 ] 6 | let g:airline#themes#xtermlight#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 7 | let g:airline#themes#xtermlight#palette.normal_modified = { 8 | \ 'airline_c': [ '#d70000' , '#ffdfdf' , 160 , 224 , '' ] , 9 | \ } 10 | 11 | 12 | let s:I1 = [ '#eeeeee' , '#00875f' , 255 , 29 ] 13 | let s:I2 = [ '#005f00' , '#00d787' , 22 , 42 ] 14 | let s:I3 = [ '#005f5f' , '#afff87' , 23 , 156 ] 15 | let g:airline#themes#xtermlight#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 16 | let g:airline#themes#xtermlight#palette.insert_modified = { 17 | \ 'airline_c': [ '#d70000' , '#ffdfdf' , 160 , 224 , '' ] , 18 | \ } 19 | let g:airline#themes#xtermlight#palette.insert_paste = { 20 | \ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] , 21 | \ } 22 | 23 | 24 | let g:airline#themes#xtermlight#palette.replace = copy(g:airline#themes#xtermlight#palette.insert) 25 | let g:airline#themes#xtermlight#palette.replace.airline_a = [ s:I2[0] , '#ff0000' , s:I1[2] , 196 , '' ] 26 | let g:airline#themes#xtermlight#palette.replace_modified = g:airline#themes#xtermlight#palette.insert_modified 27 | 28 | 29 | let s:V1 = [ '#eeeeee' , '#ff5f00' , 255 , 202 ] 30 | let s:V2 = [ '#5f0000' , '#ffaf00' , 52 , 214 ] 31 | let s:V3 = [ '#d75f00' , '#ffff87' , 166 , 228 ] 32 | let g:airline#themes#xtermlight#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 33 | let g:airline#themes#xtermlight#palette.visual_modified = { 34 | \ 'airline_c': [ '#d70000' , '#ffdfdf' , 160 , 224 , '' ] , 35 | \ } 36 | 37 | 38 | let s:IA1 = [ '#6c6c6c' , '#b2b2b2' , 242 , 249 , '' ] 39 | let s:IA2 = [ '#8a8a8a' , '#d0d0d0' , 245 , 252 , '' ] 40 | let s:IA3 = [ '#a8a8a8' , '#eeeeee' , 248 , 255 , '' ] 41 | let g:airline#themes#xtermlight#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) 42 | let g:airline#themes#xtermlight#palette.inactive_modified = { 43 | \ 'airline_c': [ '#d70000' , '' , 160 , '' , '' ] , 44 | \ } 45 | 46 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/autoload/airline/themes/zenburn.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#zenburn#palette = {} 2 | 3 | function! airline#themes#zenburn#refresh() 4 | let g:airline#themes#zenburn#palette.accents = { 5 | \ 'red': airline#themes#get_highlight('Constant'), 6 | \ } 7 | 8 | let s:N1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['Folded', 'fg'], 'bold') 9 | let s:N2 = airline#themes#get_highlight('Folded') 10 | let s:N3 = airline#themes#get_highlight('NonText') 11 | let s:Nmod = airline#themes#get_highlight('Comment') 12 | 13 | let g:airline#themes#zenburn#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 14 | let g:airline#themes#zenburn#palette.normal.airline_c = s:Nmod 15 | let g:airline#themes#zenburn#palette.normal_modified = { 16 | \ 'airline_c': s:Nmod 17 | \ } 18 | 19 | let s:I1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['String', 'fg'], 'bold') 20 | let s:I2 = airline#themes#get_highlight2(['String', 'fg'], ['Folded', 'bg']) 21 | let s:I3 = s:N3 22 | let g:airline#themes#zenburn#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 23 | let g:airline#themes#zenburn#palette.insert.airline_c = s:Nmod 24 | let g:airline#themes#zenburn#palette.insert_modified = g:airline#themes#zenburn#palette.normal_modified 25 | 26 | let s:R1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['Comment', 'fg'], 'bold') 27 | let s:R2 = airline#themes#get_highlight2(['Comment', 'fg'], ['Folded', 'bg']) 28 | let s:R3 = s:N3 29 | let g:airline#themes#zenburn#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) 30 | let g:airline#themes#zenburn#palette.replace_modified = g:airline#themes#zenburn#palette.normal_modified 31 | 32 | let s:V1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['Identifier', 'fg'], 'bold') 33 | let s:V2 = airline#themes#get_highlight2(['Identifier', 'fg'], ['Folded', 'bg']) 34 | let s:V3 = s:N3 35 | let g:airline#themes#zenburn#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 36 | let g:airline#themes#zenburn#palette.visual_modified = g:airline#themes#zenburn#palette.normal_modified 37 | 38 | let s:IA = airline#themes#get_highlight('NonText') 39 | let g:airline#themes#zenburn#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 40 | let g:airline#themes#zenburn#palette.inactive_modified = { 41 | \ 'airline_c': s:Nmod 42 | \ } 43 | endfunction 44 | 45 | call airline#themes#zenburn#refresh() 46 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/doc/tags: -------------------------------------------------------------------------------- 1 | airline#themes#base16#constant airline-themes.txt /*airline#themes#base16#constant* 2 | airline-theme-base16 airline-themes.txt /*airline-theme-base16* 3 | airline-theme-base16_shell airline-themes.txt /*airline-theme-base16_shell* 4 | airline-theme-base16_vim airline-themes.txt /*airline-theme-base16_vim* 5 | airline-theme-contents airline-themes.txt /*airline-theme-contents* 6 | airline-theme-dark_minimal airline-themes.txt /*airline-theme-dark_minimal* 7 | airline-theme-deus airline-themes.txt /*airline-theme-deus* 8 | airline-theme-minimalist airline-themes.txt /*airline-theme-minimalist* 9 | airline-theme-molokai airline-themes.txt /*airline-theme-molokai* 10 | airline-theme-onedark airline-themes.txt /*airline-theme-onedark* 11 | airline-theme-solarized airline-themes.txt /*airline-theme-solarized* 12 | airline-theme-zenburn airline-themes.txt /*airline-theme-zenburn* 13 | airline-themes-base16-generation airline-themes.txt /*airline-themes-base16-generation* 14 | airline-themes-configuration airline-themes.txt /*airline-themes-configuration* 15 | airline-themes-contributions airline-themes.txt /*airline-themes-contributions* 16 | airline-themes-intro airline-themes.txt /*airline-themes-intro* 17 | airline-themes-license airline-themes.txt /*airline-themes-license* 18 | airline-themes-list airline-themes.txt /*airline-themes-list* 19 | airline-themes.txt airline-themes.txt /*airline-themes.txt* 20 | airline_solarized_dark_inactive_background airline-themes.txt /*airline_solarized_dark_inactive_background* 21 | g:airline_base16_improved_contrast airline-themes.txt /*g:airline_base16_improved_contrast* 22 | g:airline_base16_monotone airline-themes.txt /*g:airline_base16_monotone* 23 | g:airline_base16_solarized airline-themes.txt /*g:airline_base16_solarized* 24 | g:airline_minimalist_showmod airline-themes.txt /*g:airline_minimalist_showmod* 25 | g:airline_solarized_dark_inactive_border airline-themes.txt /*g:airline_solarized_dark_inactive_border* 26 | g:airline_solarized_dark_text airline-themes.txt /*g:airline_solarized_dark_text* 27 | g:airline_solarized_enable_command_color airline-themes.txt /*g:airline_solarized_enable_command_color* 28 | g:airline_solarized_normal_green airline-themes.txt /*g:airline_solarized_normal_green* 29 | g:airline_theme airline-themes.txt /*g:airline_theme* 30 | g:deus_termcolors airline-themes.txt /*g:deus_termcolors* 31 | g:onedark_termcolors airline-themes.txt /*g:onedark_termcolors* 32 | g:solarized_base16 airline-themes.txt /*g:solarized_base16* 33 | g:zenburn_high_Contrast airline-themes.txt /*g:zenburn_high_Contrast* 34 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/plugin/airline-themes.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling & Contributors. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | let s:save_cpo = &cpo 5 | set cpo&vim 6 | 7 | scriptencoding utf-8 8 | 9 | if &cp || v:version < 702 || (exists('g:loaded_airline_themes') && g:loaded_airline_themes) 10 | finish 11 | endif 12 | let g:loaded_airline_themes = 1 13 | 14 | let &cpo = s:save_cpo 15 | unlet s:save_cpo 16 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline-themes/test/airline-themes.vader: -------------------------------------------------------------------------------- 1 | # Make sure that theme and 5 basic modes don't throw an error 2 | # Get list of all included themes 3 | Execute (validate themes): 4 | let themes = readfile('themes.txt') 5 | call sort(themes) 6 | 7 | let err_proc = v:false 8 | try 9 | 10 | for themePath in themes 11 | 12 | " Check all the basic modes and their modified counterparts 13 | " This test only fails on exceptional cases 14 | let theme = fnamemodify(themePath, ':t:r') 15 | Log theme 16 | execute('AirlineTheme ' . theme) 17 | execute('source ' . themePath) 18 | normal! i 19 | normal! : 20 | normal! R 21 | normal! v 22 | setlocal mod 23 | normal! i 24 | normal! : 25 | normal! R 26 | normal! v 27 | setlocal nomod 28 | 29 | endfor 30 | 31 | catch 32 | let err_proc = v:true 33 | Log "Failed validation testing with exception:" 34 | Log string(v:exception) 35 | endtry 36 | AirlineRefresh 37 | 38 | Assert !err_proc 39 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributions 2 | 3 | Contributions and pull requests are welcome. Please take note of the following guidelines: 4 | 5 | * Adhere to the existing style as much as possible; notably, 2 space indents and long-form keywords. 6 | * Keep the history clean! Squash your branches before you submit a pull request. `pull --rebase` is your friend. 7 | * Any changes to the core should be tested against Vim 7.4. 8 | 9 | # Bugs 10 | 11 | Tracking down bugs can take a very long time due to different configurations, versions, and operating systems. To ensure a timely response, please help me out by doing the following: 12 | 13 | * the `:version` of vim 14 | * the commit of vim-airline you're using 15 | * the OS that you're using, including terminal emulator, GUI vs non-GUI 16 | 17 | # Themes 18 | 19 | * If you submit a theme, please create a screenshot so it can be added to the [Wiki][14]. 20 | * In the majority of cases, modifications to colors of existing themes will likely be rejected. Themes are a subjective thing, so while you may prefer that a particular color be darker, another user will prefer it to be lighter, or something entirely different. The more popular the theme, the more unlikely the change will be accepted. However, it's pretty simple to create your own theme; copy the theme to `~/.vim/autoload/airline/themes` under a new name with your modifications, and it can be used. 21 | 22 | # Maintenance 23 | 24 | If you would like to take a more active role in improving vim-airline, please consider [becoming a maintainer][43]. 25 | 26 | 27 | [14]: https://github.com/vim-airline/vim-airline/wiki/Screenshots 28 | [43]: https://github.com/vim-airline/vim-airline/wiki/Becoming-a-Maintainer 29 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'vim-flavor', '~> 2.2.2' 3 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (C) 2013-2021 Bailey Ling, Christian Brabandt, et al. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the "Software"), 7 | to deal in the Software without restriction, including without limitation 8 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 | and/or sell copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included 13 | in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 19 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 21 | OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | 3 | task :default => [:test] 4 | 5 | task :ci => [:dump, :test] 6 | 7 | task :dump do 8 | sh 'vim --version' 9 | end 10 | 11 | task :test do 12 | sh 'bundle exec vim-flavor test' 13 | end 14 | 15 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/debug.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#debug#profile1() 7 | profile start airline-profile-switch.log 8 | profile func * 9 | profile file * 10 | split 11 | for i in range(1, 1000) 12 | wincmd w 13 | redrawstatus 14 | endfor 15 | profile pause 16 | noautocmd qall! 17 | endfunction 18 | 19 | function! airline#debug#profile2() 20 | profile start airline-profile-cursor.log 21 | profile func * 22 | profile file * 23 | edit blank 24 | call setline(1, 'all your base are belong to us') 25 | call setline(2, 'all your base are belong to us') 26 | let positions = [[1,2], [2,2], [1,2], [1,1]] 27 | for i in range(1, 1000) 28 | for pos in positions 29 | call cursor(pos[0], pos[1]) 30 | redrawstatus 31 | endfor 32 | endfor 33 | profile pause 34 | noautocmd qall! 35 | endfunction 36 | 37 | function! airline#debug#profile3() 38 | profile start airline-profile-mode.log 39 | profile func * 40 | profile file * 41 | 42 | for i in range(1000) 43 | startinsert 44 | redrawstatus 45 | stopinsert 46 | redrawstatus 47 | endfor 48 | 49 | profile pause 50 | noautocmd qall! 51 | endfunction 52 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/battery.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2014-2021 Mathias Andersson et al. 2 | " Plugin: https://github.com/lambdalisue/battery.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists('g:loaded_battery') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#battery#status(...) abort 12 | if !exists('g:battery#update_statusline') 13 | let g:battery#update_statusline = 1 14 | call battery#update() 15 | endif 16 | 17 | let bat = battery#component() 18 | return bat 19 | endfunction 20 | 21 | function! airline#extensions#battery#init(ext) abort 22 | call airline#parts#define_function('battery', 'airline#extensions#battery#status') 23 | endfunction 24 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/bookmark.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2021 Bjoern Petri 2 | " Plugin: https://github.com/MattesGroeger/vim-bookmarks 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':BookmarkToggle') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#bookmark#currentbookmark() abort 12 | if get(w:, 'airline_active', 0) 13 | let file = expand('%:p') 14 | if file ==# '' 15 | return 16 | endif 17 | 18 | let current_line = line('.') 19 | let has_bm = bm#has_bookmark_at_line(file, current_line) 20 | let bm = has_bm ? bm#get_bookmark_by_line(file, current_line) : 0 21 | let annotation = has_bm ? bm['annotation'] : '' 22 | 23 | return annotation 24 | endif 25 | return '' 26 | endfunction 27 | 28 | function! airline#extensions#bookmark#init(ext) abort 29 | call airline#parts#define_function('bookmark', 'airline#extensions#bookmark#currentbookmark') 30 | endfunction 31 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/bufferline.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/bling/vim-bufferline 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists('*bufferline#get_status_string') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#bufferline#init(ext) 12 | if get(g:, 'airline#extensions#bufferline#overwrite_variables', 1) 13 | highlight bufferline_selected gui=bold cterm=bold term=bold 14 | highlight link bufferline_selected_inactive airline_c_inactive 15 | let g:bufferline_inactive_highlight = 'airline_c' 16 | let g:bufferline_active_highlight = 'bufferline_selected' 17 | let g:bufferline_active_buffer_left = '' 18 | let g:bufferline_active_buffer_right = '' 19 | let g:bufferline_separator = g:airline_symbols.space 20 | endif 21 | 22 | if exists("+autochdir") && &autochdir == 1 23 | " if 'acd' is set, vim-airline uses the path section, so we need ot redefine this here as well 24 | call airline#parts#define_raw('path', '%{bufferline#refresh_status()}'.bufferline#get_status_string()) 25 | else 26 | call airline#parts#define_raw('file', '%{bufferline#refresh_status()}'.bufferline#get_status_string()) 27 | endif 28 | endfunction 29 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/capslock.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2014-2021 Mathias Andersson et al. 2 | " Plugin: https://github.com/tpope/vim-capslock 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists('*CapsLockStatusline') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#capslock#status() 12 | return tolower(CapsLockStatusline()) ==# '[caps]' ? get(g:, 'airline#extensions#capslock#symbol', 'CAPS') : '' 13 | endfunction 14 | 15 | function! airline#extensions#capslock#init(ext) 16 | call airline#parts#define_function('capslock', 'airline#extensions#capslock#status') 17 | endfunction 18 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/coc.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2019-2021 Peng Guanwen et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | " Plugin: https://github.com/neoclide/coc 4 | 5 | scriptencoding utf-8 6 | 7 | let s:error_symbol = get(g:, 'airline#extensions#coc#error_symbol', 'E:') 8 | let s:warning_symbol = get(g:, 'airline#extensions#coc#warning_symbol', 'W:') 9 | let s:show_coc_status = get(g:, 'airline#extensions#coc#show_coc_status', 1) 10 | 11 | function! airline#extensions#coc#get_warning() abort 12 | return airline#extensions#coc#get('warning') 13 | endfunction 14 | 15 | function! airline#extensions#coc#get_error() abort 16 | return airline#extensions#coc#get('error') 17 | endfunction 18 | 19 | function! airline#extensions#coc#get(type) abort 20 | if !exists(':CocCommand') 21 | return '' 22 | endif 23 | let _backup = get(g:, 'coc_stl_format', '') 24 | let is_err = (a:type is# 'error') 25 | let info = get(b:, 'coc_diagnostic_info', {}) 26 | if empty(info) | return '' | endif 27 | 28 | 29 | let cnt = get(info, a:type, 0) 30 | 31 | if empty(cnt) 32 | return '' 33 | else 34 | let lnum = printf('(L%d)', (info.lnums)[is_err ? 0 : 1]) 35 | return (is_err ? s:error_symbol : s:warning_symbol).cnt.lnum 36 | endif 37 | endfunction 38 | 39 | function! airline#extensions#coc#get_status() abort 40 | " Shorten text for windows < 91 characters 41 | let status = airline#util#shorten(get(g:, 'coc_status', ''), 91, 9) 42 | return (s:show_coc_status ? status : '') 43 | endfunction 44 | 45 | function! airline#extensions#coc#get_current_function() abort 46 | return get(b:, 'coc_current_function', '') 47 | endfunction 48 | 49 | function! airline#extensions#coc#init(ext) abort 50 | call airline#parts#define_function('coc_error_count', 'airline#extensions#coc#get_error') 51 | call airline#parts#define_function('coc_warning_count', 'airline#extensions#coc#get_warning') 52 | call airline#parts#define_function('coc_status', 'airline#extensions#coc#get_status') 53 | call airline#parts#define_function('coc_current_function', 'airline#extensions#coc#get_current_function') 54 | endfunction 55 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/commandt.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/wincent/command-t 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'command_t_loaded', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#commandt#apply(...) 12 | if bufname('%') ==# 'GoToFile' 13 | call airline#extensions#apply_left_override('CommandT', '') 14 | endif 15 | endfunction 16 | 17 | function! airline#extensions#commandt#init(ext) 18 | call a:ext.add_statusline_func('airline#extensions#commandt#apply') 19 | endfunction 20 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/csv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling, Christian Brabandt et al. 2 | " Plugin: https://github.com/chrisbra/csv.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_csv', 0) && !exists(':Table') 8 | finish 9 | endif 10 | 11 | let s:column_display = get(g:, 'airline#extensions#csv#column_display', 'Number') 12 | 13 | function! airline#extensions#csv#get_column() 14 | if exists('*CSV_WCol') 15 | if s:column_display ==# 'Name' 16 | return '['.CSV_WCol('Name').CSV_WCol().']' 17 | else 18 | return '['.CSV_WCol().']' 19 | endif 20 | endif 21 | return '' 22 | endfunction 23 | 24 | function! airline#extensions#csv#apply(...) 25 | if &ft ==# "csv" 26 | call airline#extensions#prepend_to_section('gutter', 27 | \ g:airline_left_alt_sep.' %{airline#extensions#csv#get_column()}') 28 | endif 29 | endfunction 30 | 31 | function! airline#extensions#csv#init(ext) 32 | call a:ext.add_statusline_func('airline#extensions#csv#apply') 33 | endfunction 34 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/ctrlspace.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/szw/vim-ctrlspace 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | function! airline#extensions#ctrlspace#statusline(...) abort 8 | let spc = g:airline_symbols.space 9 | let l:padding = spc . spc . spc 10 | let cs = ctrlspace#context#Configuration().Symbols.CS 11 | 12 | let b = airline#builder#new({ 'active': 1 }) 13 | call b.add_section('airline_b', cs . l:padding . ctrlspace#api#StatuslineModeSegment(l:padding)) 14 | call b.split() 15 | call b.add_section('airline_x', spc . ctrlspace#api#StatuslineTabSegment() . spc) 16 | return b.build() 17 | endfunction 18 | 19 | function! airline#extensions#ctrlspace#init(ext) abort 20 | let g:CtrlSpaceStatuslineFunction = "airline#extensions#ctrlspace#statusline()" 21 | endfunction 22 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/denite.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2017-2021 Thomas Dy et al. 2 | " Plugin: https://github.com/Shougo/denite.nvim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_denite', 0) 8 | finish 9 | endif 10 | 11 | let s:denite_ver = (exists('*denite#get_status_mode') ? 2 : 3) 12 | " Denite does not use vim's built-in modal editing but has a custom prompt 13 | " that implements its own insert/normal mode so we have to handle changing the 14 | " highlight 15 | function! airline#extensions#denite#check_denite_mode(bufnr) abort 16 | if &filetype !=# 'denite' && &filetype !=# 'denite-filter' 17 | return '' 18 | endif 19 | 20 | if s:denite_ver == 3 21 | let mode = split(denite#get_status("mode"), ' ') 22 | else 23 | let mode = split(denite#get_status_mode(), ' ') 24 | endif 25 | let mode = tolower(get(mode, 1, '')) 26 | if !exists('b:denite_mode_cache') || mode != b:denite_mode_cache 27 | call airline#highlighter#highlight([mode], a:bufnr) 28 | let b:denite_mode_cache = mode 29 | endif 30 | return '' 31 | endfunction 32 | 33 | function! airline#extensions#denite#apply(...) abort 34 | if &filetype ==# 'denite' || &filetype ==# 'denite-filter' 35 | let w:airline_skip_empty_sections = 0 36 | call a:1.add_section('airline_a', ' Denite %{airline#extensions#denite#check_denite_mode('.a:2['bufnr'].')}') 37 | if s:denite_ver == 3 38 | call a:1.add_section('airline_c', ' %{denite#get_status("sources")}') 39 | call a:1.split() 40 | call a:1.add_section('airline_y', ' %{denite#get_status("path")} ') 41 | call a:1.add_section('airline_z', ' %{denite#get_status("linenr")} ') 42 | else 43 | call a:1.add_section('airline_c', ' %{denite#get_status_sources()}') 44 | call a:1.split() 45 | call a:1.add_section('airline_y', ' %{denite#get_status_path()} ') 46 | call a:1.add_section('airline_z', ' %{denite#get_status_linenr()} ') 47 | endif 48 | return 1 49 | endif 50 | endfunction 51 | 52 | function! airline#extensions#denite#init(ext) abort 53 | call denite#custom#option('_', 'statusline', 0) 54 | call a:ext.add_statusline_func('airline#extensions#denite#apply') 55 | endfunction 56 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/dirvish.vim: -------------------------------------------------------------------------------- 1 | " MIT Licsense 2 | " Plugin: https://github.com/justinmk/vim-dirvish 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_dirvish', 0) 8 | finish 9 | endif 10 | 11 | let s:spc = g:airline_symbols.space 12 | 13 | function! airline#extensions#dirvish#init(ext) abort 14 | call a:ext.add_statusline_func('airline#extensions#dirvish#apply') 15 | endfunction 16 | 17 | function! airline#extensions#dirvish#apply(...) abort 18 | if &filetype ==# 'dirvish' && exists('b:dirvish') 19 | let w:airline_section_a = 'Dirvish' 20 | 21 | let w:airline_section_b = exists('*airline#extensions#branch#get_head') 22 | \ ? '%{airline#extensions#branch#get_head()}' 23 | \ : '' 24 | 25 | let w:airline_section_c = '%{b:dirvish._dir}' 26 | 27 | let w:airline_section_x = '' 28 | let w:airline_section_y = '' 29 | 30 | let current_column_regex = ':%\dv' 31 | let w:airline_section_z = join(filter( 32 | \ split(get(w:, 'airline_section_z', g:airline_section_z)), 33 | \ 'v:val !~ current_column_regex' 34 | \ )) 35 | endif 36 | endfunction 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/eclim.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " PLugin: https://eclim.org 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':ProjectCreate') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#eclim#creat_line(...) 12 | if &filetype == "tree" 13 | let builder = a:1 14 | call builder.add_section('airline_a', ' Project ') 15 | call builder.add_section('airline_b', ' %f ') 16 | call builder.add_section('airline_c', '') 17 | return 1 18 | endif 19 | endfunction 20 | 21 | function! airline#extensions#eclim#get_warnings() 22 | " Cache vavlues, so that it isn't called too often 23 | if exists("s:eclim_errors") && 24 | \ get(b:, 'airline_changenr', 0) == changenr() 25 | return s:eclim_errors 26 | endif 27 | let eclimList = eclim#display#signs#GetExisting() 28 | let s:eclim_errors = '' 29 | 30 | if !empty(eclimList) 31 | " Remove any non-eclim signs (see eclim#display#signs#Update) 32 | " First check for just errors since they are more important. 33 | " If there are no errors, then check for warnings. 34 | let errorList = filter(copy(eclimList), 'v:val.name =~ "^\\(qf_\\)\\?\\(error\\)$"') 35 | 36 | if (empty(errorList)) 37 | " use the warnings 38 | call filter(eclimList, 'v:val.name =~ "^\\(qf_\\)\\?\\(warning\\)$"') 39 | let type = 'W' 40 | else 41 | " Use the errors 42 | let eclimList = errorList 43 | let type = 'E' 44 | endif 45 | 46 | if !empty(eclimList) 47 | let errorsLine = eclimList[0]['line'] 48 | let errorsNumber = len(eclimList) 49 | let errors = "[Eclim:" . type . " line:".string(errorsLine)." (".string(errorsNumber).")]" 50 | if !exists(':SyntasticCheck') || SyntasticStatuslineFlag() == '' 51 | let s:eclim_errors = errors.(g:airline_symbols.space) 52 | endif 53 | endif 54 | endif 55 | let b:airline_changenr = changenr() 56 | return s:eclim_errors 57 | endfunction 58 | 59 | function! airline#extensions#eclim#init(ext) 60 | call airline#parts#define_function('eclim', 'airline#extensions#eclim#get_warnings') 61 | call a:ext.add_statusline_func('airline#extensions#eclim#creat_line') 62 | endfunction 63 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/example.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | " we don't actually want this loaded :P 7 | finish 8 | 9 | " Due to some potential rendering issues, the use of the `space` variable is 10 | " recommended. 11 | let s:spc = g:airline_symbols.space 12 | 13 | " Extension specific variables can be defined the usual fashion. 14 | if !exists('g:airline#extensions#example#number_of_cats') 15 | let g:airline#extensions#example#number_of_cats = 42 16 | endif 17 | 18 | " First we define an init function that will be invoked from extensions.vim 19 | function! airline#extensions#example#init(ext) 20 | 21 | " Here we define a new part for the plugin. This allows users to place this 22 | " extension in arbitrary locations. 23 | call airline#parts#define_raw('cats', '%{airline#extensions#example#get_cats()}') 24 | 25 | " Next up we add a funcref so that we can run some code prior to the 26 | " statusline getting modifed. 27 | call a:ext.add_statusline_func('airline#extensions#example#apply') 28 | 29 | " You can also add a funcref for inactive statuslines. 30 | " call a:ext.add_inactive_statusline_func('airline#extensions#example#unapply') 31 | endfunction 32 | 33 | " This function will be invoked just prior to the statusline getting modified. 34 | function! airline#extensions#example#apply(...) 35 | " First we check for the filetype. 36 | if &filetype == "nyancat" 37 | 38 | " Let's say we want to append to section_c, first we check if there's 39 | " already a window-local override, and if not, create it off of the global 40 | " section_c. 41 | let w:airline_section_c = get(w:, 'airline_section_c', g:airline_section_c) 42 | 43 | " Then we just append this extenion to it, optionally using separators. 44 | let w:airline_section_c .= s:spc.g:airline_left_alt_sep.s:spc.'%{airline#extensions#example#get_cats()}' 45 | endif 46 | endfunction 47 | 48 | " Finally, this function will be invoked from the statusline. 49 | function! airline#extensions#example#get_cats() 50 | let cats = '' 51 | for i in range(1, g:airline#extensions#example#number_of_cats) 52 | let cats .= ' (,,,)=(^.^)=(,,,) ' 53 | endfor 54 | return cats 55 | endfunction 56 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/fern.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 2 | " Plugin: https://github.com/lambdalisue/fern.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | if !get(g:, 'fern_loaded', 0) 7 | finish 8 | endif 9 | 10 | function! airline#extensions#fern#apply(...) abort 11 | if (&ft =~# 'fern') 12 | let spc = g:airline_symbols.space 13 | let fri = fern#fri#parse(expand('%f')) 14 | 15 | call a:1.add_section('airline_a', spc.'fern'.spc) 16 | if exists('*airline#extensions#branch#get_head') 17 | call a:1.add_section('airline_b', spc.'%{airline#extensions#branch#get_head()}'.spc) 18 | else 19 | call a:1.add_section('airline_b', '') 20 | endif 21 | if !(fri.authority =~# '^drawer') 22 | let abspath = substitute(fri.path, 'file://', '', '') 23 | call a:1.add_section('airline_c', spc.fnamemodify(abspath, ':~')) 24 | call a:1.split() 25 | if len(get(g:, 'fern#comparators', {})) 26 | call a:1.add_section('airline_y', spc.'%{fern#comparator}'.spc) 27 | endif 28 | endif 29 | return 1 30 | endif 31 | endfunction 32 | 33 | function! airline#extensions#fern#init(ext) abort 34 | let g:fern_force_overwrite_statusline = 0 35 | call a:ext.add_statusline_func('airline#extensions#fern#apply') 36 | endfunction 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/fzf.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/junegunn/fzf, https://github.com/junegunn/fzf.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | function! airline#extensions#fzf#init(ext) abort 8 | " Remove the custom statusline that fzf.vim sets by removing its `FileType 9 | " fzf` autocmd. Ideally we'd use `let g:fzf_statusline = 0`, but this 10 | " variable is checked *before* airline#extensions#init() is called. 11 | augroup _fzf_statusline 12 | autocmd! 13 | augroup END 14 | 15 | call a:ext.add_statusline_func('airline#extensions#fzf#apply') 16 | call a:ext.add_inactive_statusline_func('airline#extensions#fzf#inactive_apply') 17 | endfunction 18 | 19 | function! airline#extensions#fzf#statusline(...) abort 20 | let spc = g:airline_symbols.space 21 | 22 | let builder = airline#builder#new({ 'active': 1 }) 23 | call builder.add_section('airline_a', spc.'FZF'.spc) 24 | call builder.add_section('airline_c', '') 25 | return builder.build() 26 | endfunction 27 | 28 | function! airline#extensions#fzf#apply(...) abort 29 | if &filetype ==# 'fzf' 30 | let spc = g:airline_symbols.space 31 | call a:1.add_section('airline_a', spc.'FZF'.spc) 32 | call a:1.add_section('airline_c', '') 33 | return 1 34 | endif 35 | endfunction 36 | 37 | function! airline#extensions#fzf#inactive_apply(...) abort 38 | if getbufvar(a:2.bufnr, '&filetype') ==# 'fzf' 39 | let spc = g:airline_symbols.space 40 | call a:1.add_section('airline_a', spc.'FZF'.spc) 41 | call a:1.add_section('airline_c', '') 42 | return 1 43 | endif 44 | endfunction 45 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/gen_tags.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2014-2021 Mathias Andersson et al. 2 | " Written by Kamil Cukrowski 2020 3 | " Plugin: https://github.com/jsfaint/gen_tags.vim 4 | " vim: et ts=2 sts=2 sw=2 5 | 6 | scriptencoding utf-8 7 | 8 | if !(get(g:, 'loaded_gentags#gtags', 0) || get(g:, 'loaded_gentags#ctags', 0)) 9 | finish 10 | endif 11 | 12 | function! airline#extensions#gen_tags#status(...) abort 13 | return gen_tags#job#is_running() != 0 ? 'Gen. gen_tags' : '' 14 | endfunction 15 | 16 | function! airline#extensions#gen_tags#init(ext) abort 17 | call airline#parts#define_function('gen_tags', 'airline#extensions#gen_tags#status') 18 | endfunction 19 | 20 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/gina.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 2 | " Plugin: https://github.com/lambdalisue/gina.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | if !get(g:, 'loaded_gina', 0) 7 | finish 8 | endif 9 | 10 | function! airline#extensions#gina#apply(...) abort 11 | " gina.vim seems to set b:gina_initialized = 1 in diff buffers it open, 12 | " where get(b:, 'gina_initialized', 0) returns 1. 13 | " In diff buffers not opened by gina.vim b:gina_initialized is not set, 14 | " so get(b:, 'gina_initialized', 0) returns 0. 15 | if (&ft =~# 'gina' && &ft !~# 'blame') || (&ft ==# 'diff' && get(b:, 'gina_initialized', 0)) 16 | call a:1.add_section('airline_a', ' gina ') 17 | call a:1.add_section('airline_b', ' %{gina#component#repo#branch()} ') 18 | call a:1.split() 19 | call a:1.add_section('airline_y', ' staged %{gina#component#status#staged()} ') 20 | call a:1.add_section('airline_z', ' unstaged %{gina#component#status#unstaged()} ') 21 | return 1 22 | endif 23 | endfunction 24 | 25 | function! airline#extensions#gina#init(ext) abort 26 | let g:gina_force_overwrite_statusline = 0 27 | call a:ext.add_statusline_func('airline#extensions#gina#apply') 28 | endfunction 29 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/grepper.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2014-2021 Mathias Andersson et al. 2 | " Plugin: https://github.com/mhinz/vim-grepper 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_grepper', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#grepper#status() 12 | let msg = grepper#statusline() 13 | return empty(msg) ? '' : 'grepper' 14 | endfunction 15 | 16 | function! airline#extensions#grepper#init(ext) 17 | call airline#parts#define_function('grepper', 'airline#extensions#grepper#status') 18 | endfunction 19 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/gutentags.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2014-2021 Mathias Andersson et al. 2 | " Plugin: https://github.com/ludovicchabant/vim-gutentags 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_gutentags', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#gutentags#status() 12 | let msg = gutentags#statusline() 13 | return empty(msg) ? '' : 'Gen. ' . msg 14 | endfunction 15 | 16 | function! airline#extensions#gutentags#init(ext) 17 | call airline#parts#define_function('gutentags', 'airline#extensions#gutentags#status') 18 | endfunction 19 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/keymap.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Doron Behar, C.Brabandt et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | if !has('keymap') 7 | finish 8 | endif 9 | 10 | function! airline#extensions#keymap#status() 11 | if (get(g:, 'airline#extensions#keymap#enabled', 1) && has('keymap')) 12 | let short_codes = get(g:, 'airline#extensions#keymap#short_codes', {}) 13 | let label = get(g:, 'airline#extensions#keymap#label', g:airline_symbols.keymap) 14 | let default = get(g:, 'airline#extensions#keymap#default', '') 15 | if (label !=# '') 16 | let label .= ' ' 17 | endif 18 | let keymap = &keymap 19 | if has_key(short_codes, keymap) 20 | let keymap = short_codes[keymap] 21 | endif 22 | return printf('%s', (!empty(keymap) && &iminsert ? (label . keymap) : 23 | \ (!empty(default) ? label . default : default))) 24 | else 25 | return '' 26 | endif 27 | endfunction 28 | 29 | function! airline#extensions#keymap#init(ext) 30 | call airline#parts#define_function('keymap', 'airline#extensions#keymap#status') 31 | endfunction 32 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/localsearch.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2018-2021 mox et al. 2 | " Plugin: https://github.com/mox-mox/vim-localsearch 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | let s:enabled = get(g:, 'airline#extensions#localsearch#enabled', 1) 8 | if !get(g:, 'loaded_localsearch', 0) || !s:enabled || get(g:, 'airline#extensions#localsearch#loaded', 0) 9 | finish 10 | endif 11 | let g:airline#extensions#localsearch#loaded = 001 12 | 13 | let s:spc = g:airline_symbols.space 14 | 15 | let g:airline#extensions#localsearch#inverted = get(g:, 'airline#extensions#localsearch#inverted', 0) 16 | 17 | function! airline#extensions#localsearch#load_theme(palette) abort 18 | call airline#highlighter#exec('localsearch_dark', [ '#ffffff' , '#000000' , 15 , 1 , '']) 19 | endfunction 20 | 21 | 22 | function! airline#extensions#localsearch#init(ext) abort 23 | call a:ext.add_theme_func('airline#extensions#localsearch#load_theme') 24 | call a:ext.add_statusline_func('airline#extensions#localsearch#apply') 25 | endfunction 26 | 27 | 28 | function! airline#extensions#localsearch#apply(...) abort 29 | " first variable is the statusline builder 30 | let builder = a:1 31 | 32 | """"" WARNING: the API for the builder is not finalized and may change 33 | if exists('#localsearch#WinEnter') && !g:airline#extensions#localsearch#inverted " If localsearch mode is enabled and 'invert' option is false 34 | call builder.add_section('localsearch_dark', s:spc.airline#section#create('LS').s:spc) 35 | endif 36 | if !exists('#localsearch#WinEnter') && g:airline#extensions#localsearch#inverted " If localsearch mode is disabled and 'invert' option is true 37 | call builder.add_section('localsearch_dark', s:spc.airline#section#create('GS').s:spc) 38 | endif 39 | return 0 40 | endfunction 41 | 42 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/neomake.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/neomake/neomake 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | if !exists(':Neomake') 6 | finish 7 | endif 8 | 9 | let s:error_symbol = get(g:, 'airline#extensions#neomake#error_symbol', 'E:') 10 | let s:warning_symbol = get(g:, 'airline#extensions#neomake#warning_symbol', 'W:') 11 | 12 | function! s:get_counts() 13 | let l:counts = neomake#statusline#LoclistCounts() 14 | 15 | if empty(l:counts) 16 | return neomake#statusline#QflistCounts() 17 | else 18 | return l:counts 19 | endif 20 | endfunction 21 | 22 | function! airline#extensions#neomake#get_warnings() 23 | let counts = s:get_counts() 24 | let warnings = get(counts, 'W', 0) 25 | return warnings ? s:warning_symbol.warnings : '' 26 | endfunction 27 | 28 | function! airline#extensions#neomake#get_errors() 29 | let counts = s:get_counts() 30 | let errors = get(counts, 'E', 0) 31 | return errors ? s:error_symbol.errors : '' 32 | endfunction 33 | 34 | function! airline#extensions#neomake#init(ext) 35 | call airline#parts#define_function('neomake_warning_count', 'airline#extensions#neomake#get_warnings') 36 | call airline#parts#define_function('neomake_error_count', 'airline#extensions#neomake#get_errors') 37 | endfunction 38 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/netrw.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: http://www.drchip.org/astronaut/vim/#NETRW 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':NetrwSettings') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#netrw#apply(...) 12 | if &ft == 'netrw' 13 | let spc = g:airline_symbols.space 14 | 15 | call a:1.add_section('airline_a', spc.'netrw'.spc) 16 | if exists('*airline#extensions#branch#get_head') 17 | call a:1.add_section('airline_b', spc.'%{airline#extensions#branch#get_head()}'.spc) 18 | endif 19 | call a:1.add_section('airline_c', spc.'%f'.spc) 20 | call a:1.split() 21 | call a:1.add_section('airline_y', spc.'%{airline#extensions#netrw#sortstring()}'.spc) 22 | return 1 23 | endif 24 | endfunction 25 | 26 | function! airline#extensions#netrw#init(ext) 27 | let g:netrw_force_overwrite_statusline = 0 28 | call a:ext.add_statusline_func('airline#extensions#netrw#apply') 29 | endfunction 30 | 31 | 32 | function! airline#extensions#netrw#sortstring() 33 | let order = (get(g:, 'netrw_sort_direction', 'n') =~ 'n') ? '+' : '-' 34 | return get(g:, 'netrw_sort_by', '') . (g:airline_symbols.space) . '[' . order . ']' 35 | endfunction 36 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/nrrwrgn.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling, Christian Brabandt et al. 2 | " Plugin: https://github.com/chrisbra/NrrwRgn 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_nrrw_rgn', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#nrrwrgn#apply(...) 12 | if exists(":WidenRegion") == 2 13 | let spc = g:airline_symbols.space 14 | if !exists("*nrrwrgn#NrrwRgnStatus()") || empty(nrrwrgn#NrrwRgnStatus()) 15 | call a:1.add_section('airline_a', printf('%s[Narrowed%s#%d]', spc, spc, b:nrrw_instn)) 16 | let bufname=(get(b:, 'orig_buf', 0) ? bufname(b:orig_buf) : substitute(bufname('%'), '^Nrrwrgn_\zs.*\ze_\d\+$', submatch(0), '')) 17 | call a:1.add_section('airline_c', spc.bufname.spc) 18 | call a:1.split() 19 | else 20 | let dict=nrrwrgn#NrrwRgnStatus() 21 | let vmode = { 'v': 'Char ', 'V': 'Line ', '': 'Block '} 22 | let mode = dict.visual ? vmode[dict.visual] : vmode['V'] 23 | let winwidth = airline#util#winwidth() 24 | if winwidth < 80 25 | let mode = mode[0] 26 | endif 27 | let title = (winwidth < 80 ? "Nrrw" : "Narrowed ") 28 | let multi = (winwidth < 80 ? 'M' : 'Multi') 29 | call a:1.add_section('airline_a', printf('[%s%s%s#%d]%s', (dict.multi ? multi : ""), 30 | \ title, mode, b:nrrw_instn, spc)) 31 | let name = dict.fullname 32 | if name !=# '[No Name]' 33 | if winwidth > 100 34 | " need some space 35 | let name = fnamemodify(dict.fullname, ':~') 36 | if strlen(name) > 8 37 | " shorten name 38 | let name = substitute(name, '\(.\)[^/\\]*\([/\\]\)', '\1\2', 'g') 39 | endif 40 | else 41 | let name = fnamemodify(dict.fullname, ':t') 42 | endif 43 | endif 44 | let range=(dict.multi ? '' : printf("[%d-%d]", dict.start[1], dict.end[1])) 45 | call a:1.add_section('airline_c', printf("%s %s %s", name, range, 46 | \ dict.enabled ? (&encoding ==? 'utf-8' ? "\u2713" : '') : '!')) 47 | call a:1.split() 48 | call a:1.add_section('airline_x', get(g:, 'airline_section_x').spc) 49 | call a:1.add_section('airline_y', spc.get(g:, 'airline_section_y').spc) 50 | call a:1.add_section('airline_z', spc.get(g:, 'airline_section_z')) 51 | endif 52 | return 1 53 | endif 54 | endfunction 55 | 56 | function! airline#extensions#nrrwrgn#init(ext) 57 | call a:ext.add_statusline_func('airline#extensions#nrrwrgn#apply') 58 | endfunction 59 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/nvimlsp.vim: -------------------------------------------------------------------------------- 1 | " Apache 2.0 license. Copyright (c) 2019-2021 Copyright Neovim contributors. 2 | " Plugin: https://github.com/neovim/nvim-lsp 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !(get(g:, 'airline#extensions#nvimlsp#enabled', 1) 8 | \ && has('nvim') 9 | \ && luaeval('vim.lsp ~= nil')) 10 | finish 11 | endif 12 | 13 | function! s:airline_nvimlsp_count(cnt, symbol) abort 14 | return a:cnt ? a:symbol. a:cnt : '' 15 | endfunction 16 | 17 | function! airline#extensions#nvimlsp#get(type) abort 18 | if luaeval('vim.tbl_isempty(vim.lsp.buf_get_clients(0))') 19 | return '' 20 | endif 21 | 22 | let error_symbol = get(g:, 'airline#extensions#nvimlsp#error_symbol', 'E:') 23 | let warning_symbol = get(g:, 'airline#extensions#nvimlsp#warning_symbol', 'W:') 24 | 25 | let is_err = a:type ==# 'Error' 26 | 27 | let symbol = is_err ? error_symbol : warning_symbol 28 | 29 | if luaeval("pcall(require, 'vim.lsp.diagnostic')") 30 | let num = v:lua.vim.lsp.diagnostic.get_count(0, a:type) 31 | else 32 | let num = v:lua.vim.lsp.util.buf_diagnostics_count(a:type) 33 | endif 34 | 35 | return s:airline_nvimlsp_count(num, symbol) 36 | endfunction 37 | 38 | function! airline#extensions#nvimlsp#get_warning() abort 39 | return airline#extensions#nvimlsp#get('Warning') 40 | endfunction 41 | 42 | function! airline#extensions#nvimlsp#get_error() abort 43 | return airline#extensions#nvimlsp#get('Error') 44 | endfunction 45 | 46 | function! airline#extensions#nvimlsp#init(ext) abort 47 | call airline#parts#define_function('nvimlsp_error_count', 'airline#extensions#nvimlsp#get_error') 48 | call airline#parts#define_function('nvimlsp_warning_count', 'airline#extensions#nvimlsp#get_warning') 49 | endfunction 50 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/obsession.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/tpope/vim-obsession 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists('*ObsessionStatus') 8 | finish 9 | endif 10 | 11 | let s:spc = g:airline_symbols.space 12 | 13 | if !exists('g:airline#extensions#obsession#indicator_text') 14 | let g:airline#extensions#obsession#indicator_text = '$' 15 | endif 16 | 17 | function! airline#extensions#obsession#init(ext) 18 | call airline#parts#define_function('obsession', 'airline#extensions#obsession#get_status') 19 | endfunction 20 | 21 | function! airline#extensions#obsession#get_status() 22 | return ObsessionStatus((g:airline#extensions#obsession#indicator_text . s:spc), '') 23 | endfunction 24 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/omnisharp.vim: -------------------------------------------------------------------------------- 1 | " MIT License 2 | " Plugin: https://github.com/OmniSharp/omnisharp-vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'OmniSharp_loaded', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#omnisharp#server_status(...) abort 12 | if !exists(':OmniSharpGotoDefinition') || !get(g:, 'OmniSharp_server_stdio', 0) 13 | return '' 14 | endif 15 | 16 | let host = OmniSharp#GetHost(bufnr('%')) 17 | if type(host.job) != v:t_dict || get(host.job, 'stopped') 18 | return '' 19 | endif 20 | 21 | let sln = fnamemodify(host.sln_or_dir, ':t') 22 | 23 | if get(host.job, 'loaded', 0) 24 | return sln 25 | endif 26 | 27 | try 28 | let projectsloaded = OmniSharp#project#CountLoaded() 29 | let projectstotal = OmniSharp#project#CountTotal() 30 | catch 31 | " The CountLoaded and CountTotal functions are very new - catch the error 32 | " when they don't exist 33 | let projectsloaded = 0 34 | let projectstotal = 0 35 | endtry 36 | return printf('%s(%d/%d)', sln, projectsloaded, projectstotal) 37 | endfunction 38 | 39 | function! airline#extensions#omnisharp#init(ext) abort 40 | call airline#parts#define_function('omnisharp', 'airline#extensions#omnisharp#server_status') 41 | augroup airline_omnisharp 42 | autocmd! 43 | autocmd User OmniSharpStarted,OmniSharpReady,OmniSharpStopped AirlineRefresh! 44 | augroup END 45 | endfunction 46 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/poetv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/petobens/poet_v 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | let s:spc = g:airline_symbols.space 8 | 9 | function! airline#extensions#poetv#init(ext) 10 | call a:ext.add_statusline_func('airline#extensions#poetv#apply') 11 | endfunction 12 | 13 | function! airline#extensions#poetv#apply(...) 14 | if &filetype =~# 'python' 15 | if get(g:, 'poetv_loaded', 0) 16 | let statusline = poetv#statusline() 17 | else 18 | let statusline = fnamemodify($VIRTUAL_ENV, ':t') 19 | endif 20 | if !empty(statusline) 21 | call airline#extensions#append_to_section('x', 22 | \ s:spc.g:airline_right_alt_sep.s:spc.statusline) 23 | endif 24 | endif 25 | endfunction 26 | 27 | function! airline#extensions#poetv#update() 28 | if &filetype =~# 'python' 29 | call airline#extensions#poetv#apply() 30 | call airline#update_statusline() 31 | endif 32 | endfunction 33 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/promptline.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/edkolev/promptline.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':PromptlineSnapshot') 8 | finish 9 | endif 10 | 11 | if !exists('airline#extensions#promptline#snapshot_file') || !len('airline#extensions#promptline#snapshot_file') 12 | finish 13 | endif 14 | 15 | let s:prompt_snapshot_file = get(g:, 'airline#extensions#promptline#snapshot_file', '') 16 | let s:color_template = get(g:, 'airline#extensions#promptline#color_template', 'normal') 17 | 18 | function! airline#extensions#promptline#init(ext) 19 | call a:ext.add_theme_func('airline#extensions#promptline#set_prompt_colors') 20 | endfunction 21 | 22 | function! airline#extensions#promptline#set_prompt_colors(palette) 23 | let color_template = has_key(a:palette, s:color_template) ? s:color_template : 'normal' 24 | let mode_palette = a:palette[color_template] 25 | 26 | if !has_key(g:, 'promptline_symbols') 27 | let g:promptline_symbols = { 28 | \ 'left' : g:airline_left_sep, 29 | \ 'right' : g:airline_right_sep, 30 | \ 'left_alt' : g:airline_left_alt_sep, 31 | \ 'right_alt' : g:airline_right_alt_sep} 32 | endif 33 | 34 | let promptline_theme = promptline#api#create_theme_from_airline(mode_palette) 35 | call promptline#api#create_snapshot_with_theme(s:prompt_snapshot_file, promptline_theme) 36 | endfunction 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/quickfix.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | if !exists('g:airline#extensions#quickfix#quickfix_text') 7 | let g:airline#extensions#quickfix#quickfix_text = 'Quickfix' 8 | endif 9 | 10 | if !exists('g:airline#extensions#quickfix#location_text') 11 | let g:airline#extensions#quickfix#location_text = 'Location' 12 | endif 13 | 14 | function! airline#extensions#quickfix#apply(...) 15 | if &buftype == 'quickfix' 16 | let w:airline_section_a = airline#extensions#quickfix#get_type() 17 | let w:airline_section_b = '%{get(w:, "quickfix_title", "")}' 18 | let w:airline_section_c = '' 19 | let w:airline_section_x = '' 20 | endif 21 | endfunction 22 | 23 | function! airline#extensions#quickfix#init(ext) 24 | call a:ext.add_statusline_func('airline#extensions#quickfix#apply') 25 | call a:ext.add_inactive_statusline_func('airline#extensions#quickfix#inactive_qf_window') 26 | endfunction 27 | 28 | function! airline#extensions#quickfix#inactive_qf_window(...) 29 | if getbufvar(a:2.bufnr, '&filetype') is# 'qf' && !empty(airline#util#getwinvar(a:2.winnr, 'quickfix_title', '')) 30 | call setwinvar(a:2.winnr, 'airline_section_c', '[%{get(w:, "quickfix_title", "")}] %f %m') 31 | endif 32 | endfunction 33 | 34 | function! airline#extensions#quickfix#get_type() 35 | if exists("*win_getid") && exists("*getwininfo") 36 | let dict = getwininfo(win_getid()) 37 | if len(dict) > 0 && get(dict[0], 'quickfix', 0) && !get(dict[0], 'loclist', 0) 38 | return g:airline#extensions#quickfix#quickfix_text 39 | elseif len(dict) > 0 && get(dict[0], 'quickfix', 0) && get(dict[0], 'loclist', 0) 40 | return g:airline#extensions#quickfix#location_text 41 | endif 42 | endif 43 | redir => buffers 44 | silent ls 45 | redir END 46 | 47 | let nr = bufnr('%') 48 | for buf in split(buffers, '\n') 49 | if match(buf, '\v^\s*'.nr) > -1 50 | if match(buf, '\cQuickfix') > -1 51 | return g:airline#extensions#quickfix#quickfix_text 52 | else 53 | return g:airline#extensions#quickfix#location_text 54 | endif 55 | endif 56 | endfor 57 | return '' 58 | endfunction 59 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/rufo.vim: -------------------------------------------------------------------------------- 1 | " vim: et ts=2 sts=2 sw=2 2 | 3 | scriptencoding utf-8 4 | 5 | if !exists('g:rufo_loaded') 6 | finish 7 | endif 8 | 9 | let s:spc = g:airline_symbols.space 10 | 11 | if !exists('g:airline#extensions#rufo#symbol') 12 | let g:airline#extensions#rufo#symbol = 'RuFo' 13 | endif 14 | 15 | function! airline#extensions#rufo#init(ext) 16 | call airline#parts#define_raw('rufo', '%{airline#extensions#rufo#get_status}') 17 | call a:ext.add_statusline_func('airline#extensions#rufo#apply') 18 | endfunction 19 | 20 | function! airline#extensions#rufo#get_status() 21 | let out = '' 22 | if &ft == "ruby" && g:rufo_auto_formatting == 1 23 | let out .= s:spc.g:airline_left_alt_sep.s:spc.g:airline#extensions#rufo#symbol 24 | endif 25 | return out 26 | endfunction 27 | 28 | " This function will be invoked just prior to the statusline getting modified. 29 | function! airline#extensions#rufo#apply(...) 30 | " First we check for the filetype. 31 | if &filetype == "ruby" 32 | " section_z. 33 | let w:airline_section_z = get(w:, 'airline_section_z', g:airline_section_z) 34 | 35 | " Then we just append this extenion to it, optionally using separators. 36 | let w:airline_section_z .= '%{airline#extensions#rufo#get_status()}' 37 | endif 38 | endfunction 39 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/scrollbar.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 2 | " vim: et ts=2 sts=2 sw=2 et 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#extensions#scrollbar#calculate() abort 7 | if winwidth(0) > 200 && get(w:, 'airline_active', 0) 8 | let overwrite = 0 9 | if &encoding ==? 'utf-8' && !get(g:, 'airline_symbols_ascii', 0) 10 | let [left, right, middle] = [ '|', '|', '█'] 11 | let overwrite = 1 12 | else 13 | let [left, right, middle] = [ '[', ']', '-'] 14 | endif 15 | let spc = get(g:, 'airline_symbols.space', ' ') 16 | let width = 20 " max width, plus one border and indicator 17 | let perc = (line('.') + 0.0) / (line('$') + 0.0) 18 | let before = float2nr(round(perc * width)) 19 | if before >= 0 && line('.') == 1 20 | let before = 0 21 | let left = (overwrite ? '' : left) 22 | endif 23 | let after = width - before 24 | if (after <= 1 && line('.') == line('$')) 25 | let after = 0 26 | let right = (overwrite ? '' : right) 27 | endif 28 | return left . repeat(spc, before) . middle . repeat(spc, after) . right 29 | else 30 | return '' 31 | endif 32 | endfunction 33 | 34 | function! airline#extensions#scrollbar#init(ext) abort 35 | call airline#parts#define_function('scrollbar', 'airline#extensions#scrollbar#calculate') 36 | endfunction 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/searchcount.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " This extension is inspired by vim-anzu . 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists('*searchcount') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#searchcount#init(ext) abort 12 | call a:ext.add_statusline_func('airline#extensions#searchcount#apply') 13 | endfunction 14 | 15 | function! airline#extensions#searchcount#apply(...) abort 16 | call airline#extensions#append_to_section('y', 17 | \ '%{v:hlsearch ? airline#extensions#searchcount#status() : ""}') 18 | endfunction 19 | 20 | function! s:search_term() 21 | " shorten for all width smaller than 300 (this is just a guess) 22 | " this uses a non-breaking space, because it looks like 23 | " a leading space is stripped :/ 24 | return "\ua0" . '/' . airline#util#shorten(getreg('/'), 300, 8) 25 | endfunction 26 | 27 | function! airline#extensions#searchcount#status() abort 28 | try 29 | let result = searchcount(#{recompute: 1, maxcount: -1}) 30 | if empty(result) || result.total ==# 0 31 | return '' 32 | endif 33 | if result.incomplete ==# 1 " timed out 34 | return printf('%s [?/??]', s:search_term()) 35 | elseif result.incomplete ==# 2 " max count exceeded 36 | if result.total > result.maxcount && 37 | \ result.current > result.maxcount 38 | return printf('%s[>%d/>%d]', s:search_term(), 39 | \ result.current, result.total) 40 | elseif result.total > result.maxcount 41 | return printf('%s[%d/>%d]', s:search_term(), 42 | \ result.current, result.total) 43 | endif 44 | endif 45 | return printf('%s[%d/%d]', s:search_term(), 46 | \ result.current, result.total) 47 | catch 48 | return '' 49 | endtry 50 | endfunction 51 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/syntastic.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/vim-syntastic/syntastic 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':SyntasticCheck') 8 | finish 9 | endif 10 | 11 | let s:error_symbol = get(g:, 'airline#extensions#syntastic#error_symbol', 'E:') 12 | let s:warning_symbol = get(g:, 'airline#extensions#syntastic#warning_symbol', 'W:') 13 | 14 | function! airline#extensions#syntastic#get_warning() 15 | return airline#extensions#syntastic#get('warning') 16 | endfunction 17 | 18 | function! airline#extensions#syntastic#get_error() 19 | return airline#extensions#syntastic#get('error') 20 | endfunction 21 | 22 | function! airline#extensions#syntastic#get(type) 23 | let _backup = get(g:, 'syntastic_stl_format', '') 24 | let is_err = (a:type is# 'error') 25 | if is_err 26 | let g:syntastic_stl_format = get(g:, 'airline#extensions#syntastic#stl_format_err', '%E{[%fe(#%e)]}') 27 | else 28 | let g:syntastic_stl_format = get(g:, 'airline#extensions#syntastic#stl_format_warn', '%W{[%fw(#%w)]}') 29 | endif 30 | let cnt = SyntasticStatuslineFlag() 31 | if !empty(_backup) 32 | let g:syntastic_stl_format = _backup 33 | endif 34 | if empty(cnt) 35 | return '' 36 | else 37 | return (is_err ? s:error_symbol : s:warning_symbol).cnt 38 | endif 39 | endfunction 40 | 41 | function! airline#extensions#syntastic#init(ext) 42 | call airline#parts#define_function('syntastic-warn', 'airline#extensions#syntastic#get_warning') 43 | call airline#parts#define_function('syntastic-err', 'airline#extensions#syntastic#get_error') 44 | endfunction 45 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tabline/autoshow.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | let s:show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1) 7 | let s:buf_min_count = get(g:, 'airline#extensions#tabline#buffer_min_count', 0) 8 | let s:tab_min_count = get(g:, 'airline#extensions#tabline#tab_min_count', 0) 9 | 10 | function! airline#extensions#tabline#autoshow#off() 11 | if exists('s:original_tabline') 12 | let &tabline = s:original_tabline 13 | let &showtabline = s:original_showtabline 14 | endif 15 | 16 | augroup airline_tabline_autoshow 17 | autocmd! 18 | augroup END 19 | endfunction 20 | 21 | function! airline#extensions#tabline#autoshow#on() 22 | let [ s:original_tabline, s:original_showtabline ] = [ &tabline, &showtabline ] 23 | 24 | augroup airline_tabline_autoshow 25 | autocmd! 26 | if s:buf_min_count <= 0 && s:tab_min_count <= 1 27 | call airline#extensions#tabline#enable() 28 | else 29 | if s:show_buffers == 1 30 | autocmd BufEnter * call show_tabline(s:buf_min_count, len(airline#extensions#tabline#buflist#list())) 31 | autocmd BufUnload * call show_tabline(s:buf_min_count, len(airline#extensions#tabline#buflist#list()) - 1) 32 | else 33 | autocmd TabNew,TabClosed * call show_tabline(s:tab_min_count, tabpagenr('$')) 34 | endif 35 | endif 36 | 37 | " Invalidate cache. This has to come after the BufUnload for 38 | " s:show_buffers, to invalidate the cache for BufEnter. 39 | autocmd BufLeave,BufAdd,BufUnload * call airline#extensions#tabline#buflist#invalidate() 40 | augroup END 41 | endfunction 42 | 43 | function! s:show_tabline(min_count, total_count) 44 | if a:total_count >= a:min_count 45 | if &showtabline != 2 && &lines > 3 46 | set showtabline=2 47 | endif 48 | else 49 | if &showtabline != 0 50 | set showtabline=0 51 | endif 52 | endif 53 | endfunction 54 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tabline/formatters/jsformatter.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#extensions#tabline#formatters#jsformatter#format(bufnr, buffers) 7 | let buf = bufname(a:bufnr) 8 | let filename = fnamemodify(buf, ':t') 9 | 10 | if filename ==# 'index.js' || filename ==# 'index.jsx' || filename ==# 'index.ts' || filename ==# 'index.tsx' || filename ==# 'index.vue' 11 | return fnamemodify(buf, ':p:h:t') . '/i' 12 | else 13 | return airline#extensions#tabline#formatters#unique_tail_improved#format(a:bufnr, a:buffers) 14 | endif 15 | endfunction 16 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tabline/formatters/short_path.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | let s:fnamecollapse = get(g:, 'airline#extensions#tabline#fnamecollapse', 1) 7 | 8 | function! airline#extensions#tabline#formatters#short_path#format(bufnr, buffers) 9 | let _ = '' 10 | 11 | let name = bufname(a:bufnr) 12 | if empty(name) 13 | let _ .= '[No Name]' 14 | elseif name =~ 'term://' 15 | " Neovim Terminal 16 | let _ = substitute(name, '\(term:\)//.*:\(.*\)', '\1 \2', '') 17 | else 18 | let _ .= fnamemodify(name, ':p:h:t') . '/' . fnamemodify(name, ':t') 19 | endif 20 | 21 | return airline#extensions#tabline#formatters#default#wrap_name(a:bufnr, _) 22 | endfunction 23 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tabline/formatters/tabnr.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2017-2021 Christian Brabandt et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#extensions#tabline#formatters#tabnr#format(tab_nr_type, nr) 7 | let spc=g:airline_symbols.space 8 | if a:tab_nr_type == 0 " nr of splits 9 | return spc. '%{len(tabpagebuflist('.a:nr.'))}' 10 | elseif a:tab_nr_type == 1 " tab number 11 | return spc. a:nr 12 | else "== 2 splits and tab number 13 | return spc. a:nr. '.%{len(tabpagebuflist('.a:nr.'))}' 14 | endif 15 | endfunction 16 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tabline/formatters/unique_tail.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#extensions#tabline#formatters#unique_tail#format(bufnr, buffers) 7 | let duplicates = {} 8 | let tails = {} 9 | let map = {} 10 | for nr in a:buffers 11 | let name = bufname(nr) 12 | if empty(name) 13 | let map[nr] = airline#extensions#tabline#formatters#default#wrap_name(nr, '[No Name]') 14 | else 15 | if name =~ 'term://' 16 | " Neovim Terminal 17 | let tail = substitute(name, '\(term:\)//.*:\(.*\)', '\1 \2', '') 18 | else 19 | let tail = fnamemodify(name, ':s?/\+$??:t') 20 | endif 21 | if has_key(tails, tail) 22 | let duplicates[nr] = nr 23 | endif 24 | let tails[tail] = 1 25 | let map[nr] = airline#extensions#tabline#formatters#default#wrap_name(nr, tail) 26 | endif 27 | endfor 28 | 29 | let fmod = get(g:, 'airline#extensions#tabline#fnamemod', ':p:.') 30 | for nr in values(duplicates) 31 | let name = bufname(nr) 32 | let fnamecollapse = get(g:, 'airline#extensions#tabline#fnamecollapse', 1) 33 | if fnamecollapse 34 | let map[nr] = airline#extensions#tabline#formatters#default#wrap_name(nr, substitute(fnamemodify(name, fmod), '\v\w\zs.{-}\ze(\\|/)', '', 'g')) 35 | else 36 | let map[nr] = airline#extensions#tabline#formatters#default#wrap_name(nr, fnamemodify(name, fmod)) 37 | endif 38 | endfor 39 | 40 | if has_key(map, a:bufnr) 41 | return map[a:bufnr] 42 | endif 43 | 44 | " if we get here, the buffer list isn't in sync with the selected buffer yet, fall back to the default 45 | return airline#extensions#tabline#formatters#default#format(a:bufnr, a:buffers) 46 | endfunction 47 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tagbar.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/majutsushi/tagbar 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':TagbarToggle') 8 | finish 9 | endif 10 | 11 | let s:flags = get(g:, 'airline#extensions#tagbar#flags', '') 12 | let s:spc = g:airline_symbols.space 13 | let s:init=0 14 | 15 | " Arguments: current, sort, fname 16 | function! airline#extensions#tagbar#get_status(...) 17 | let builder = airline#builder#new({ 'active': a:1 }) 18 | call builder.add_section('airline_a', s:spc.'Tagbar'.s:spc) 19 | call builder.add_section('airline_b', s:spc.a:2.s:spc) 20 | call builder.add_section('airline_c', s:spc.a:3.s:spc) 21 | return builder.build() 22 | endfunction 23 | 24 | function! airline#extensions#tagbar#inactive_apply(...) 25 | if getwinvar(a:2.winnr, '&filetype') == 'tagbar' 26 | return -1 27 | endif 28 | endfunction 29 | 30 | let s:airline_tagbar_last_lookup_time = 0 31 | let s:airline_tagbar_last_lookup_val = '' 32 | function! airline#extensions#tagbar#currenttag() 33 | if get(w:, 'airline_active', 0) 34 | if !s:init 35 | try 36 | " try to load the plugin, if filetypes are disabled, 37 | " this will cause an error, so try only once 38 | let a=tagbar#currenttag('%', '', '') 39 | catch 40 | endtry 41 | unlet! a 42 | let s:init=1 43 | endif 44 | " function tagbar#currenttag does not exist, if filetype is not enabled 45 | if s:airline_tagbar_last_lookup_time != localtime() && exists("*tagbar#currenttag") 46 | let s:airline_tagbar_last_lookup_val = tagbar#currenttag('%s', '', s:flags, get(g:, 'airline#extensions#tagbar#searchmethod', 'nearest-stl')) 47 | let s:airline_tagbar_last_lookup_time = localtime() 48 | endif 49 | return s:airline_tagbar_last_lookup_val 50 | endif 51 | return '' 52 | endfunction 53 | 54 | function! airline#extensions#tagbar#init(ext) 55 | call a:ext.add_inactive_statusline_func('airline#extensions#tagbar#inactive_apply') 56 | let g:tagbar_status_func = 'airline#extensions#tagbar#get_status' 57 | 58 | call airline#parts#define_function('tagbar', 'airline#extensions#tagbar#currenttag') 59 | endfunction 60 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/taglist.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2021 DEMAREST Maxime (maxime@indelog.fr) 2 | " Plugin: https://github.com/yegappan/taglist/ 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':TlistShowTag') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#taglist#currenttag() 12 | " Update tag list if taglist is not loaded (else we get an empty tag name) 13 | let tlist_updated = v:false 14 | if !exists('*Tlist_Get_Filenames()') 15 | TlistUpdate 16 | let tlist_updated = v:true 17 | endif 18 | if !tlist_updated 19 | if stridx(Tlist_Get_Filenames(), expand('%:p')) < 0 20 | TlistUpdate 21 | let tlist_updated = v:true 22 | endif 23 | endif 24 | " Is this function is not present it'means you use the old vertsion of 25 | " tag list : https://github.com/vim-scripts/taglist.vim. 26 | " Please use the new version : https://github.com/yegappan/taglist. 27 | if exists('*taglist#Tlist_Get_Tagname_By_Line()') 28 | return taglist#Tlist_Get_Tagname_By_Line() 29 | else 30 | return '' 31 | endif 32 | endfunction 33 | 34 | function! airline#extensions#taglist#init(ext) 35 | call airline#parts#define_function('taglist', 'airline#extensions#taglist#currenttag') 36 | endfunction 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/tmuxline.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/edkolev/tmuxline.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':Tmuxline') 8 | finish 9 | endif 10 | 11 | let s:tmuxline_snapshot_file = get(g:, 'airline#extensions#tmuxline#snapshot_file', '') 12 | let s:color_template = get(g:, 'airline#extensions#tmuxline#color_template', 'normal') 13 | 14 | function! airline#extensions#tmuxline#init(ext) 15 | call a:ext.add_theme_func('airline#extensions#tmuxline#set_tmux_colors') 16 | endfunction 17 | 18 | function! airline#extensions#tmuxline#set_tmux_colors(palette) 19 | let color_template = has_key(a:palette, s:color_template) ? s:color_template : 'normal' 20 | let mode_palette = a:palette[color_template] 21 | 22 | let tmuxline_theme = tmuxline#api#create_theme_from_airline(mode_palette) 23 | call tmuxline#api#set_theme(tmuxline_theme) 24 | 25 | if strlen(s:tmuxline_snapshot_file) 26 | call tmuxline#api#snapshot(s:tmuxline_snapshot_file) 27 | endif 28 | endfunction 29 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/undotree.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/mbbill/undotree 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists(':UndotreeToggle') 8 | finish 9 | endif 10 | 11 | function! airline#extensions#undotree#apply(...) 12 | if exists('t:undotree') 13 | if &ft == 'undotree' 14 | if exists('*t:undotree.GetStatusLine') 15 | call airline#extensions#apply_left_override('undo', '%{exists("t:undotree") ? t:undotree.GetStatusLine() : ""}') 16 | else 17 | call airline#extensions#apply_left_override('undotree', '%f') 18 | endif 19 | endif 20 | 21 | if &ft == 'diff' && exists('*t:diffpanel.GetStatusLine') 22 | call airline#extensions#apply_left_override('diff', '%{exists("t:diffpanel") ? t:diffpanel.GetStatusLine() : ""}') 23 | endif 24 | endif 25 | endfunction 26 | 27 | function! airline#extensions#undotree#init(ext) 28 | call a:ext.add_statusline_func('airline#extensions#undotree#apply') 29 | endfunction 30 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/unicode.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling, Christian Brabandt et al. 2 | " Plugin: https://github.com/chrisbra/unicode.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_unicodePlugin', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#unicode#apply(...) 12 | if exists(":UnicodeTable") == 2 && bufname('') ==# 'UnicodeTable' 13 | call airline#parts#define('unicode', { 14 | \ 'text': '[UnicodeTable]', 15 | \ 'accent': 'bold' }) 16 | let w:airline_section_a = airline#section#create(['unicode']) 17 | let w:airline_section_b = '' 18 | let w:airline_section_c = ' ' 19 | let w:airline_section_y = '' 20 | endif 21 | endfunction 22 | 23 | function! airline#extensions#unicode#init(ext) 24 | call a:ext.add_statusline_func('airline#extensions#unicode#apply') 25 | endfunction 26 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/unite.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/Shougo/unite.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_unite', 0) 8 | finish 9 | endif 10 | 11 | function! airline#extensions#unite#apply(...) 12 | if &ft == 'unite' 13 | call a:1.add_section('airline_a', ' Unite ') 14 | call a:1.add_section('airline_b', ' %{get(unite#get_context(), "buffer_name", "")} ') 15 | call a:1.add_section('airline_c', ' %{unite#get_status_string()} ') 16 | call a:1.split() 17 | call a:1.add_section('airline_y', ' %{get(unite#get_context(), "real_buffer_name", "")} ') 18 | return 1 19 | endif 20 | endfunction 21 | 22 | function! airline#extensions#unite#init(ext) 23 | let g:unite_force_overwrite_statusline = 0 24 | call a:ext.add_statusline_func('airline#extensions#unite#apply') 25 | endfunction 26 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/vimagit.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2016-2021 Jerome Reybert et al. 2 | " Plugin: https://github.com/jreybert/vimagit 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | " This plugin replaces the whole section_a when in vimagit buffer 6 | scriptencoding utf-8 7 | 8 | if !get(g:, 'loaded_magit', 0) 9 | finish 10 | endif 11 | 12 | let s:commit_mode = {'ST': 'STAGING', 'CC': 'COMMIT', 'CA': 'AMEND'} 13 | 14 | function! airline#extensions#vimagit#init(ext) abort 15 | call a:ext.add_statusline_func('airline#extensions#vimagit#apply') 16 | endfunction 17 | 18 | function! airline#extensions#vimagit#get_mode() abort 19 | if ( exists("*magit#get_current_mode") ) 20 | return magit#get_current_mode() 21 | else 22 | return get(s:commit_mode, b:magit_current_commit_mode, '???') 23 | endif 24 | endfunction 25 | 26 | function! airline#extensions#vimagit#apply(...) abort 27 | if ( &filetype == 'magit' ) 28 | let w:airline_section_a = '%{airline#extensions#vimagit#get_mode()}' 29 | endif 30 | endfunction 31 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/vimcmake.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/cdelledonne/vim-cmake 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | function! airline#extensions#vimcmake#init(ext) abort 8 | call a:ext.add_statusline_func('airline#extensions#vimcmake#apply') 9 | call a:ext.add_inactive_statusline_func('airline#extensions#vimcmake#inactive_apply') 10 | endfunction 11 | 12 | function! airline#extensions#vimcmake#apply(...) abort 13 | if &filetype ==# 'vimcmake' 14 | let spc = g:airline_symbols.space 15 | call a:1.add_section('airline_a', spc.'CMake'.spc) 16 | call a:1.add_section('airline_b', spc.'%{cmake#statusline#GetBuildInfo(1)}'.spc) 17 | call a:1.add_section('airline_c', spc.'%{cmake#statusline#GetCmdInfo()}'.spc) 18 | return 1 19 | endif 20 | endfunction 21 | 22 | function! airline#extensions#vimcmake#inactive_apply(...) abort 23 | if getbufvar(a:2.bufnr, '&filetype') ==# 'vimcmake' 24 | let spc = g:airline_symbols.space 25 | call a:1.add_section('airline_a', spc.'[CMake]') 26 | call a:1.add_section('airline_b', spc.'%{cmake#statusline#GetBuildInfo(0)}') 27 | call a:1.add_section('airline_c', spc.'%{cmake#statusline#GetCmdInfo()}') 28 | return 1 29 | endif 30 | endfunction 31 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/virtualenv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/jmcantrell/vim-virtualenv 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | let s:spc = g:airline_symbols.space 8 | 9 | function! airline#extensions#virtualenv#init(ext) 10 | call a:ext.add_statusline_func('airline#extensions#virtualenv#apply') 11 | endfunction 12 | 13 | function! airline#extensions#virtualenv#apply(...) 14 | if &filetype =~# "python" 15 | if get(g:, 'virtualenv_loaded', 0) 16 | let statusline = virtualenv#statusline() 17 | else 18 | let statusline = fnamemodify($VIRTUAL_ENV, ':t') 19 | endif 20 | if !empty(statusline) 21 | call airline#extensions#append_to_section('x', 22 | \ s:spc.g:airline_right_alt_sep.s:spc.statusline) 23 | endif 24 | endif 25 | endfunction 26 | 27 | function! airline#extensions#virtualenv#update() 28 | if &filetype =~# "python" 29 | call airline#extensions#virtualenv#apply() 30 | call airline#update_statusline() 31 | endif 32 | endfunction 33 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/vista.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2021 s1341 (github@shmarya.net) 2 | " Plugin: https://github.com/liuchengxu/vista.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | if !get(g:, 'loaded_vista', 0) 7 | finish 8 | endif 9 | 10 | function! airline#extensions#vista#currenttag() abort 11 | if get(w:, 'airline_active', 0) 12 | return airline#util#shorten(get(b:, 'vista_nearest_method_or_function', ''), 91, 9) 13 | endif 14 | endfunction 15 | 16 | function! airline#extensions#vista#init(ext) abort 17 | call airline#parts#define_function('vista', 'airline#extensions#vista#currenttag') 18 | endfunction 19 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/windowswap.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " Plugin: https://github.com/wesQ3/vim-windowswap 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !exists('g:loaded_windowswap') 8 | finish 9 | endif 10 | 11 | let s:spc = g:airline_symbols.space 12 | 13 | if !exists('g:airline#extensions#windowswap#indicator_text') 14 | let g:airline#extensions#windowswap#indicator_text = 'WS' 15 | endif 16 | 17 | function! airline#extensions#windowswap#init(ext) 18 | call airline#parts#define_function('windowswap', 'airline#extensions#windowswap#get_status') 19 | endfunction 20 | 21 | function! airline#extensions#windowswap#get_status() 22 | " use new tab-aware api if WS is up to date 23 | let s:mark = exists('*WindowSwap#IsCurrentWindowMarked') ? 24 | \WindowSwap#IsCurrentWindowMarked() : 25 | \(WindowSwap#HasMarkedWindow() && WindowSwap#GetMarkedWindowNum() == winnr()) 26 | if s:mark 27 | return g:airline#extensions#windowswap#indicator_text.s:spc 28 | endif 29 | return '' 30 | endfunction 31 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/wordcount/formatters/default.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#extensions#wordcount#formatters#default#update_fmt(...) 7 | let s:fmt = get(g:, 'airline#extensions#wordcount#formatter#default#fmt', '%s words') 8 | let s:fmt_short = get(g:, 'airline#extensions#wordcount#formatter#default#fmt_short', s:fmt == '%s words' ? '%sW' : s:fmt) 9 | endfunction 10 | 11 | " Reload format when statusline is rebuilt 12 | call airline#extensions#wordcount#formatters#default#update_fmt() 13 | 14 | if index(g:airline_statusline_funcrefs, function('airline#extensions#wordcount#formatters#default#update_fmt')) == -1 15 | " only add it, if not already done 16 | call airline#add_statusline_funcref(function('airline#extensions#wordcount#formatters#default#update_fmt')) 17 | endif 18 | 19 | if match(get(v:, 'lang', ''), '\v\cC|en') > -1 20 | let s:decimal_group = ',' 21 | elseif match(get(v:, 'lang', ''), '\v\cde|dk|fr|pt') > -1 22 | let s:decimal_group = '.' 23 | else 24 | let s:decimal_group = '' 25 | endif 26 | 27 | function! airline#extensions#wordcount#formatters#default#to_string(wordcount) 28 | if airline#util#winwidth() > 85 29 | if a:wordcount > 999 30 | " Format number according to locale, e.g. German: 1.245 or English: 1,245 31 | let wordcount = substitute(a:wordcount, '\d\@<=\(\(\d\{3\}\)\+\)$', s:decimal_group.'&', 'g') 32 | else 33 | let wordcount = a:wordcount 34 | endif 35 | let str = printf(s:fmt, wordcount) 36 | else 37 | let str = printf(s:fmt_short, a:wordcount) 38 | endif 39 | 40 | let str .= g:airline_symbols.space 41 | 42 | if !empty(g:airline_right_alt_sep) 43 | let str .= g:airline_right_alt_sep . g:airline_symbols.space 44 | endif 45 | 46 | return str 47 | endfunction 48 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/wordcount/formatters/readingtime.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | function! airline#extensions#wordcount#formatters#readingtime#update_fmt(...) abort 7 | let s:fmt = get(g:, 'airline#extensions#wordcount#formatter#readingtime#fmt', 'About %s minutes') 8 | let s:fmt_short = get(g:, 'airline#extensions#wordcount#formatter#readingtime#fmt_short', s:fmt ==# 'About %s minutes' ? '%sW' : s:fmt) 9 | endfunction 10 | 11 | " Reload format when statusline is rebuilt 12 | call airline#extensions#wordcount#formatters#readingtime#update_fmt() 13 | 14 | if index(g:airline_statusline_funcrefs, function('airline#extensions#wordcount#formatters#readingtime#update_fmt')) == -1 15 | " only add it, if not already done 16 | call airline#add_statusline_funcref(function('airline#extensions#wordcount#formatters#readingtime#update_fmt')) 17 | endif 18 | 19 | if match(get(v:, 'lang', ''), '\v\cC|en') > -1 20 | let s:decimal_group = ',' 21 | elseif match(get(v:, 'lang', ''), '\v\cde|dk|fr|pt') > -1 22 | let s:decimal_group = '.' 23 | else 24 | let s:decimal_group = '' 25 | endif 26 | 27 | function! airline#extensions#wordcount#formatters#readingtime#to_string(wordcount) abort 28 | if airline#util#winwidth() > 85 29 | if a:wordcount > 999 30 | " Format number according to locale, e.g. German: 1.245 or English: 1,245 31 | let wordcount = substitute(a:wordcount, '\d\@<=\(\(\d\{3\}\)\+\)$', s:decimal_group.'&', 'g') 32 | else 33 | let wordcount = a:wordcount 34 | endif 35 | let str = printf(s:fmt, ceil(wordcount / 200.0)) 36 | else 37 | let str = printf(s:fmt_short, ceil(a:wordcount / 200.0)) 38 | endif 39 | 40 | let str .= g:airline_symbols.space 41 | 42 | if !empty(g:airline_right_alt_sep) 43 | let str .= g:airline_right_alt_sep . g:airline_symbols.space 44 | endif 45 | 46 | return str 47 | endfunction 48 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/xkblayout.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2017-2021 YoungHoon Rhiu et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | if !exists('g:XkbSwitchLib') 7 | finish 8 | endif 9 | 10 | function! airline#extensions#xkblayout#status() 11 | let keyboard_layout = libcall(g:XkbSwitchLib, 'Xkb_Switch_getXkbLayout', '') 12 | let keyboard_layout = get(split(keyboard_layout, '\.'), -1, '') 13 | let short_codes = get(g:, 'airline#extensions#xkblayout#short_codes', {'2SetKorean': 'KR', 'Chinese': 'CN', 'Japanese': 'JP'}) 14 | 15 | if has_key(short_codes, keyboard_layout) 16 | let keyboard_layout = short_codes[keyboard_layout] 17 | endif 18 | 19 | return keyboard_layout 20 | endfunction 21 | 22 | function! airline#extensions#xkblayout#init(ext) 23 | call airline#parts#define_function('xkblayout', 'airline#extensions#xkblayout#status') 24 | endfunction 25 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/ycm.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2015-2021 Evgeny Firsov et al. 2 | " Plugin: https://github.com/ycm-core/YouCompleteMe 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | if !get(g:, 'loaded_youcompleteme', 0) 8 | finish 9 | endif 10 | 11 | let s:spc = g:airline_symbols.space 12 | let s:error_symbol = get(g:, 'airline#extensions#ycm#error_symbol', 'E:') 13 | let s:warning_symbol = get(g:, 'airline#extensions#ycm#warning_symbol', 'W:') 14 | 15 | function! airline#extensions#ycm#init(ext) 16 | call airline#parts#define_function('ycm_error_count', 'airline#extensions#ycm#get_error_count') 17 | call airline#parts#define_function('ycm_warning_count', 'airline#extensions#ycm#get_warning_count') 18 | endfunction 19 | 20 | function! airline#extensions#ycm#get_error_count() abort 21 | if exists("*youcompleteme#GetErrorCount") 22 | let cnt = youcompleteme#GetErrorCount() 23 | 24 | if cnt != 0 25 | return s:error_symbol.cnt 26 | endif 27 | endif 28 | 29 | return '' 30 | endfunction 31 | 32 | function! airline#extensions#ycm#get_warning_count() 33 | if exists("*youcompleteme#GetWarningCount") 34 | let cnt = youcompleteme#GetWarningCount() 35 | 36 | if cnt != 0 37 | return s:warning_symbol.cnt.s:spc 38 | endif 39 | endif 40 | 41 | return '' 42 | endfunction 43 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/extensions/zoomwintab.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2021 Dmitry Geurkov (d.geurkov@gmail.com) 2 | " Plugin: https://github.com/troydm/zoomwintab.vim 3 | " vim: et ts=2 sts=2 sw=2 4 | 5 | scriptencoding utf-8 6 | 7 | 8 | " Avoid installing twice 9 | if exists('g:loaded_vim_airline_zoomwintab') 10 | finish 11 | endif 12 | 13 | let g:loaded_vim_airline_zoomwintab = 1 14 | 15 | let s:zoomwintab_status_zoomed_in = 16 | \ get(g:, 'airline#extensions#zoomwintab#status_zoomed_in', g:airline_left_alt_sep.' Zoomed') 17 | let s:zoomwintab_status_zoomed_out = 18 | \ get(g:, 'airline#extensions#zoomwintab#status_zoomed_out', '') 19 | 20 | function! airline#extensions#zoomwintab#apply(...) abort 21 | call airline#extensions#prepend_to_section('gutter', 22 | \ exists('t:zoomwintab') ? s:zoomwintab_status_zoomed_in : s:zoomwintab_status_zoomed_out) 23 | endfunction 24 | 25 | function! airline#extensions#zoomwintab#init(ext) abort 26 | call a:ext.add_statusline_func('airline#extensions#zoomwintab#apply') 27 | endfunction 28 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/formatter/short_path.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | 3 | function! airline#formatter#short_path#format(val) abort 4 | if get(g:, 'airline_stl_path_style', 'default') ==# 'short' 5 | return '%{pathshorten(expand("'.a:val.'"))}' 6 | endif 7 | return a:val 8 | endfunction 9 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/autoload/airline/msdos.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2021 Bailey Ling Christian Brabandt et al. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | scriptencoding utf-8 5 | 6 | " basic 16 msdos from MSDOS 7 | " see output of color, should be 8 | " 0 Black 9 | " 1 DarkBlue 10 | " 2 DarkGreen 11 | " 3 DarkCyan 12 | " 4 DarkRed 13 | " 5 DarkMagenta 14 | " 6 Brown 15 | " 7 LightGray 16 | " 8 DarkGray 17 | " 9 Blue 18 | " 10 Green 19 | " 11 Cyan 20 | " 12 Red 21 | " 13 Magenta 22 | " 14 Yellow 23 | " 15 White 24 | 25 | let s:basic16 = [ 26 | \ [ 0x00, 0x00, 0x00 ], 27 | \ [ 0x00, 0x00, 0x80 ], 28 | \ [ 0x00, 0x80, 0x00 ], 29 | \ [ 0x00, 0x80, 0x80 ], 30 | \ [ 0x80, 0x00, 0x00 ], 31 | \ [ 0x80, 0x00, 0x80 ], 32 | \ [ 0x80, 0x80, 0x00 ], 33 | \ [ 0xC0, 0xC0, 0xC0 ], 34 | \ [ 0x80, 0x80, 0x80 ], 35 | \ [ 0x00, 0x00, 0xFF ], 36 | \ [ 0x00, 0xFF, 0x00 ], 37 | \ [ 0x00, 0xFF, 0xFF ], 38 | \ [ 0xFF, 0x00, 0x00 ], 39 | \ [ 0xFF, 0x00, 0xFF ], 40 | \ [ 0xFF, 0xFF, 0x00 ], 41 | \ [ 0xFF, 0xFF, 0xFF ] 42 | \ ] 43 | 44 | if !exists(":def") || !airline#util#has_vim9_script() 45 | 46 | function! airline#msdos#round_msdos_colors(rgblist) 47 | " Check for values from MSDOS 16 color terminal 48 | let best = [] 49 | let min = 100000 50 | let list = s:basic16 51 | for value in list 52 | let t = abs(value[0] - a:rgblist[0]) + 53 | \ abs(value[1] - a:rgblist[1]) + 54 | \ abs(value[2] - a:rgblist[2]) 55 | if min > t 56 | let min = t 57 | let best = value 58 | endif 59 | endfor 60 | return index(s:basic16, best) 61 | endfunction 62 | 63 | finish 64 | 65 | else 66 | 67 | def airline#msdos#round_msdos_colors(rgblist: list): string 68 | # Check for values from MSDOS 16 color terminal 69 | var best = [] 70 | var min = 100000 71 | var t = 0 72 | for value in s:basic16 73 | t = abs(value[0] - rgblist[0]) + 74 | abs(value[1] - rgblist[1]) + 75 | abs(value[2] - rgblist[2]) 76 | if min > t 77 | min = t 78 | best = value 79 | endif 80 | endfor 81 | return string(index(s:basic16, best)) 82 | enddef 83 | endif 84 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/t/commands.vim: -------------------------------------------------------------------------------- 1 | source plugin/airline.vim 2 | doautocmd VimEnter 3 | 4 | describe 'commands' 5 | it 'should toggle off and on' 6 | execute 'AirlineToggle' 7 | Expect exists('#airline') to_be_false 8 | execute 'AirlineToggle' 9 | Expect exists('#airline') to_be_true 10 | end 11 | 12 | it 'should toggle whitespace off' 13 | call airline#extensions#load() 14 | execute 'AirlineToggleWhitespace' 15 | Expect exists('#airline_whitespace') to_be_false 16 | end 17 | 18 | it 'should toggle whitespace on' 19 | call airline#extensions#load() 20 | execute 'AirlineToggleWhitespace' 21 | Expect exists('#airline_whitespace') to_be_true 22 | end 23 | 24 | it 'should display theme name "simple"' 25 | execute 'AirlineTheme simple' 26 | Expect g:airline_theme == 'simple' 27 | end 28 | 29 | it 'should display theme name "dark"' 30 | execute 'AirlineTheme dark' 31 | Expect g:airline_theme == 'dark' 32 | end 33 | 34 | it 'should display theme name "dark" because specifying a name that does not exist' 35 | execute 'AirlineTheme doesnotexist' 36 | Expect g:airline_theme == 'dark' 37 | end 38 | 39 | it 'should display theme name molokai' 40 | colors molokai 41 | Expect g:airline_theme == 'molokai' 42 | end 43 | 44 | it 'should have a refresh command' 45 | Expect exists(':AirlineRefresh') to_be_true 46 | end 47 | 48 | it 'should have a extensions command' 49 | Expect exists(':AirlineExtensions') to_be_true 50 | end 51 | 52 | end 53 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/t/extensions_default.vim: -------------------------------------------------------------------------------- 1 | let g:airline#extensions#default#layout = [ 2 | \ [ 'c', 'a', 'b', 'warning' ], 3 | \ [ 'x', 'z', 'y' ] 4 | \ ] 5 | 6 | source plugin/airline.vim 7 | doautocmd VimEnter 8 | 9 | describe 'default' 10 | before 11 | let s:builder = airline#builder#new({'active': 1}) 12 | end 13 | 14 | it 'should use the layout "airline_a_to_airline_b"' 15 | call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 }) 16 | let stl = s:builder.build() 17 | Expect stl =~ 'airline_c_to_airline_a' 18 | end 19 | 20 | it 'should use the layout "airline_a_to_airline_b"' 21 | call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 }) 22 | let stl = s:builder.build() 23 | Expect stl =~ 'airline_a_to_airline_b' 24 | end 25 | 26 | it 'should use the layout "airline_b_to_airline_warning"' 27 | call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 }) 28 | let stl = s:builder.build() 29 | Expect stl =~ 'airline_b_to_airline_warning' 30 | end 31 | 32 | it 'should use the layout "airline_x_to_airline_z"' 33 | call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 }) 34 | let stl = s:builder.build() 35 | Expect stl =~ 'airline_x_to_airline_z' 36 | end 37 | 38 | it 'should use the layout "airline_z_to_airline_y"' 39 | call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 }) 40 | let stl = s:builder.build() 41 | Expect stl =~ 'airline_z_to_airline_y' 42 | end 43 | 44 | it 'should only render warning section in active splits' 45 | wincmd s 46 | Expect airline#statusline(1) =~ 'warning' 47 | Expect airline#statusline(2) !~ 'warning' 48 | wincmd c 49 | end 50 | end 51 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/t/extensions_tabline.vim: -------------------------------------------------------------------------------- 1 | let g:airline#extensions#tabline#enabled = 1 2 | 3 | source plugin/airline.vim 4 | doautocmd VimEnter 5 | 6 | describe 'default' 7 | 8 | it 'should use a tabline' 9 | e! CHANGELOG.md 10 | sp CONTRIBUTING.md 11 | Expect airline#extensions#tabline#get() =~# '%#airline_tabhid#...| %(%{airline#extensions#tabline#get_buffer_name(\d)}%) %#airline_tabhid_to_airline_tab# %#airline_tab#%(%{airline#extensions#tabline#get_buffer_name(\d)}%) %#airline_tab_to_airline_tabsel# %#airline_tabsel#%(%{airline#extensions#tabline#get_buffer_name(\d)}%) %#airline_tabsel_to_airline_tabfill# %#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_tablabel_right#%#airline_tablabel_right# buffers ' 12 | end 13 | 14 | it 'Trigger on BufDelete autocommands' 15 | e! CHANGELOG.md 16 | sp CONTRIBUTING.md 17 | sp README.md 18 | 2bd 19 | Expect airline#extensions#tabline#get() =~# '%#airline_tabhid#...%#airline_tabhid_to_airline_tab# %#airline_tab#%(%{airline#extensions#tabline#get_buffer_name(\d)}%) | %(%{airline#extensions#tabline#get_buffer_name(\d)}%) %#airline_tab_to_airline_tabsel# %#airline_tabsel#%(%{airline#extensions#tabline#get_buffer_name(\d)}%) %#airline_tabsel_to_airline_tabfill# %#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_tablabel_right#%#airline_tablabel_right# buffers ' 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/t/highlighter.vim: -------------------------------------------------------------------------------- 1 | let g:airline_theme = 'dark' 2 | 3 | describe 'highlighter' 4 | it 'should create separator highlight groups' 5 | hi Foo1 ctermfg=1 ctermbg=2 6 | hi Foo2 ctermfg=3 ctermbg=4 7 | call airline#highlighter#add_separator('Foo1', 'Foo2', 0) 8 | let hl = airline#highlighter#get_highlight('Foo1_to_Foo2') 9 | Expect hl == [ 'NONE', 'NONE', '4', '2', '' ] 10 | end 11 | 12 | if exists("+termguicolors") 13 | it 'should create separator highlight groups with termguicolors' 14 | set termguicolors 15 | hi Foo1 guifg=#cd0000 guibg=#00cd00 ctermfg=1 ctermbg=2 16 | hi Foo2 guifg=#cdcd00 guibg=#0000ee ctermfg=3 ctermbg=4 17 | call airline#highlighter#add_separator('Foo1', 'Foo2', 0) 18 | let hl = airline#highlighter#get_highlight('Foo1_to_Foo2') 19 | Expect hl == [ '#0000ee', '#00cd00', '4', '2', '' ] 20 | end 21 | endif 22 | 23 | it 'should populate accent colors' 24 | Expect exists('g:airline#themes#dark#palette.normal.airline_c_red') to_be_false 25 | Expect hlID('airline_c_red') == 0 26 | call airline#themes#patch(g:airline#themes#dark#palette) 27 | call airline#highlighter#add_accent('red') 28 | call airline#highlighter#highlight(['normal']) 29 | Expect hlID('airline_c_red') != 0 30 | end 31 | end 32 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/t/parts.vim: -------------------------------------------------------------------------------- 1 | describe 'parts' 2 | it 'overwrites existing values' 3 | call airline#parts#define('foo', { 'test': '123' }) 4 | Expect airline#parts#get('foo').test == '123' 5 | call airline#parts#define('foo', { 'test': '321' }) 6 | Expect airline#parts#get('foo').test == '321' 7 | end 8 | 9 | it 'can define a function part' 10 | call airline#parts#define_function('func', 'bar') 11 | Expect airline#parts#get('func').function == 'bar' 12 | end 13 | 14 | it 'can define a text part' 15 | call airline#parts#define_text('text', 'bar') 16 | Expect airline#parts#get('text').text == 'bar' 17 | end 18 | 19 | it 'can define a raw part' 20 | call airline#parts#define_raw('raw', 'bar') 21 | Expect airline#parts#get('raw').raw == 'bar' 22 | end 23 | 24 | it 'can define a minwidth' 25 | call airline#parts#define_minwidth('mw', 123) 26 | Expect airline#parts#get('mw').minwidth == 123 27 | end 28 | 29 | it 'can define a condition' 30 | call airline#parts#define_condition('part', '1') 31 | Expect airline#parts#get('part').condition == '1' 32 | end 33 | 34 | it 'can define a accent' 35 | call airline#parts#define_accent('part', 'red') 36 | Expect airline#parts#get('part').accent == 'red' 37 | end 38 | 39 | it 'value should be blank' 40 | Expect airline#parts#filetype() == '' 41 | end 42 | 43 | it 'can overwrite a filetype' 44 | set ft=aaa 45 | Expect airline#parts#filetype() == 'aaa' 46 | end 47 | 48 | it 'can overwrite a filetype' 49 | "GitHub actions's vim's column is smaller than 90 50 | set ft=aaaa 51 | if &columns >= 90 52 | Expect airline#parts#filetype() == 'aaaa' 53 | else 54 | Expect airline#parts#filetype() == 'aaa…' 55 | endif 56 | end 57 | 58 | end 59 | -------------------------------------------------------------------------------- /.vim/plugged/vim-airline/t/util.vim: -------------------------------------------------------------------------------- 1 | call airline#init#bootstrap() 2 | 3 | function! Util1() 4 | let g:count += 1 5 | endfunction 6 | function! Util2() 7 | let g:count += 2 8 | endfunction 9 | function! Util3(...) 10 | let g:count = a:0 11 | endfunction 12 | 13 | describe 'util' 14 | before 15 | let g:count = 0 16 | end 17 | 18 | it 'has append wrapper function' 19 | Expect airline#util#append('', 0) == '' 20 | Expect airline#util#append('1', 0) == ' 1' 21 | end 22 | 23 | it 'should be same &columns' 24 | let g:airline_statusline_ontop = 1 25 | Expect airline#util#winwidth() == &columns 26 | end 27 | 28 | it 'should be same winwidth(0)' 29 | let g:airline_statusline_ontop = 0 30 | Expect airline#util#winwidth() == winwidth(0) 31 | end 32 | 33 | it 'should be same winwidth(30)' 34 | Expect airline#util#winwidth(30, 0) == winwidth(30) 35 | end 36 | 37 | it 'has prepend wrapper function' 38 | Expect airline#util#prepend('', 0) == '' 39 | Expect airline#util#prepend('1', 0) == '1 ' 40 | end 41 | 42 | it 'has getwinvar function' 43 | Expect airline#util#getwinvar(1, 'asdf', '123') == '123' 44 | call setwinvar(1, 'vspec', 'is cool') 45 | Expect airline#util#getwinvar(1, 'vspec', '') == 'is cool' 46 | end 47 | 48 | it 'has exec funcrefs helper functions' 49 | call airline#util#exec_funcrefs([function('Util1'), function('Util2')]) 50 | Expect g:count == 3 51 | 52 | call airline#util#exec_funcrefs([function('Util3')], 1, 2, 3, 4) 53 | Expect g:count == 4 54 | end 55 | 56 | it 'should ignore minwidth if less than 0' 57 | Expect airline#util#append('foo', -1) == ' foo' 58 | Expect airline#util#prepend('foo', -1) == 'foo ' 59 | Expect airline#util#wrap('foo', -1) == 'foo' 60 | end 61 | 62 | it 'should return empty if winwidth() > minwidth' 63 | Expect airline#util#append('foo', 99999) == '' 64 | Expect airline#util#prepend('foo', 99999) == '' 65 | Expect airline#util#wrap('foo', 99999) == '' 66 | end 67 | end 68 | -------------------------------------------------------------------------------- /.vim/plugged/vim-signature/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Kartik Shenoy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /.vim/plugged/vim-signature/after/plugin/signature.vim: -------------------------------------------------------------------------------- 1 | " vim: fdm=marker:et:ts=4:sw=2:sts=2 2 | 3 | " Maintainer: Kartik Shenoy 4 | """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 5 | 6 | " Exit if the signs feature is not available or if the app has already been loaded (or "compatible" mode set) 7 | if ( !has('signs') 8 | \ || &cp 9 | \ ) 10 | finish 11 | endif 12 | 13 | "" Exit if vim-signature is not loaded 14 | if !exists('g:loaded_Signature') 15 | finish 16 | endif 17 | 18 | if exists('g:loaded_gitgutter') 19 | if g:SignatureMarkTextHLDynamic 20 | unlet g:SignatureMarkTextHL 21 | let g:SignatureMarkTextHL = function("signature#sign#GetGitGutterHLGroup") 22 | endif 23 | if g:SignatureMarkerTextHLDynamic 24 | unlet g:SignatureMarkerTextHL 25 | let g:SignatureMarkerTextHL = function("signature#sign#GetGitGutterHLGroup") 26 | endif 27 | endif 28 | 29 | if exists('g:loaded_signify') 30 | if g:SignatureMarkTextHLDynamic 31 | unlet g:SignatureMarkTextHL 32 | let g:SignatureMarkTextHL = function("signature#sign#GetSignifyHLGroup") 33 | endif 34 | if g:SignatureMarkerTextHLDynamic 35 | unlet g:SignatureMarkerTextHL 36 | let g:SignatureMarkerTextHL = function("signature#sign#GetSignifyHLGroup") 37 | endif 38 | endif 39 | -------------------------------------------------------------------------------- /.vim/plugged/vim-signature/doc/tags: -------------------------------------------------------------------------------- 1 | :SignatureListBufferMarks signature.txt /*:SignatureListBufferMarks* 2 | :SignatureListGlobalMarks signature.txt /*:SignatureListGlobalMarks* 3 | :SignatureListMarkers signature.txt /*:SignatureListMarkers* 4 | :SignatureRefresh signature.txt /*:SignatureRefresh* 5 | :SignatureToggleSigns signature.txt /*:SignatureToggleSigns* 6 | Signature signature.txt /*Signature* 7 | SignatureCommands signature.txt /*SignatureCommands* 8 | SignatureContributing signature.txt /*SignatureContributing* 9 | SignatureCredits signature.txt /*SignatureCredits* 10 | SignatureCustomization signature.txt /*SignatureCustomization* 11 | SignatureLicense signature.txt /*SignatureLicense* 12 | SignatureMappings signature.txt /*SignatureMappings* 13 | g:SignatureDeferPlacement signature.txt /*g:SignatureDeferPlacement* 14 | g:SignatureDeleteConfirmation signature.txt /*g:SignatureDeleteConfirmation* 15 | g:SignatureEnabledAtStartup signature.txt /*g:SignatureEnabledAtStartup* 16 | g:SignatureErrorIfNoAvailableMarks signature.txt /*g:SignatureErrorIfNoAvailableMarks* 17 | g:SignatureForceMarkPlacement signature.txt /*g:SignatureForceMarkPlacement* 18 | g:SignatureForceMarkerPlacement signature.txt /*g:SignatureForceMarkerPlacement* 19 | g:SignatureForceRemoveGlobal signature.txt /*g:SignatureForceRemoveGlobal* 20 | g:SignatureIncludeMarkers signature.txt /*g:SignatureIncludeMarkers* 21 | g:SignatureIncludeMarks signature.txt /*g:SignatureIncludeMarks* 22 | g:SignatureMap signature.txt /*g:SignatureMap* 23 | g:SignatureMap['Leader'] signature.txt /*g:SignatureMap['Leader']* 24 | g:SignatureMarkLineHL signature.txt /*g:SignatureMarkLineHL* 25 | g:SignatureMarkOrder signature.txt /*g:SignatureMarkOrder* 26 | g:SignatureMarkTextHL signature.txt /*g:SignatureMarkTextHL* 27 | g:SignatureMarkTextHLDynamic signature.txt /*g:SignatureMarkTextHLDynamic* 28 | g:SignatureMarkerLineHL signature.txt /*g:SignatureMarkerLineHL* 29 | g:SignatureMarkerTextHL signature.txt /*g:SignatureMarkerTextHL* 30 | g:SignatureMarkerTextHLDynamic signature.txt /*g:SignatureMarkerTextHLDynamic* 31 | g:SignaturePeriodicRefresh signature.txt /*g:SignaturePeriodicRefresh* 32 | g:SignaturePrioritizeMarks signature.txt /*g:SignaturePrioritizeMarks* 33 | g:SignaturePurgeConfirmation signature.txt /*g:SignaturePurgeConfirmation* 34 | g:SignatureUnconditionallyRecycleMarks signature.txt /*g:SignatureUnconditionallyRecycleMarks* 35 | g:SignatureWrapJumps signature.txt /*g:SignatureWrapJumps* 36 | signature.txt signature.txt /*signature.txt* 37 | -------------------------------------------------------------------------------- /.vim/plugged/vim-surround/doc/tags: -------------------------------------------------------------------------------- 1 | cS surround.txt /*cS* 2 | cs surround.txt /*cs* 3 | ds surround.txt /*ds* 4 | i_CTRL-G_S surround.txt /*i_CTRL-G_S* 5 | i_CTRL-G_s surround.txt /*i_CTRL-G_s* 6 | surround surround.txt /*surround* 7 | surround-customizing surround.txt /*surround-customizing* 8 | surround-issues surround.txt /*surround-issues* 9 | surround-mappings surround.txt /*surround-mappings* 10 | surround-replacements surround.txt /*surround-replacements* 11 | surround-targets surround.txt /*surround-targets* 12 | surround.txt surround.txt /*surround.txt* 13 | vS surround.txt /*vS* 14 | vgS surround.txt /*vgS* 15 | yS surround.txt /*yS* 16 | ySS surround.txt /*ySS* 17 | ys surround.txt /*ys* 18 | yss surround.txt /*yss* 19 | -------------------------------------------------------------------------------- /MyTXT/B사감과_러브레터/B사감과 러브레터.txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9002100&menuNo=200019 2 | 3 | 4 |

5 | 6 | title : B사감과 러브레터 7 | authr : 현진건by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/B사감과_러브레터/현진건-B사감과_러브레터-조선문단.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/B사감과_러브레터/현진건-B사감과_러브레터-조선문단.txt -------------------------------------------------------------------------------- /MyTXT/내마음_고요히_흐른_봄길_우에/김윤식-내마음_고요히_흐른_봄길_우에.txt: -------------------------------------------------------------------------------- 1 | 내마음 고요히 고흔봄 길우에 2 | 3 | 돌담에 색는 햇발가치 4 | 풀아래 우슴짓는 샘물가치 5 | 내마음 고요히 고흔봄 길우에 6 | 오날하루 하날을 우러르고십다 7 | 8 | 새악시볼에 떠오는 붓그럼가치 9 | 詩[시]의가슴을 살프시 젓는 물결가치 10 | 보드레한 에메랄드 얄게 흐르는 11 | 실비단 하날을 바라보고십다 12 | -------------------------------------------------------------------------------- /MyTXT/내마음_고요히_흐른_봄길_우에/내마음 고요히 흐른 봄길 우에.txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9000343&menuNo=200019 2 | 3 | 4 |

5 | 6 | title : 내마음 고요히 흐른 봄길 우에 7 | authr : 김영랑by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/단축키-VimView.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/단축키-VimView.txt -------------------------------------------------------------------------------- /MyTXT/단축키-vi.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/단축키-vi.txt -------------------------------------------------------------------------------- /MyTXT/동백꽃/김유정-동백꽃-조광.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/동백꽃/김유정-동백꽃-조광.txt -------------------------------------------------------------------------------- /MyTXT/동백꽃/동백꽃.txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9000397&menuNo=200026 2 | 3 | 4 |

5 | 6 | title : 동백꽃 7 | authr : 김유정by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/메밀꽃_필_무렵/메밀꽃 필 무렵.txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9001211&menuNo=200019 2 | 3 | 4 |

5 | 6 | title : 메밀꽃 필 무렵 7 | authr : 이효석by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/메밀꽃_필_무렵/이효석-모밀꽃_필_무렵.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/메밀꽃_필_무렵/이효석-모밀꽃_필_무렵.txt -------------------------------------------------------------------------------- /MyTXT/별헤는밤/별헤는밤.txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9000761&menuNo=200019 2 | 3 | 4 |

5 | 6 | title : 별헤는밤 7 | authr : 윤동주by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/별헤는밤/윤동주-별헤는밤-하늘과_바람과_별과_시.txt: -------------------------------------------------------------------------------- 1 | 별 헤는 밤 2 | 3 | - 윤동주 - 4 | 5 | 계절이 지나가는 하늘에는 6 | 가을로 가득 차 있습니다. 7 | 8 | 나는 아무 걱정도 없이 9 | 가을 속의 별들을 다 헬 듯합니다. 10 | 11 | 가슴 속에 하나 둘 새겨지는 별을 12 | 이제 다 못 헤는 것은 13 | 쉬이 아침이 오는 까닭이요 14 | 내일 밤이 남은 까닭이요 15 | 아직 나의 청춘이 다 하지 않은 까닭입니다. 16 | 17 | 별 하나에 추억과 18 | 별 하나에 사랑과 19 | 별 하나에 쓸쓸함과 20 | 별 하나에 동경과 21 | 별 하나에 시와 22 | 별 하나에 어머니, 어머니, 23 | 24 | 어머님, 나는 별 하나에 아름다운 말 한마디씩 불러 봅니다. 소학교 때 책상을 같이 했던 아이들 25 | 의 이름과 패, 경, 옥, 이런 이국 소녀들의 이름과, 벌써 아기 어머니된 계집애들의 이름과, 가난 26 | 한 이웃 사람들의 이름과, 비둘기, 강아지, 토끼, 노새, 노루, '프랑시스 잠', '라이너 마리아 릴 27 | 케' 이런 시인의 이름을 불러 봅니다. 28 | 29 | 이네들은 너무나 멀리 있습니다. 30 | 별이 아스라이 멀 듯이. 31 | 32 | 어머님, 33 | 그리고 당신은 멀리 북간도에 계십니다. 34 | 35 | 나는 무엇인지 그리워 36 | 이 많은 별빛이 내린 언덕 위에 37 | 내 이름자를 써 보고 38 | 흙으로 덮어 버리었습니다. 39 | 40 | 딴은 밤을 새워 우는 벌레는 41 | 부끄러운 이름을 슬퍼하는 까닭입니다. 42 | 43 | 그러나 겨울이 지나고 나의 별에도 봄이 오면 44 | 무덤 위에 파란 잔디가 피어나듯이 45 | 내 이름자 묻힌 언덕 우에도 46 | 자랑처럼 풀이 무성할거외다. 47 | 48 | -------------------------------------------------------------------------------- /MyTXT/봄_봄/김유정-봄_봄-조광.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/봄_봄/김유정-봄_봄-조광.txt -------------------------------------------------------------------------------- /MyTXT/봄_봄/봄_봄.txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9000404&menuNo=200026 2 | 3 | 4 |

5 | 6 | title : 봄·봄 7 | authr : 김유정by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/서시(序詩)/서시(序詩).txt: -------------------------------------------------------------------------------- 1 | 출처 링크 : https://gongu.copyright.or.kr/gongu/wrt/wrt/view.do?wrtSn=9000779&menuNo=200019 2 | 3 | 4 |

5 | 6 | title : 서시(序詩) 7 | authr : 윤동주by 8 | site : 공유마당 저작권 위원회
9 | is licensed under 10 | 자유이용 만료 11 | 12 |

-------------------------------------------------------------------------------- /MyTXT/서시(序詩)/윤동주-서시(序詩)-하늘과_바람과_별과_시.txt: -------------------------------------------------------------------------------- 1 | 서 시 2 | 3 | - 윤동주 - 4 | 5 | 6 | 죽는 날까지 하늘을 우러러 7 | 한 점 부끄럼이 없기를, 8 | 잎새에 이는 바람에도 9 | 나는 괴로워했다. 10 | 별을 노래하는 마음으로 11 | 모든 죽어가는 것을 사랑해야지. 12 | 그리고 나한테 주어진 길을 13 | 걸어가야겠다. 14 | 15 | 오늘 밤에도 별이 바람에 스치운다. 16 | 17 | 18 | -------------------------------------------------------------------------------- /MyTXT/종료(F4).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/MyTXT/종료(F4).txt -------------------------------------------------------------------------------- /fonts/D2Coding-Ver1.3.2-20180524.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/D2Coding-Ver1.3.2-20180524.ttf -------------------------------------------------------------------------------- /fonts/FiraCode-Retina.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/FiraCode-Retina.ttf -------------------------------------------------------------------------------- /fonts/GowunBatang-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/GowunBatang-Regular.ttf -------------------------------------------------------------------------------- /fonts/GowunDodum-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/GowunDodum-Regular.ttf -------------------------------------------------------------------------------- /fonts/Gugi-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/Gugi-Regular.ttf -------------------------------------------------------------------------------- /fonts/HANBatang.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/HANBatang.ttf -------------------------------------------------------------------------------- /fonts/HANDotum.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/HANDotum.ttf -------------------------------------------------------------------------------- /fonts/Hack-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/Hack-Regular.ttf -------------------------------------------------------------------------------- /fonts/JetBrainsMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/JetBrainsMono-Regular.ttf -------------------------------------------------------------------------------- /fonts/KNPSBandali.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/KNPSBandali.otf -------------------------------------------------------------------------------- /fonts/KNPSKkomi.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/KNPSKkomi.otf -------------------------------------------------------------------------------- /fonts/MaruBuri-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/MaruBuri-Regular.ttf -------------------------------------------------------------------------------- /fonts/NIXGONFONTS-M-2.0.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NIXGONFONTS-M-2.0.ttf -------------------------------------------------------------------------------- /fonts/NanumBarunGothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NanumBarunGothic.ttf -------------------------------------------------------------------------------- /fonts/NanumBarunpenR.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NanumBarunpenR.ttf -------------------------------------------------------------------------------- /fonts/NanumGothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NanumGothic.ttf -------------------------------------------------------------------------------- /fonts/NanumMyeongjo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NanumMyeongjo.ttf -------------------------------------------------------------------------------- /fonts/NanumPen.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NanumPen.ttf -------------------------------------------------------------------------------- /fonts/NanumSquareRoundR.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NanumSquareRoundR.ttf -------------------------------------------------------------------------------- /fonts/NovaMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/NovaMono-Regular.ttf -------------------------------------------------------------------------------- /fonts/PoorStory-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/PoorStory-Regular.ttf -------------------------------------------------------------------------------- /fonts/PretendardVariable.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/PretendardVariable.ttf -------------------------------------------------------------------------------- /fonts/RIDIBatang.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/RIDIBatang.otf -------------------------------------------------------------------------------- /fonts/SDSamliphopangcheTTFBasic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/SDSamliphopangcheTTFBasic.ttf -------------------------------------------------------------------------------- /fonts/SDSamliphopangcheTTFOutline.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/SDSamliphopangcheTTFOutline.ttf -------------------------------------------------------------------------------- /fonts/Sunflower-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/Sunflower-Light.ttf -------------------------------------------------------------------------------- /fonts/UbuntuMono-R.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/UbuntuMono-R.ttf -------------------------------------------------------------------------------- /fonts/라이선스_D2Coding.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/라이선스_D2Coding.txt -------------------------------------------------------------------------------- /fonts/라이선스_닉스곤폰트.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/라이선스_닉스곤폰트.txt -------------------------------------------------------------------------------- /fonts/라이선스_리디바탕.txt: -------------------------------------------------------------------------------- 1 | # 리디바탕 2 | 3 | https://www.ridicorp.com/ridibatang/ 4 | 5 | 라이선스 안내 6 | 7 | 리디바탕 글꼴은 개인 및 기업 사용자를 포함한 모든 사용자에게 무료로 제공되며 자유롭게 수정하고 재배포하실 수 있습니다. 단, 글꼴 자체를 유료로 판매하는 것은 금지하며, 리디바탕 글꼴은 본 저작권 안내와 라이선스 전문을 포함해서 다른 소프트웨어와 번들하거나 재배포 또는 판매가 가능합니다. 라이선스 전문을 포함하기 어려울 경우, 리디바탕 글꼴의 출처 표기를 권장합니다. 예) 이 페이지는 리디주식회사에서 제공한 리디바탕 글꼴이 사용되어 있습니다. 8 | 9 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 10 | 11 | 리디바탕의 저작권은 리디주식회사가 소유하고 있습니다. 12 | 13 | 라이선스 안내 14 | 15 | Android, iOS 리디북스 앱과 PAPER를 최신 버전으로 업데이트하여 리디바탕을 사용해보세요. 16 | 17 | -------------------------------------------------------------------------------- /fonts/라이선스_삼립호빵체.txt: -------------------------------------------------------------------------------- 1 | # 삼립호빵체 2 | 3 | http://spcsamlip.co.kr/sandoll-samlip-hopang/ 4 | 5 | Sandoll 삼립호빵체 라이선스 표기 6 | 7 | Sandoll 삼립호빵체는 개인 및 기업 사용자를 포함한 모든 사용자에게 무료로 제공되며 자유롭게 수정하고 재배포하실 수 있습니다. 단, 글꼴 자체를 유료로 판매하는 것은 금지하며, Sandoll 삼립호빵체는 본 저작권 안내와 라이선스 전문을 포함해서 다른 소프트웨어와 번들하거나 재배포 또는 판매가 가능합니다. 라이선스 전문을 포함하기 어려울 경우, Sandoll 삼립호빵체의 출처 표기를 권장합니다. 예) 이 페이지는 (주)SPC삼립에서 제공한 Sandoll 삼립호빵체가 사용되어 있습니다. 8 | 9 | Sandoll 삼립호빵체 사용범위 보기 10 | 11 | 카테고리 사용범위 사용가능 여부 12 | 13 | 인쇄 브로슈어, 카탈로그, DM, 전단지, 포스터, 패키지, 캘린더 등 인쇄물 ◯ 14 | 15 | 책, 만화책, 잡지, 정기간행물, 신문 등 출판물 ◯ 16 | 17 | 간판, 현수막, 판넬 등 제작물 ◯ 18 | 19 | 신문광고, 잡지광고, 차량광고 등 광고물 ◯ 20 | 21 | 신문 제목 및 텍스트 ◯ 22 | 23 | 인쇄 및 문서 공유를 위한 PDF 파일 제작 ◯ 24 | 25 | CI / BI 회사명, 브랜드명, 상품명, 로고, 마크, 슬로건, 캐치프레이즈 ◯ 26 | 27 | 웹사이트 웹페이지, 광고배너, 메일, 웹툰, E-카달로그 ◯ 28 | 29 | 웹서버용 폰트 ◯ 30 | 31 | 영상 방송 및 영상물 자막 ◯ 32 | 33 | TV-CF, 온라인 영상광고 ◯ 34 | 35 | 영화(DVD / 비디오), 오프닝, 엔딩크레딧 자막 ◯ 36 | 37 | 개인 UCC 및 홍보물 ◯ 38 | 39 | E-Learning 콘텐츠, 온라인 동영상강좌, 플래시 강좌 등 ◯ 40 | 41 | 디바이스 모바일, MP3, PMP, 내비게이션, 셋탑박스, 게임기 등 디바이스 내 탑재 ◯ 42 | 43 | 어플리케이션 GUI디자인 등 ◯ 44 | 45 | 전광판 및 안내시스템, ATM기기 등 ◯ 46 | 47 | 서버 서버 탑재 후 웹서비스 및 프로그램 내 서비스(게임 등) ◯ 48 | 49 | E-book E-Book 기기 내 UI 제작, 폰트탑재 ◯ 50 | 51 | 도서 및 잡지 등을 E-Book 콘텐츠(ePUB, PDF)로 변환 서비스 ◯ 52 | 53 | 임베이딩 폰트파일 임베이딩 서비스 ◯ 54 | 55 | 기타 직접 판매 목적의 이미지 제작(2차 제작결과물) ◯ 56 | 57 | 스템프, T셔츠 등 서체 디자인이 직접 활용된 상품 제작 ◯ 58 | 59 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 60 | 61 | Sandoll 삼립호빵체의 저작권은 (주)SPC삼립과 (주)산돌이 공동 소유하고 있습니다. 62 | 63 | -------------------------------------------------------------------------------- /fonts/라이선스_함초롬체.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/fonts/라이선스_함초롬체.txt -------------------------------------------------------------------------------- /fonts/안심글꼴_반달이_꼬미.txt: -------------------------------------------------------------------------------- 1 | https://www.knps.or.kr/portal/bandal/sub01.do 2 | -------------------------------------------------------------------------------- /src/VimView/VimView.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define CMD_SIZE 2048 5 | #define ENVHOME_SIZE (MAX_PATH+5) 6 | 7 | int APIENTRY wWinMain( 8 | _In_ HINSTANCE hInstance, 9 | _In_opt_ HINSTANCE hPrevInstance, 10 | _In_ LPWSTR lpCmdLine, 11 | _In_ int nCmdShow) 12 | { 13 | STARTUPINFOW si = {0, }; 14 | PROCESS_INFORMATION pi; 15 | 16 | wchar_t * cmd; 17 | wchar_t cmd2[CMD_SIZE] = { 0, }; 18 | wchar_t envHome[ENVHOME_SIZE] = { 0, }; 19 | wchar_t szHome[MAX_PATH]; 20 | wchar_t ex[] = L"\\vim82\\gvim.exe"; 21 | wchar_t info[] = L"\\config\\_viminfo.txt"; 22 | wchar_t rc[] = L"\\config\\_vimrc.txt"; 23 | size_t i = 0; 24 | size_t n = 0; 25 | size_t pos = 0; 26 | BOOL bPos = FALSE; 27 | size_t size_cmd2 = 0; 28 | size_t size_lpCmdLine = 0; 29 | BOOL bFree = 0; 30 | 31 | ZeroMemory( &si, sizeof(si) ); 32 | si.cb = sizeof(si); 33 | ZeroMemory( &pi, sizeof(pi) ); 34 | 35 | // get home path 36 | GetModuleFileNameW(NULL, szHome, MAX_PATH); 37 | n = wcslen(szHome); 38 | while (i < n) { 39 | if (szHome[i] == L'\\') { 40 | bPos = TRUE; 41 | pos = i; 42 | } 43 | i++; 44 | } 45 | if (bPos) { 46 | szHome[pos] = 0; 47 | } 48 | 49 | // set home path : makes Vim Text Viewer portable 50 | swprintf(envHome, ENVHOME_SIZE, L"HOME=%ls", szHome); 51 | _wputenv(envHome); 52 | 53 | swprintf(cmd2, CMD_SIZE, L"\"%ls%ls\" -i \"%ls%ls\" -u \"%ls%ls\"", szHome, ex, szHome, info, szHome, rc); 54 | size_cmd2 = wcslen(cmd2); 55 | size_lpCmdLine = wcslen(lpCmdLine); 56 | 57 | if (size_lpCmdLine == 0) { 58 | cmd = cmd2; 59 | } else if (size_cmd2 + 1 + size_lpCmdLine < CMD_SIZE) { 60 | swprintf(cmd2, CMD_SIZE, L"\"%ls%ls\" -i \"%ls%ls\" -u \"%ls%ls\" %ls", szHome, ex, szHome, info, szHome, rc, lpCmdLine); 61 | cmd = cmd2; 62 | } else { 63 | cmd = (wchar_t *) calloc(size_cmd2+1+size_lpCmdLine+1,sizeof(wchar_t)); 64 | if (cmd == NULL) { 65 | exit(1); 66 | } 67 | bFree = TRUE; 68 | swprintf(cmd, CMD_SIZE, L"\"%ls%ls\" -i \"%ls%ls\" -u \"%ls%ls\" %ls", szHome, ex, szHome, info, szHome, rc, lpCmdLine); 69 | } 70 | 71 | if (!CreateProcessW(NULL, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) { 72 | if (bFree) { 73 | free(cmd); 74 | } 75 | exit(1); 76 | } 77 | 78 | if (bFree) { 79 | free(cmd); 80 | } 81 | 82 | CloseHandle(pi.hProcess); 83 | CloseHandle(pi.hThread); 84 | 85 | return 0; 86 | } 87 | -------------------------------------------------------------------------------- /src/VimView/VimView.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/VimView.ico -------------------------------------------------------------------------------- /src/VimView/VimView.rc: -------------------------------------------------------------------------------- 1 | #include "resource.h" 2 | IDI_ICON1 ICON "VimView.ico" 3 | -------------------------------------------------------------------------------- /src/VimView/bin-vs2013-xp/bin32-xp/VimView.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/bin-vs2013-xp/bin32-xp/VimView.exe -------------------------------------------------------------------------------- /src/VimView/bin-vs2013-xp/bin32-xp/vi.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/bin-vs2013-xp/bin32-xp/vi.exe -------------------------------------------------------------------------------- /src/VimView/bin-vs2013-xp/bin64-xp/VimView.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/bin-vs2013-xp/bin64-xp/VimView.exe -------------------------------------------------------------------------------- /src/VimView/bin-vs2013-xp/bin64-xp/vi.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/bin-vs2013-xp/bin64-xp/vi.exe -------------------------------------------------------------------------------- /src/VimView/bin-vs2013-xp/makefile-cl-win32-xp: -------------------------------------------------------------------------------- 1 | CC =cl 2 | RC =rc 3 | CFLAGS =/MT /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /Zc:inline /fp:precise /D _MBCS /D _USING_V110_SDK71_ /WX- /Zc:forScope /Gd /Oi /FC /EHsc /nologo 4 | LFLAGS =/link /SUBSYSTEM:WINDOWS,5.01 /NXCOMPAT /DYNAMICBASE kernel32.lib user32.lib /OPT:REF /OPT:ICF /NOLOGO /TLBID:1 5 | RFLAGS =/nologo 6 | 7 | all: clean release 8 | release: VimView.c 9 | @echo. 10 | IF NOT EXIST bin32 MKDIR bin32 11 | @echo. 12 | $(RC) $(RFLAGS) VimView.rc 13 | $(CC) $(CFLAGS) vi.c VimView.res /Fe: "bin32\vi.exe" $(LFLAGS) 14 | $(CC) $(CFLAGS) VimView.c VimView.res /Fe: "bin32\VimView.exe" $(LFLAGS) 15 | 16 | clean: 17 | del *.obj 18 | del *.exp 19 | del *.lib 20 | del *.pdb 21 | del *.ilk 22 | del *.res 23 | 24 | distclean: clean 25 | rmdir /s bin32 26 | -------------------------------------------------------------------------------- /src/VimView/bin-vs2013-xp/makefile-cl-x64-xp: -------------------------------------------------------------------------------- 1 | CC =cl 2 | RC =rc 3 | CFLAGS =/MT /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /Zc:inline /fp:precise /D _MBCS /D _USING_V110_SDK71_ /WX- /Zc:forScope /Gd /Oi /FC /EHsc /nologo 4 | LFLAGS =/link /SUBSYSTEM:WINDOWS,5.02 /NXCOMPAT /DYNAMICBASE kernel32.lib user32.lib /OPT:REF /OPT:ICF /NOLOGO /TLBID:1 5 | RFLAGS =/nologo 6 | 7 | all: clean release 8 | release: VimView.c 9 | @echo. 10 | IF NOT EXIST bin64 MKDIR bin64 11 | @echo. 12 | $(RC) $(RFLAGS) VimView.rc 13 | $(CC) $(CFLAGS) vi.c VimView.res /Fe: "bin64\vi.exe" $(LFLAGS) 14 | $(CC) $(CFLAGS) VimView.c VimView.res /Fe: "bin64\VimView.exe" $(LFLAGS) 15 | 16 | clean: 17 | del *.obj 18 | del *.exp 19 | del *.lib 20 | del *.pdb 21 | del *.ilk 22 | del *.res 23 | 24 | distclean: clean 25 | rmdir /s bin64 26 | -------------------------------------------------------------------------------- /src/VimView/bin-vs2022/bin64/VimView.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/bin-vs2022/bin64/VimView.exe -------------------------------------------------------------------------------- /src/VimView/bin-vs2022/bin64/vi.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/VimView/bin-vs2022/bin64/vi.exe -------------------------------------------------------------------------------- /src/VimView/makefile-cl-win32: -------------------------------------------------------------------------------- 1 | CC =cl 2 | RC =rc 3 | CFLAGS =/MT /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /Zc:inline /fp:precise /D _MBCS /WX- /Zc:forScope /Gd /Oi /FC /EHsc /nologo 4 | LFLAGS =/link /SUBSYSTEM:WINDOWS /NXCOMPAT /DYNAMICBASE kernel32.lib user32.lib /OPT:REF /OPT:ICF /NOLOGO /TLBID:1 5 | RFLAGS =/nologo 6 | 7 | all: clean release 8 | release: VimView.c 9 | @echo. 10 | IF NOT EXIST bin32 MKDIR bin32 11 | @echo. 12 | $(RC) $(RFLAGS) VimView.rc 13 | $(CC) $(CFLAGS) vi.c VimView.res /Fe: "bin32\vi.exe" $(LFLAGS) 14 | $(CC) $(CFLAGS) VimView.c VimView.res /Fe: "bin32\VimView.exe" $(LFLAGS) 15 | 16 | clean: 17 | del *.obj 18 | del *.exp 19 | del *.lib 20 | del *.pdb 21 | del *.ilk 22 | del *.res 23 | 24 | distclean: clean 25 | rmdir /s bin32 26 | -------------------------------------------------------------------------------- /src/VimView/makefile-cl-x64: -------------------------------------------------------------------------------- 1 | CC =cl 2 | RC =rc 3 | CFLAGS =/MT /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /Zc:inline /fp:precise /D _MBCS /WX- /Zc:forScope /Gd /Oi /FC /EHsc /nologo 4 | LFLAGS =/link /SUBSYSTEM:WINDOWS /NXCOMPAT /DYNAMICBASE kernel32.lib user32.lib /OPT:REF /OPT:ICF /NOLOGO /TLBID:1 5 | RFLAGS =/nologo 6 | 7 | all: clean release 8 | release: VimView.c 9 | @echo. 10 | IF NOT EXIST bin64 MKDIR bin64 11 | @echo. 12 | $(RC) $(RFLAGS) VimView.rc 13 | $(CC) $(CFLAGS) vi.c VimView.res /Fe: "bin64\vi.exe" $(LFLAGS) 14 | $(CC) $(CFLAGS) VimView.c VimView.res /Fe: "bin64\VimView.exe" $(LFLAGS) 15 | 16 | clean: 17 | del *.obj 18 | del *.exp 19 | del *.lib 20 | del *.pdb 21 | del *.ilk 22 | del *.res 23 | 24 | distclean: clean 25 | rmdir /s bin64 26 | -------------------------------------------------------------------------------- /src/VimView/makefile-gcc-win32: -------------------------------------------------------------------------------- 1 | CC=gcc.exe 2 | GCCWINFLAGS=-D UNICODE -D _UNICODE -municode -mwindows -Os --std=c11 -static -lgcc 3 | 4 | all: clean release 5 | 6 | release: VimView.c 7 | @echo. 8 | IF NOT EXIST bin32-gcc MKDIR bin32-gcc 9 | @echo. 10 | windres VimView.rc -O coff -o VimView.res 11 | $(CC) -o "bin32-gcc\vi.exe" vi.c VimView.res $(GCCWINFLAGS) 12 | $(CC) -o "bin32-gcc\VimView.exe" VimView.c VimView.res $(GCCWINFLAGS) 13 | 14 | .PHONY: clean 15 | clean: 16 | del *.obj 17 | del *.res 18 | -------------------------------------------------------------------------------- /src/VimView/makefile-gcc-x64: -------------------------------------------------------------------------------- 1 | CC=gcc.exe 2 | GCCWINFLAGS=-D UNICODE -D _UNICODE -municode -mwindows -Os --std=c11 -static -lgcc 3 | 4 | all: clean release 5 | 6 | release: VimView.c 7 | @echo. 8 | IF NOT EXIST bin64-gcc MKDIR bin64-gcc 9 | @echo. 10 | windres VimView.rc -O coff -o VimView.res 11 | $(CC) -o "bin64-gcc\vi.exe" vi.c VimView.res $(GCCWINFLAGS) 12 | $(CC) -o "bin64-gcc\VimView.exe" VimView.c VimView.res $(GCCWINFLAGS) 13 | 14 | .PHONY: clean 15 | clean: 16 | del *.obj 17 | del *.res 18 | -------------------------------------------------------------------------------- /src/VimView/resource.h: -------------------------------------------------------------------------------- 1 | #define IDI_ICON1 101 2 | -------------------------------------------------------------------------------- /src/VimView/vi.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define CMD_SIZE 2048 5 | #define ENVHOME_SIZE (MAX_PATH+5) 6 | 7 | int APIENTRY wWinMain( 8 | _In_ HINSTANCE hInstance, 9 | _In_opt_ HINSTANCE hPrevInstance, 10 | _In_ LPWSTR lpCmdLine, 11 | _In_ int nCmdShow) 12 | { 13 | STARTUPINFOW si = {0, }; 14 | PROCESS_INFORMATION pi; 15 | 16 | wchar_t * cmd; 17 | wchar_t cmd2[CMD_SIZE] = { 0, }; 18 | wchar_t envHome[ENVHOME_SIZE] = { 0, }; 19 | wchar_t szHome[MAX_PATH]; 20 | wchar_t ex[] = L"\\vim82\\gvim.exe"; 21 | wchar_t info[] = L"\\config\\_viminfo.txt"; 22 | wchar_t rc[] = L"\\config\\_vimrc_vi.txt"; 23 | size_t i = 0; 24 | size_t n = 0; 25 | size_t pos = 0; 26 | BOOL bPos = FALSE; 27 | size_t size_cmd2 = 0; 28 | size_t size_lpCmdLine = 0; 29 | BOOL bFree = 0; 30 | 31 | ZeroMemory( &si, sizeof(si) ); 32 | si.cb = sizeof(si); 33 | ZeroMemory( &pi, sizeof(pi) ); 34 | 35 | // get home path 36 | GetModuleFileNameW(NULL, szHome, MAX_PATH); 37 | n = wcslen(szHome); 38 | while (i < n) { 39 | if (szHome[i] == L'\\') { 40 | bPos = TRUE; 41 | pos = i; 42 | } 43 | i++; 44 | } 45 | if (bPos) { 46 | szHome[pos] = 0; 47 | } 48 | 49 | // set home path : makes Vim Text Viewer portable 50 | swprintf(envHome, ENVHOME_SIZE, L"HOME=%ls", szHome); 51 | _wputenv(envHome); 52 | 53 | swprintf(cmd2, CMD_SIZE, L"\"%ls%ls\" -i \"%ls%ls\" -u \"%ls%ls\"", szHome, ex, szHome, info, szHome, rc); 54 | size_cmd2 = wcslen(cmd2); 55 | size_lpCmdLine = wcslen(lpCmdLine); 56 | 57 | if (size_lpCmdLine == 0) { 58 | cmd = cmd2; 59 | } else if (size_cmd2 + 1 + size_lpCmdLine < CMD_SIZE) { 60 | swprintf(cmd2, CMD_SIZE, L"\"%ls%ls\" -i \"%ls%ls\" -u \"%ls%ls\" %ls", szHome, ex, szHome, info, szHome, rc, lpCmdLine); 61 | cmd = cmd2; 62 | } else { 63 | cmd = (wchar_t *) calloc(size_cmd2+1+size_lpCmdLine+1,sizeof(wchar_t)); 64 | if (cmd == NULL) { 65 | exit(1); 66 | } 67 | bFree = TRUE; 68 | swprintf(cmd, CMD_SIZE, L"\"%ls%ls\" -i \"%ls%ls\" -u \"%ls%ls\" %ls", szHome, ex, szHome, info, szHome, rc, lpCmdLine); 69 | } 70 | 71 | if (!CreateProcessW(NULL, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) { 72 | if (bFree) { 73 | free(cmd); 74 | } 75 | exit(1); 76 | } 77 | 78 | if (bFree) { 79 | free(cmd); 80 | } 81 | 82 | CloseHandle(pi.hProcess); 83 | CloseHandle(pi.hThread); 84 | 85 | return 0; 86 | } 87 | -------------------------------------------------------------------------------- /src/build/make/msys2/msys32.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | set PATH=c:\msys64\mingw32\bin;c:\msys64\usr\bin;%PATH% 5 | 6 | set "USERNAME=appveyor" 7 | set "USERDOMAIN=APPVYR-WIN" 8 | 9 | mingw32-make.exe -f Make_ming.mak clean 10 | mingw32-make.exe -f Make_ming.mak ARCH=i686 -j8 CXXFLAGS="-DFEAT_PROPORTIONAL_FONTS" DIRECTX=yes COLOR_EMOJI=no GUI=yes OLE=no IME=yes MBYTE=yes FEATURES=HUGE OPTIMIZE=MAXSPEED STATIC_STDCPLUS=yes NETBEANS=no ICONV=yes TERMINAL=yes DEBUG=no 11 | 12 | mingw32-make.exe -f Make_ming.mak clean 13 | mingw32-make.exe -f Make_ming.mak ARCH=i686 -j8 DIRECTX=no COLOR_EMOJI=no GUI=no OLE=no IME=yes MBYTE=yes FEATURES=HUGE OPTIMIZE=MAXSPEED STATIC_STDCPLUS=yes NETBEANS=no ICONV=yes TERMINAL=yes DEBUG=no 14 | 15 | exit /b 16 | -------------------------------------------------------------------------------- /src/build/make/msys2/msys64.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | set PATH=c:\msys64\mingw64\bin;c:\msys64\usr\bin;%PATH% 5 | 6 | set "USERNAME=appveyor" 7 | set "USERDOMAIN=APPVYR-WIN" 8 | 9 | mingw32-make.exe -f Make_ming.mak clean 10 | mingw32-make.exe -f Make_ming.mak ARCH=x86-64 -j8 CXXFLAGS="-DFEAT_PROPORTIONAL_FONTS" DIRECTX=yes COLOR_EMOJI=no GUI=yes OLE=no IME=yes MBYTE=yes FEATURES=HUGE OPTIMIZE=MAXSPEED STATIC_STDCPLUS=yes NETBEANS=no ICONV=yes TERMINAL=yes DEBUG=no 11 | 12 | mingw32-make.exe -f Make_ming.mak clean 13 | mingw32-make.exe -f Make_ming.mak ARCH=x86-64 -j8 DIRECTX=no COLOR_EMOJI=no GUI=no OLE=no IME=yes MBYTE=yes FEATURES=HUGE OPTIMIZE=MAXSPEED STATIC_STDCPLUS=yes NETBEANS=no ICONV=yes TERMINAL=yes DEBUG=no 14 | 15 | exit /b 16 | -------------------------------------------------------------------------------- /src/build/make/sdk71-xp/sdk71_xp.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" 5 | 6 | set "USERNAME=appveyor" 7 | set "USERDOMAIN=APPVYR-WIN" 8 | 9 | nmake.exe -f Make_mvc.mak clean 10 | nmake.exe -f Make_mvc.mak "DEFINES=-DFEAT_PROPORTIONAL_FONTS" GUI=yes OLE=no DIRECTX=yes COLOR_EMOJI=no FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 11 | 12 | nmake.exe -f Make_mvc.mak clean 13 | nmake.exe -f Make_mvc.mak GUI=no OLE=no DIRECTX=no COLOR_EMOJI=no FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 14 | 15 | exit /b 16 | -------------------------------------------------------------------------------- /src/build/make/vs2013/vs2013_win32.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | :_32bit 5 | 6 | call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 7 | 8 | set WinSdk71=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A 9 | set INCLUDE=%WinSdk71%\Include;%INCLUDE% 10 | set LIB=%WinSdk71%\Lib;%LIB% 11 | set CL=/D_USING_V110_SDK71_ 12 | 13 | set "USERNAME=appveyor" 14 | set "USERDOMAIN=APPVYR-WIN" 15 | 16 | nmake -f Make_mvc.mak clean 17 | nmake -f Make_mvc.mak "DEFINES=-DFEAT_PROPORTIONAL_FONTS" WINVER=0x0501 SUBSYSTEM_VER=5.01 GUI=yes OLE=no DIRECTX=yes COLOR_EMOJI=no FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 18 | 19 | nmake -f Make_mvc.mak clean 20 | nmake -f Make_mvc.mak WINVER=0x0501 SUBSYSTEM_VER=5.01 GUI=no OLE=no DIRECTX=no COLOR_EMOJI=no FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 21 | 22 | exit /b 23 | -------------------------------------------------------------------------------- /src/build/make/vs2013/vs2013_x64.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | :_64bit 5 | 6 | call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64 7 | 8 | set WinSdk71=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A 9 | set INCLUDE=%WinSdk71%\Include;%INCLUDE% 10 | set LIB=%WinSdk71%\Lib\x64;%LIB% 11 | set CL=/D_USING_V110_SDK71_ 12 | 13 | set "USERNAME=appveyor" 14 | set "USERDOMAIN=APPVYR-WIN" 15 | 16 | nmake -f Make_mvc.mak clean 17 | nmake -f Make_mvc.mak "DEFINES=-DFEAT_PROPORTIONAL_FONTS" WINVER=0x0501 SUBSYSTEM_VER=5.02 GUI=yes OLE=no DIRECTX=yes COLOR_EMOJI=no FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 18 | 19 | nmake -f Make_mvc.mak clean 20 | nmake -f Make_mvc.mak WINVER=0x0501 SUBSYSTEM_VER=5.02 GUI=no OLE=no DIRECTX=no COLOR_EMOJI=no FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 21 | 22 | exit /b 23 | -------------------------------------------------------------------------------- /src/build/make/vs2022/vs2022_win32.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | :_32bit 5 | 6 | call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32" 7 | 8 | set "USERNAME=appveyor" 9 | set "USERDOMAIN=APPVYR-WIN" 10 | 11 | nmake -f Make_mvc.mak clean 12 | nmake -f Make_mvc.mak "DEFINES=-DFEAT_PROPORTIONAL_FONTS" GUI=yes OLE=no DIRECTX=yes COLOR_EMOJI=yes FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 13 | 14 | nmake -f Make_mvc.mak clean 15 | nmake -f Make_mvc.mak GUI=no OLE=no DIRECTX=no COLOR_EMOJI=yes FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 16 | 17 | exit /b 18 | -------------------------------------------------------------------------------- /src/build/make/vs2022/vs2022_x64.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | :_64bit 5 | 6 | call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64" 7 | 8 | set "USERNAME=appveyor" 9 | set "USERDOMAIN=APPVYR-WIN" 10 | 11 | nmake -f Make_mvc.mak clean 12 | nmake -f Make_mvc.mak "DEFINES=-DFEAT_PROPORTIONAL_FONTS" GUI=yes OLE=no DIRECTX=yes COLOR_EMOJI=yes FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 13 | 14 | nmake -f Make_mvc.mak clean 15 | nmake -f Make_mvc.mak GUI=no OLE=no DIRECTX=no COLOR_EMOJI=yes FEATURES=HUGE IME=yes MBYTE=yes ICONV=yes DEBUG=no CSCOPE=yes OPTIMIZE=MAXSPEED TERMINAL=yes 16 | 17 | exit /b 18 | -------------------------------------------------------------------------------- /src/build/patch/ypadding/gui.c.patch: -------------------------------------------------------------------------------- 1 | diff --git a/gui.c b/gui.c 2 | index fb589fc..bfcb1ee 100644 3 | --- a/gui.c 4 | +++ b/gui.c 5 | @@ -1428,7 +1428,7 @@ gui_position_components(int total_width UNUSED) 6 | if (gui.which_scrollbars[SBAR_LEFT]) 7 | text_area_x += gui.scrollbar_width; 8 | 9 | - text_area_y = 0; 10 | + text_area_y = p_ypd; 11 | #if defined(FEAT_MENU) && !(defined(FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON)) 12 | gui.menu_width = total_width; 13 | if (gui.menu_is_active) 14 | @@ -1480,7 +1480,7 @@ gui_position_components(int total_width UNUSED) 15 | text_area_y + text_area_height 16 | + gui_mch_get_scrollbar_ypadding(), 17 | text_area_width, 18 | - gui.scrollbar_height); 19 | + gui.scrollbar_height + p_ypd); 20 | gui.left_sbar_x = 0; 21 | gui.right_sbar_x = text_area_x + text_area_width 22 | + gui_mch_get_scrollbar_xpadding(); 23 | @@ -1512,7 +1512,7 @@ gui_get_base_height(void) 24 | { 25 | int base_height; 26 | 27 | - base_height = 2 * gui.border_offset; 28 | + base_height = 2 * gui.border_offset + p_ypd; 29 | if (gui.which_scrollbars[SBAR_BOTTOM]) 30 | base_height += gui.scrollbar_height; 31 | #ifdef FEAT_GUI_GTK 32 | @@ -4344,14 +4344,14 @@ gui_update_scrollbars( 33 | { 34 | gui_mch_set_scrollbar_pos(&wp->w_scrollbars[SBAR_LEFT], 35 | gui.left_sbar_x, y, 36 | - gui.scrollbar_width, h); 37 | + gui.scrollbar_width, h + p_ypd); 38 | gui_do_scrollbar(wp, SBAR_LEFT, TRUE); 39 | } 40 | if (gui.which_scrollbars[SBAR_RIGHT]) 41 | { 42 | gui_mch_set_scrollbar_pos(&wp->w_scrollbars[SBAR_RIGHT], 43 | gui.right_sbar_x, y, 44 | - gui.scrollbar_width, h); 45 | + gui.scrollbar_width, h + p_ypd); 46 | gui_do_scrollbar(wp, SBAR_RIGHT, TRUE); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/build/patch/ypadding/option.h.patch: -------------------------------------------------------------------------------- 1 | diff --git a/option.h b/option.h 2 | index 2116fe9..f9b3115 100644 3 | --- a/option.h 4 | +++ b/option.h 5 | @@ -1097,6 +1097,7 @@ EXTERN int p_wa; // 'writeany' 6 | EXTERN int p_wb; // 'writebackup' 7 | EXTERN long p_wd; // 'writedelay' 8 | EXTERN int p_xtermcodes; // 'xtermcodes' 9 | +EXTERN long p_ypd; // 'ypadding' 10 | 11 | /* 12 | * "indir" values for buffer-local options. 13 | -------------------------------------------------------------------------------- /src/build/patch/ypadding/optiondefs.h.patch: -------------------------------------------------------------------------------- 1 | diff --git a/optiondefs.h b/optiondefs.h 2 | index 650c622..6d224e0 100644 3 | --- a/optiondefs.h 4 | +++ b/optiondefs.h 5 | @@ -2918,6 +2918,9 @@ static struct vimoption options[] = 6 | {"xtermcodes", NULL, P_BOOL|P_VI_DEF, 7 | (char_u *)&p_xtermcodes, PV_NONE, 8 | {(char_u *)TRUE, (char_u *)0L} SCTX_INIT}, 9 | + {"ypadding", "ypd", P_NUM|P_VI_DEF, 10 | + (char_u *)&p_ypd, PV_NONE, 11 | + {(char_u *)0L, (char_u *)0L} SCTX_INIT}, 12 | 13 | // terminal output codes 14 | #define p_term(sss, vvv) {sss, NULL, P_STRING|P_VI_DEF|P_RALL|P_SECURE, \ 15 | -------------------------------------------------------------------------------- /src/build/patch/ypadding/patch_ypadding.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | patch gui.c < gui.c.patch 4 | patch option.h < option.h.patch 5 | patch optiondefs.h < optiondefs.h.patch 6 | exit /b 7 | -------------------------------------------------------------------------------- /src/gvimfullscreen_win32_mod/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | 3 | gVimFullScreen-Mod 4 | 5 | * What is this 6 | This is a copy of Derek McLoughlin's gVimFullScreen and Yasuhiro Matsumoto's VimTweak to deal with window opacity and window FullScreen/MaximizedScreen on, off and toggle 7 | 8 | * Compiling 9 | Compile the DLL using any version of Visual C++ for Windows 10 | Use the makefile - nmake 11 | copy gvimfullscreen.dll to the directory that has gvim.exe 12 | 13 | -------------------------------------------------------------------------------- 14 | 15 | gVimWin32FullScreen 16 | Derek McLoughlin 17 | 18 | * What is this 19 | Put gvim into full screen in Microsoft Windows. 20 | This is a copy of Yasuhiro Matsumoto's VimTweak's EnableMaximize 21 | functionality modified to deal with window borders and making the 22 | window overlap the task bar. 23 | 24 | Note: this works on dual monitor configurations where the primary monitor is the 25 | one on the left hand side. When the gvim window spans both monitors, it is maximised 26 | to the monitor which contains most of the area of gvim's window. 27 | 28 | * Compiling 29 | Compile the DLL using any version of Visual C++ for Windows 30 | Use the makefile - nmake 31 | copy gvimfullscreen.dll to the directory that has gvim.exe 32 | 33 | * Usage 34 | Toggle 35 | :call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0) 36 | 37 | For example: 38 | map :call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0) 39 | -------------------------------------------------------------------------------- /src/gvimfullscreen_win32_mod/dll-vs2013-xp/dll32-xp/gvimfullscreen.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/gvimfullscreen_win32_mod/dll-vs2013-xp/dll32-xp/gvimfullscreen.dll -------------------------------------------------------------------------------- /src/gvimfullscreen_win32_mod/dll-vs2013-xp/dll64-xp/gvimfullscreen.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/gvimfullscreen_win32_mod/dll-vs2013-xp/dll64-xp/gvimfullscreen.dll -------------------------------------------------------------------------------- /src/gvimfullscreen_win32_mod/dll-vs2022/dll64/gvimfullscreen.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xvim64/vim-text-viewer/7a0ce5028848e66b91e003f03f2025a186d80ba1/src/gvimfullscreen_win32_mod/dll-vs2022/dll64/gvimfullscreen.dll -------------------------------------------------------------------------------- /src/gvimfullscreen_win32_mod/makefile: -------------------------------------------------------------------------------- 1 | CC =cl 2 | CFLAGS =/W4 /WX /LD /Zi /Oy- # highest warning level; treat warnings as errors; enable dbg info 3 | DEBUG_FLAGS=/Od /Ob0 /D "_DEBUG" 4 | RELEASE_FLAGS =/O2 /Ob2 /D "NDEBUG" 5 | LIBS =user32.lib gdi32.lib 6 | 7 | all: clean release 8 | 9 | release: gvimfullscreen.c 10 | $(CC) $(CFLAGS) $(RELEASE_FLAGS) $(LIBS) gvimfullscreen.c 11 | 12 | debug: gvimfullscreen.c 13 | $(CC) $(CFLAGS) $(DEBUG_FLAGS) $(LIBS) gvimfullscreen.c 14 | 15 | clean: 16 | del *.obj 17 | del *.exp 18 | del *.lib 19 | del *.pdb 20 | del *.ilk 21 | 22 | distclean: clean 23 | del *.dll 24 | -------------------------------------------------------------------------------- /vim82/autoload/gruvbox.vim: -------------------------------------------------------------------------------- 1 | " ----------------------------------------------------------------------------- 2 | " File: gruvbox.vim 3 | " Description: Retro groove color scheme for Vim 4 | " Author: morhetz 5 | " Source: https://github.com/morhetz/gruvbox 6 | " Last Modified: 09 Apr 2014 7 | " ----------------------------------------------------------------------------- 8 | 9 | function! gruvbox#invert_signs_toggle() 10 | if g:gruvbox_invert_signs == 0 11 | let g:gruvbox_invert_signs=1 12 | else 13 | let g:gruvbox_invert_signs=0 14 | endif 15 | 16 | colorscheme gruvbox 17 | endfunction 18 | 19 | " Search Highlighting {{{ 20 | 21 | function! gruvbox#hls_show() 22 | set hlsearch 23 | call GruvboxHlsShowCursor() 24 | endfunction 25 | 26 | function! gruvbox#hls_hide() 27 | set nohlsearch 28 | call GruvboxHlsHideCursor() 29 | endfunction 30 | 31 | function! gruvbox#hls_toggle() 32 | if &hlsearch 33 | call gruvbox#hls_hide() 34 | else 35 | call gruvbox#hls_show() 36 | endif 37 | endfunction 38 | 39 | " }}} 40 | 41 | " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker: 42 | -------------------------------------------------------------------------------- /vim82/autoload/onedark.vim: -------------------------------------------------------------------------------- 1 | " [onedark.vim](https://github.com/joshdick/onedark.vim/) 2 | 3 | let s:overrides = get(g:, "onedark_color_overrides", {}) 4 | 5 | let s:colors = { 6 | \ "red": get(s:overrides, "red", { "gui": "#E06C75", "cterm": "204", "cterm16": "1" }), 7 | \ "dark_red": get(s:overrides, "dark_red", { "gui": "#BE5046", "cterm": "196", "cterm16": "9" }), 8 | \ "green": get(s:overrides, "green", { "gui": "#98C379", "cterm": "114", "cterm16": "2" }), 9 | \ "yellow": get(s:overrides, "yellow", { "gui": "#E5C07B", "cterm": "180", "cterm16": "3" }), 10 | \ "dark_yellow": get(s:overrides, "dark_yellow", { "gui": "#D19A66", "cterm": "173", "cterm16": "11" }), 11 | \ "blue": get(s:overrides, "blue", { "gui": "#61AFEF", "cterm": "39", "cterm16": "4" }), 12 | \ "purple": get(s:overrides, "purple", { "gui": "#C678DD", "cterm": "170", "cterm16": "5" }), 13 | \ "cyan": get(s:overrides, "cyan", { "gui": "#56B6C2", "cterm": "38", "cterm16": "6" }), 14 | \ "white": get(s:overrides, "white", { "gui": "#ABB2BF", "cterm": "145", "cterm16": "15" }), 15 | \ "black": get(s:overrides, "black", { "gui": "#282C34", "cterm": "235", "cterm16": "0" }), 16 | \ "foreground": get(s:overrides, "foreground", { "gui": "#ABB2BF", "cterm": "145", "cterm16": "NONE" }), 17 | \ "background": get(s:overrides, "background", { "gui": "#282C34", "cterm": "235", "cterm16": "NONE" }), 18 | \ "comment_grey": get(s:overrides, "comment_grey", { "gui": "#5C6370", "cterm": "59", "cterm16": "7" }), 19 | \ "gutter_fg_grey": get(s:overrides, "gutter_fg_grey", { "gui": "#4B5263", "cterm": "238", "cterm16": "8" }), 20 | \ "cursor_grey": get(s:overrides, "cursor_grey", { "gui": "#2C323C", "cterm": "236", "cterm16": "0" }), 21 | \ "visual_grey": get(s:overrides, "visual_grey", { "gui": "#3E4452", "cterm": "237", "cterm16": "8" }), 22 | \ "menu_grey": get(s:overrides, "menu_grey", { "gui": "#3E4452", "cterm": "237", "cterm16": "7" }), 23 | \ "special_grey": get(s:overrides, "special_grey", { "gui": "#3B4048", "cterm": "238", "cterm16": "7" }), 24 | \ "vertsplit": get(s:overrides, "vertsplit", { "gui": "#3E4452", "cterm": "59", "cterm16": "7" }), 25 | \} 26 | 27 | function! onedark#GetColors() 28 | return s:colors 29 | endfunction 30 | -------------------------------------------------------------------------------- /vim82/colors/elflord.vim: -------------------------------------------------------------------------------- 1 | " local syntax file - set colors on a per-machine basis: 2 | " vim: tw=0 ts=4 sw=4 3 | " Vim color file 4 | " Maintainer: Ron Aaron 5 | " Last Change: 2003 May 02 6 | 7 | set background=dark 8 | hi clear 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | let g:colors_name = "elflord" 13 | hi Normal guifg=cyan guibg=black 14 | hi Comment term=bold ctermfg=DarkCyan guifg=#80a0ff 15 | hi Constant term=underline ctermfg=Magenta guifg=Magenta 16 | hi Special term=bold ctermfg=DarkMagenta guifg=Red 17 | hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff 18 | hi Statement term=bold ctermfg=Yellow gui=bold guifg=#aa4444 19 | hi PreProc term=underline ctermfg=LightBlue guifg=#ff80ff 20 | hi Type term=underline ctermfg=LightGreen guifg=#60ff60 gui=bold 21 | hi Function term=bold ctermfg=White guifg=White 22 | hi Repeat term=underline ctermfg=White guifg=white 23 | hi Operator ctermfg=Red guifg=Red 24 | hi Ignore ctermfg=black guifg=bg 25 | hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White 26 | hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow 27 | hi FoldColumn guibg=Black 28 | 29 | " Common groups that link to default highlighting. 30 | " You can specify other highlighting easily. 31 | hi link String Constant 32 | hi link Character Constant 33 | hi link Number Constant 34 | hi link Boolean Constant 35 | hi link Float Number 36 | hi link Conditional Repeat 37 | hi link Label Statement 38 | hi link Keyword Statement 39 | hi link Exception Statement 40 | hi link Include PreProc 41 | hi link Define PreProc 42 | hi link Macro PreProc 43 | hi link PreCondit PreProc 44 | hi link StorageClass Type 45 | hi link Structure Type 46 | hi link Typedef Type 47 | hi link Tag Special 48 | hi link SpecialChar Special 49 | hi link Delimiter Special 50 | hi link SpecialComment Special 51 | hi link Debug Special 52 | -------------------------------------------------------------------------------- /vim82/colors/industry.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " Maintainer: Shian Lee 3 | " Last Change: 2014 Mar 6 (for vim 7.4) 4 | " Remark: "industry" stands for 'industrial' color scheme. In industrial 5 | " HMI (Human-Machine-Interface) programming, using a standard color 6 | " scheme is mandatory in many cases (in traffic-lights for example): 7 | " LIGHT_RED is 'Warning' 8 | " LIGHT_YELLOW is 'Attention' 9 | " LIGHT_GREEN is 'Normal' 10 | " LIGHT_MAGENTA is 'Warning-Attention' (light RED-YELLOW) 11 | " LIGHT_CYAN is 'Attention-Normal' (light YELLOW-GREEN). 12 | " BLACK is Dark-High-Contrast Background for maximum safety. 13 | " BLUE is Shade of BLACK (not supposed to get attention). 14 | " 15 | " Industrial color scheme is by nature clear, safe and productive. 16 | " Yet, depends on the file type's syntax, it might appear incorrect. 17 | 18 | " Reset to dark background, then reset everything to defaults: 19 | set background=dark 20 | highlight clear 21 | if exists("syntax_on") 22 | syntax reset 23 | endif 24 | 25 | let colors_name = "industry" 26 | 27 | " First set Normal to regular white on black text colors: 28 | hi Normal ctermfg=LightGray ctermbg=Black guifg=#dddddd guibg=Black 29 | 30 | " Syntax highlighting (other color-groups using default, see :help group-name): 31 | hi Comment cterm=NONE ctermfg=DarkCyan gui=NONE guifg=#00aaaa 32 | hi Constant cterm=NONE ctermfg=LightCyan gui=NONE guifg=#00ffff 33 | hi Identifier cterm=NONE ctermfg=LightMagenta gui=NONE guifg=#ff00ff 34 | hi Function cterm=NONE ctermfg=LightGreen gui=NONE guifg=#00ff00 35 | hi Statement cterm=NONE ctermfg=White gui=bold guifg=#ffffff 36 | hi PreProc cterm=NONE ctermfg=Yellow gui=NONE guifg=#ffff00 37 | hi Type cterm=NONE ctermfg=LightGreen gui=bold guifg=#00ff00 38 | hi Special cterm=NONE ctermfg=LightRed gui=NONE guifg=#ff0000 39 | hi Delimiter cterm=NONE ctermfg=Yellow gui=NONE guifg=#ffff00 40 | hi FoldColumn guibg=Black 41 | -------------------------------------------------------------------------------- /vim82/colors/murphy.vim: -------------------------------------------------------------------------------- 1 | " local syntax file - set colors on a per-machine basis: 2 | " vim: tw=0 ts=4 sw=4 3 | " Vim color file 4 | " Maintainer: Ron Aaron 5 | " Last Change: 2003 May 02 6 | 7 | hi clear 8 | set background=dark 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | let g:colors_name = "murphy" 13 | 14 | hi Normal ctermbg=Black ctermfg=lightgreen guibg=Black guifg=lightgreen 15 | hi Comment term=bold ctermfg=LightRed guifg=Orange 16 | hi Constant term=underline ctermfg=LightGreen guifg=White gui=NONE 17 | hi Identifier term=underline ctermfg=LightCyan guifg=#00ffff 18 | hi Ignore ctermfg=Black guifg=bg 19 | hi PreProc term=underline ctermfg=LightBlue guifg=Wheat 20 | hi Search term=reverse guifg=white guibg=Blue 21 | hi Special term=bold ctermfg=LightRed guifg=magenta 22 | hi Statement term=bold ctermfg=Yellow guifg=#ffff00 gui=NONE 23 | hi Type ctermfg=LightGreen guifg=grey gui=none 24 | hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White 25 | hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow 26 | " From the source: 27 | hi Cursor guifg=Orchid guibg=fg 28 | hi Directory term=bold ctermfg=LightCyan guifg=Cyan 29 | hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White 30 | hi IncSearch term=reverse cterm=reverse gui=reverse 31 | hi LineNr term=underline ctermfg=Yellow guifg=Yellow 32 | hi ModeMsg term=bold cterm=bold gui=bold 33 | hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen 34 | hi NonText term=bold ctermfg=Blue gui=bold guifg=Blue 35 | hi Question term=standout ctermfg=LightGreen gui=bold guifg=Cyan 36 | hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan 37 | hi StatusLine term=reverse,bold cterm=reverse gui=NONE guifg=White guibg=darkblue 38 | hi StatusLineNC term=reverse cterm=reverse gui=NONE guifg=white guibg=#333333 39 | hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Pink 40 | hi WarningMsg term=standout ctermfg=LightRed guifg=Red 41 | hi Visual term=reverse cterm=reverse gui=NONE guifg=white guibg=darkgreen 42 | hi FoldColumn guibg=Black 43 | -------------------------------------------------------------------------------- /vim82/colors/pablo.vim: -------------------------------------------------------------------------------- 1 | " local syntax file - set colors on a per-machine basis: 2 | " vim: tw=0 ts=4 sw=4 3 | " Vim color file 4 | " Maintainer: Ron Aaron 5 | " Last Change: 2003 May 02 6 | 7 | hi clear 8 | set background=dark 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | let g:colors_name = "pablo" 13 | 14 | highlight Comment ctermfg=8 guifg=#808080 15 | highlight Constant ctermfg=14 cterm=none guifg=#00ffff gui=none 16 | highlight Identifier ctermfg=6 guifg=#00c0c0 17 | highlight Statement ctermfg=3 cterm=bold guifg=#c0c000 gui=bold 18 | highlight PreProc ctermfg=10 guifg=#00ff00 19 | highlight Type ctermfg=2 guifg=#00c000 20 | highlight Special ctermfg=12 guifg=#0000ff 21 | highlight Error ctermbg=9 guibg=#ff0000 22 | highlight Todo ctermfg=4 ctermbg=3 guifg=#000080 guibg=#c0c000 23 | highlight Directory ctermfg=2 guifg=#00c000 24 | highlight StatusLine ctermfg=11 ctermbg=12 cterm=none guifg=#ffff00 guibg=#0000ff gui=none 25 | highlight Normal guifg=#ffffff guibg=#000000 26 | highlight Search ctermbg=3 guibg=#c0c000 27 | highlight FoldColumn guifg=#ffffff guibg=#000000 28 | -------------------------------------------------------------------------------- /vim82/colors/ron.vim: -------------------------------------------------------------------------------- 1 | " local syntax file - set colors on a per-machine basis: 2 | " vim: tw=0 ts=4 sw=4 3 | " Vim color file 4 | " Maintainer: Ron Aaron 5 | " Last Change: 2013 May 24 6 | 7 | set background=dark 8 | hi clear 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | let g:colors_name = "ron" 13 | hi Normal guifg=cyan guibg=black 14 | hi NonText guifg=yellow guibg=#303030 15 | hi comment guifg=green 16 | hi constant guifg=cyan gui=bold 17 | hi identifier guifg=cyan gui=NONE 18 | hi statement guifg=lightblue gui=NONE 19 | hi preproc guifg=Pink2 20 | hi type guifg=seagreen gui=bold 21 | hi special guifg=yellow 22 | hi ErrorMsg guifg=Black guibg=Red 23 | hi WarningMsg guifg=Black guibg=Green 24 | hi Error guibg=Red 25 | hi Todo guifg=Black guibg=orange 26 | hi Cursor guibg=#60a060 guifg=#00ff00 27 | hi Search guibg=darkgray guifg=black gui=bold 28 | hi IncSearch gui=NONE guibg=steelblue 29 | hi LineNr guifg=darkgrey 30 | hi title guifg=darkgrey 31 | hi ShowMarksHL ctermfg=cyan ctermbg=lightblue cterm=bold guifg=yellow guibg=black gui=bold 32 | hi StatusLineNC gui=NONE guifg=lightblue guibg=darkblue 33 | hi StatusLine gui=bold guifg=cyan guibg=blue 34 | hi label guifg=gold2 35 | hi operator guifg=orange 36 | hi clear Visual 37 | hi Visual term=reverse cterm=reverse gui=reverse 38 | hi DiffChange guibg=darkgreen 39 | hi DiffText guibg=olivedrab 40 | hi DiffAdd guibg=slateblue 41 | hi DiffDelete guibg=coral 42 | hi Folded guibg=gray30 43 | hi FoldColumn guibg=black guifg=white 44 | hi cIf0 guifg=gray 45 | hi diffOnly guifg=red gui=bold 46 | -------------------------------------------------------------------------------- /vim82/colors/torte.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " Maintainer: Thorsten Maerz 3 | " Last Change: 2006 Dec 07 4 | " grey on black 5 | " optimized for TFT panels 6 | 7 | set background=dark 8 | hi clear 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | "colorscheme default 13 | let g:colors_name = "torte" 14 | 15 | " hardcoded colors : 16 | " GUI Comment : #80a0ff = Light blue 17 | 18 | " GUI 19 | highlight Normal guifg=Grey80 guibg=Black 20 | highlight FoldColumn guifg=Grey80 guibg=Black 21 | highlight Search guifg=Black guibg=Red gui=bold 22 | highlight Visual guifg=#404040 gui=bold 23 | highlight Cursor guifg=Black guibg=Green gui=bold 24 | highlight Special guifg=Orange 25 | highlight Comment guifg=#80a0ff 26 | highlight StatusLine guifg=blue guibg=white 27 | highlight Statement guifg=Yellow gui=NONE 28 | highlight Type gui=NONE 29 | 30 | " Console 31 | highlight Normal ctermfg=LightGrey ctermbg=Black 32 | highlight Search ctermfg=Black ctermbg=Red cterm=NONE 33 | highlight Visual cterm=reverse 34 | highlight Cursor ctermfg=Black ctermbg=Green cterm=bold 35 | highlight Special ctermfg=Brown 36 | highlight Comment ctermfg=Blue 37 | highlight StatusLine ctermfg=blue ctermbg=white 38 | highlight Statement ctermfg=Yellow cterm=NONE 39 | highlight Type cterm=NONE 40 | 41 | " only for vim 5 42 | if has("unix") 43 | if v:version<600 44 | highlight Normal ctermfg=Grey ctermbg=Black cterm=NONE guifg=Grey80 guibg=Black gui=NONE 45 | highlight Search ctermfg=Black ctermbg=Red cterm=bold guifg=Black guibg=Red gui=bold 46 | highlight Visual ctermfg=Black ctermbg=yellow cterm=bold guifg=#404040 gui=bold 47 | highlight Special ctermfg=LightBlue cterm=NONE guifg=LightBlue gui=NONE 48 | highlight Comment ctermfg=Cyan cterm=NONE guifg=LightBlue gui=NONE 49 | endif 50 | endif 51 | 52 | -------------------------------------------------------------------------------- /vim82/colors/zellner.vim: -------------------------------------------------------------------------------- 1 | " local syntax file - set colors on a per-machine basis: 2 | " vim: tw=0 ts=4 sw=4 3 | " Vim color file 4 | " Maintainer: Ron Aaron 5 | " Last Change: 2003 May 02 6 | 7 | set background=light 8 | hi clear 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | let g:colors_name = "zellner" 13 | 14 | hi Comment term=bold ctermfg=Red guifg=Red 15 | hi Normal guifg=black guibg=white 16 | hi FoldColumn guifg=black guibg=white 17 | hi Constant term=underline ctermfg=Magenta guifg=Magenta 18 | hi Special term=bold ctermfg=Magenta guifg=Magenta 19 | hi Identifier term=underline ctermfg=Blue guifg=Blue 20 | hi Statement term=bold ctermfg=DarkRed gui=NONE guifg=Brown 21 | hi PreProc term=underline ctermfg=Magenta guifg=Purple 22 | hi Type term=underline ctermfg=Blue gui=NONE guifg=Blue 23 | hi Visual term=reverse ctermfg=Yellow ctermbg=Red gui=NONE guifg=Black guibg=Yellow 24 | hi Search term=reverse ctermfg=Black ctermbg=Cyan gui=NONE guifg=Black guibg=Cyan 25 | hi Tag term=bold ctermfg=DarkGreen guifg=DarkGreen 26 | hi Error term=reverse ctermfg=15 ctermbg=9 guibg=Red guifg=White 27 | hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow 28 | hi StatusLine term=bold,reverse cterm=NONE ctermfg=Yellow ctermbg=DarkGray gui=NONE guifg=Yellow guibg=DarkGray 29 | hi! link MoreMsg Comment 30 | hi! link ErrorMsg Visual 31 | hi! link WarningMsg ErrorMsg 32 | hi! link Question Comment 33 | hi link String Constant 34 | hi link Character Constant 35 | hi link Number Constant 36 | hi link Boolean Constant 37 | hi link Float Number 38 | hi link Function Identifier 39 | hi link Conditional Statement 40 | hi link Repeat Statement 41 | hi link Label Statement 42 | hi link Operator Statement 43 | hi link Keyword Statement 44 | hi link Exception Statement 45 | hi link Include PreProc 46 | hi link Define PreProc 47 | hi link Macro PreProc 48 | hi link PreCondit PreProc 49 | hi link StorageClass Type 50 | hi link Structure Type 51 | hi link Typedef Type 52 | hi link SpecialChar Special 53 | hi link Delimiter Special 54 | hi link SpecialComment Special 55 | hi link Debug Special 56 | -------------------------------------------------------------------------------- /vim82/syntax/text.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: TEXT 3 | " Maintainer: 4 | " Last Change: 5 | 6 | " Quit when a (custom) syntax file was already loaded 7 | if exists("b:current_syntax") 8 | finish 9 | endif 10 | 11 | syn keyword textTodo TODO README LOG NOTICE ERROR WARNING 12 | syn match textTitle "^\s*#.*" 13 | syn match textChapter '^\c\s*\(ch\|chapter\|챕터\)\s*\d\+\>' 14 | syn match textChapter '^\c\s*[제]\?\s*\d\+\s*[장화.:]' 15 | syn match textChapter '^\c\s*\(제목\|프롤로그\|에필로그\|후기\|부록\|title\|prologue\|epilogue\|supplement\)\>' 16 | syn match textComment "^\/\/.*$" 17 | syn match textComment "\s\+\/\/.*$" 18 | syn match textLine "\(-\|=\|+\|_\|\*\)\{5,}" 19 | syn match textBrace "\[.\{-}\]" 20 | 21 | 22 | " Define the default highlighting. 23 | " Only used when an item doesn't have highlighting yet 24 | hi def link textTodo Todo 25 | hi def link textTitle Title 26 | hi def link textChapter Title 27 | hi def link textComment Constant 28 | hi def link textLine CursorLineNr 29 | hi def link textBrace Function 30 | 31 | let b:current_syntax = "text" 32 | 33 | " vim: ts=8 sw=2 34 | --------------------------------------------------------------------------------