From 191f4f3eecb01bd91cd6b7f1011387c6f769b672 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Thu, 21 Oct 2021 21:41:01 +0700 Subject: [PATCH] New version of dotfiles for both Linux and Windows-WSL --- .config/.ideavimrc | 128 -- .config/AutoHotkey-script-Open-Show-Apps.ahk | 239 -- .config/alacritty/alacritty.yml | 534 ----- .config/fish/completions/fisher.fish | 7 + .../completions/fzf_configure_bindings.fish | 7 + .config/fish/conf.d/forgit.plugin.fish | 543 +++++ .config/fish/conf.d/fzf.fish | 35 + .config/fish/config.fish | 105 +- .config/fish/fish_plugins | 4 + .config/fish/fish_variables | 42 + .../_fzf_configure_bindings_help.fish | 42 + .../fish/functions/_fzf_extract_var_info.fish | 15 + .config/fish/functions/_fzf_preview_file.fish | 43 + .../fish/functions/_fzf_report_file_type.fish | 6 + .../fish/functions/_fzf_search_directory.fish | 41 + .../fish/functions/_fzf_search_git_log.fish | 24 + .../functions/_fzf_search_git_status.fish | 33 + .../fish/functions/_fzf_search_history.fish | 24 + .../fish/functions/_fzf_search_variables.fish | 45 + .config/fish/functions/_fzf_wrapper.fish | 20 + .config/fish/functions/cw.fish | 6 - .../fish/functions/dotfiles_update_win.fish | 6 - .config/fish/functions/e.fish | 3 + .config/fish/functions/edit_dotfile.fish | 13 - .config/fish/functions/fish_greeting.fish | 3 - .config/fish/functions/fish_prompt.fish | 97 +- .config/fish/functions/fisher.fish | 209 ++ .config/fish/functions/fuzzy_bookmarks.fish | 10 - .../functions/fzf_configure_bindings.fish | 44 + .config/fish/functions/icat.fish | 3 + .config/fish/functions/n.fish | 3 + .config/fish/functions/r.fish | 3 + .config/fish/functions/ranger-cd.fish | 13 + .config/fish/functions/set-colors.fish | 3 + .config/fish/functions/w2u.fish | 6 - .config/fish/functions/winpwd.fish | 3 - .config/fish/marks.fish | 159 -- .config/git/config | 5 + .config/kak/kakrc | 145 ++ .config/kitty/kitty-convert.py | 61 + .config/kitty/kitty.conf | 35 + .config/kitty/themes/3024_Day.conf | 21 + .config/kitty/themes/3024_Night.conf | 21 + .config/kitty/themes/AdventureTime.conf | 21 + .config/kitty/themes/AlienBlood.conf | 21 + .config/kitty/themes/Alucard.conf | 21 + .config/kitty/themes/Apprentice.conf | 26 + .config/kitty/themes/Argonaut.conf | 21 + .config/kitty/themes/Arthur.conf | 21 + .config/kitty/themes/AtelierSulphurpool.conf | 21 + .config/kitty/themes/AtomOneLight.conf | 21 + .config/kitty/themes/Batman.conf | 21 + .config/kitty/themes/Belafonte_Day.conf | 21 + .config/kitty/themes/Belafonte_Night.conf | 21 + .config/kitty/themes/BirdsOfParadise.conf | 21 + .config/kitty/themes/Blazer.conf | 21 + .config/kitty/themes/Borland.conf | 21 + .config/kitty/themes/Bright_Lights.conf | 21 + .config/kitty/themes/Broadcast.conf | 21 + .config/kitty/themes/Brogrammer.conf | 21 + .config/kitty/themes/C64.conf | 21 + .config/kitty/themes/Chalk.conf | 21 + .config/kitty/themes/Chalkboard.conf | 21 + .config/kitty/themes/Ciapre.conf | 21 + .config/kitty/themes/Cobalt2.conf | 21 + .config/kitty/themes/Cobalt_Neon.conf | 21 + .config/kitty/themes/CrayonPonyFish.conf | 21 + .config/kitty/themes/Dark_Pastel.conf | 21 + .config/kitty/themes/Desert.conf | 21 + .config/kitty/themes/DimmedMonokai.conf | 21 + .config/kitty/themes/DotGov.conf | 21 + .config/kitty/themes/Dracula.conf | 21 + .config/kitty/themes/Dumbledore.conf | 21 + .config/kitty/themes/Duotone_Dark.conf | 21 + .config/kitty/themes/ENCOM.conf | 21 + .config/kitty/themes/Earthsong.conf | 21 + .config/kitty/themes/Elemental.conf | 21 + .config/kitty/themes/Espresso.conf | 27 + .config/kitty/themes/Espresso_Libre.conf | 21 + .config/kitty/themes/Fideloper.conf | 21 + .config/kitty/themes/FishTank.conf | 21 + .config/kitty/themes/Flat.conf | 21 + .config/kitty/themes/Floraverse.conf | 21 + .config/kitty/themes/FrontEndDelight.conf | 21 + .config/kitty/themes/FunForrest.conf | 21 + .config/kitty/themes/Galaxy.conf | 21 + .config/kitty/themes/Github.conf | 21 + .config/kitty/themes/Glacier.conf | 21 + .config/kitty/themes/GoaBase.conf | 21 + .config/kitty/themes/Grape.conf | 21 + .config/kitty/themes/Grass.conf | 23 + .config/kitty/themes/Hardcore.conf | 21 + .config/kitty/themes/Harper.conf | 21 + .config/kitty/themes/Highway.conf | 21 + .config/kitty/themes/Hipster_Green.conf | 21 + .config/kitty/themes/Homebrew.conf | 23 + .config/kitty/themes/Hurtado.conf | 21 + .config/kitty/themes/Hybrid.conf | 21 + .config/kitty/themes/IC_Green_PPL.conf | 21 + .config/kitty/themes/IC_Orange_PPL.conf | 21 + .config/kitty/themes/IR_Black.conf | 21 + .config/kitty/themes/Jackie_Brown.conf | 21 + .config/kitty/themes/Japanesque.conf | 21 + .config/kitty/themes/Jellybeans.conf | 21 + .config/kitty/themes/JetBrains_Darcula.conf | 21 + .config/kitty/themes/Kibble.conf | 21 + .config/kitty/themes/Later_This_Evening.conf | 21 + .config/kitty/themes/Lavandula.conf | 21 + .config/kitty/themes/LiquidCarbon.conf | 21 + .../kitty/themes/LiquidCarbonTransparent.conf | 21 + .../LiquidCarbonTransparentInverse.conf | 21 + .config/kitty/themes/Man_Page.conf | 23 + .config/kitty/themes/Material.conf | 21 + .config/kitty/themes/MaterialDark.conf | 21 + .config/kitty/themes/Mathias.conf | 21 + .config/kitty/themes/Medallion.conf | 21 + .config/kitty/themes/Misterioso.conf | 21 + .config/kitty/themes/Molokai.conf | 21 + .config/kitty/themes/MonaLisa.conf | 21 + .config/kitty/themes/Monokai.conf | 41 + .config/kitty/themes/N0tch2k.conf | 21 + .config/kitty/themes/Neopolitan.conf | 21 + .config/kitty/themes/Neutron.conf | 21 + .config/kitty/themes/NightLion_v1.conf | 21 + .config/kitty/themes/NightLion_v2.conf | 21 + .config/kitty/themes/Nova.conf | 21 + .config/kitty/themes/Novel.conf | 23 + .config/kitty/themes/Obsidian.conf | 21 + .config/kitty/themes/Ocean.conf | 23 + .config/kitty/themes/OceanicMaterial.conf | 21 + .config/kitty/themes/Ollie.conf | 21 + .config/kitty/themes/Parasio_Dark.conf | 21 + .config/kitty/themes/PaulMillr.conf | 21 + .config/kitty/themes/PencilDark.conf | 21 + .config/kitty/themes/PencilLight.conf | 21 + .config/kitty/themes/Piatto_Light.conf | 21 + .config/kitty/themes/Pnevma.conf | 21 + .config/kitty/themes/Pro.conf | 23 + .config/kitty/themes/Red_Alert.conf | 21 + .config/kitty/themes/Red_Sands.conf | 23 + .config/kitty/themes/Renault_Style.conf | 22 + .config/kitty/themes/Renault_Style_Light.conf | 21 + .config/kitty/themes/Rippedcasts.conf | 21 + .config/kitty/themes/Royal.conf | 21 + .config/kitty/themes/SeaShells.conf | 21 + .config/kitty/themes/Seafoam_Pastel.conf | 21 + .config/kitty/themes/Seti.conf | 21 + .config/kitty/themes/Shaman.conf | 21 + .config/kitty/themes/Slate.conf | 21 + .config/kitty/themes/Smyck.conf | 21 + .config/kitty/themes/SoftServer.conf | 21 + .config/kitty/themes/Solarized_Darcula.conf | 21 + .config/kitty/themes/Solarized_Dark.conf | 21 + .../themes/Solarized_Dark_-_Patched.conf | 21 + .../Solarized_Dark_Higher_Contrast.conf | 21 + .config/kitty/themes/Source_Code_X.conf | 21 + .config/kitty/themes/SpaceGray.conf | 21 + .config/kitty/themes/SpaceGray_Eighties.conf | 21 + .../kitty/themes/SpaceGray_Eighties_Dull.conf | 21 + .config/kitty/themes/Spacedust.conf | 21 + .config/kitty/themes/Spiderman.conf | 21 + .config/kitty/themes/Spring.conf | 21 + .config/kitty/themes/Square.conf | 21 + .config/kitty/themes/Sundried.conf | 21 + .config/kitty/themes/Symfonic.conf | 21 + .config/kitty/themes/Tango_Dark.conf | 21 + .config/kitty/themes/Tango_Light.conf | 21 + .config/kitty/themes/Thayer_Bright.conf | 21 + .config/kitty/themes/The_Hulk.conf | 21 + .config/kitty/themes/Tomorrow.conf | 21 + .config/kitty/themes/Tomorrow_Night.conf | 21 + .config/kitty/themes/Tomorrow_Night_Blue.conf | 21 + .../kitty/themes/Tomorrow_Night_Bright.conf | 21 + .config/kitty/themes/ToyChest.conf | 21 + .config/kitty/themes/Treehouse.conf | 21 + .config/kitty/themes/Twilight.conf | 21 + .config/kitty/themes/Ubuntu.conf | 21 + .config/kitty/themes/Urple.conf | 21 + .config/kitty/themes/Vaughn.conf | 21 + .config/kitty/themes/VibrantInk.conf | 21 + .config/kitty/themes/WarmNeon.conf | 21 + .config/kitty/themes/Wez.conf | 21 + .config/kitty/themes/WildCherry.conf | 21 + .config/kitty/themes/Wryan.conf | 21 + .config/kitty/themes/Zenburn.conf | 25 + .config/kitty/themes/ayu.conf | 21 + .config/kitty/themes/ayu_light.conf | 21 + .config/kitty/themes/gruvbox_light.conf | 49 + .config/kitty/themes/idleToes.conf | 21 + .config/kitty/themes/preferred/Afterglow.conf | 21 + .config/kitty/themes/preferred/Atom.conf | 21 + .config/kitty/themes/preferred/CLRS.conf | 21 + .config/kitty/themes/preferred/Darkside.conf | 21 + .config/kitty/themes/preferred/Flatland.conf | 21 + .../themes/preferred/Monokai_Classic.conf | 47 + .../kitty/themes/preferred/Monokai_Pro.conf | 47 + .../Monokai_Pro_(Filter_Machine).conf | 47 + .../Monokai_Pro_(Filter_Octagon).conf | 47 + .../Monokai_Pro_(Filter_Ristretto).conf | 47 + .../Monokai_Pro_(Filter_Spectrum).conf | 47 + .../kitty/themes/preferred/Monokai_Soda.conf | 21 + .config/kitty/themes/preferred/OneDark.conf | 25 + .../themes/preferred/Relaxed_Afterglow.conf | 25 + .../themes/preferred/Solarized_Light.conf | 21 + .config/kitty/themes/preferred/Teerb.conf | 21 + .../preferred/Tomorrow_Night_Eighties.conf | 21 + .config/kitty/themes/preferred/Wombat.conf | 21 + .../kitty/themes/preferred/ayu_mirage.conf | 21 + .../kitty/themes/preferred/gruvbox_dark.conf | 49 + .config/kitty/themes/snazzy.conf | 46 + .config/lf/preview | 25 + .config/nvim/init.vim | 205 ++ .config/ranger/commands.py | 62 + .config/ranger/commands_full.py | 1993 +++++++++++++++++ .config/ranger/rc.conf | 759 +++++++ .config/ranger/rifle.conf | 284 +++ .config/ranger/scope.sh | 350 +++ .config/zsh/.zshrc | 145 ++ .config/zsh/functions/prompt_joe_setup | 93 + .emacs.d/init.el | 392 ++++ .tmux.conf | 103 - .vimrc | 61 - README.md | 14 +- dotfiles-old.tar.gz | Bin 20186 -> 0 bytes 224 files changed, 9736 insertions(+), 1361 deletions(-) delete mode 100755 .config/.ideavimrc delete mode 100755 .config/AutoHotkey-script-Open-Show-Apps.ahk delete mode 100644 .config/alacritty/alacritty.yml create mode 100644 .config/fish/completions/fisher.fish create mode 100644 .config/fish/completions/fzf_configure_bindings.fish create mode 100644 .config/fish/conf.d/forgit.plugin.fish create mode 100644 .config/fish/conf.d/fzf.fish create mode 100644 .config/fish/fish_plugins create mode 100644 .config/fish/fish_variables create mode 100644 .config/fish/functions/_fzf_configure_bindings_help.fish create mode 100644 .config/fish/functions/_fzf_extract_var_info.fish create mode 100644 .config/fish/functions/_fzf_preview_file.fish create mode 100644 .config/fish/functions/_fzf_report_file_type.fish create mode 100644 .config/fish/functions/_fzf_search_directory.fish create mode 100644 .config/fish/functions/_fzf_search_git_log.fish create mode 100644 .config/fish/functions/_fzf_search_git_status.fish create mode 100644 .config/fish/functions/_fzf_search_history.fish create mode 100644 .config/fish/functions/_fzf_search_variables.fish create mode 100644 .config/fish/functions/_fzf_wrapper.fish delete mode 100644 .config/fish/functions/cw.fish delete mode 100644 .config/fish/functions/dotfiles_update_win.fish create mode 100644 .config/fish/functions/e.fish delete mode 100644 .config/fish/functions/edit_dotfile.fish delete mode 100644 .config/fish/functions/fish_greeting.fish create mode 100644 .config/fish/functions/fisher.fish delete mode 100644 .config/fish/functions/fuzzy_bookmarks.fish create mode 100644 .config/fish/functions/fzf_configure_bindings.fish create mode 100644 .config/fish/functions/icat.fish create mode 100644 .config/fish/functions/n.fish create mode 100644 .config/fish/functions/r.fish create mode 100644 .config/fish/functions/ranger-cd.fish create mode 100644 .config/fish/functions/set-colors.fish delete mode 100644 .config/fish/functions/w2u.fish delete mode 100644 .config/fish/functions/winpwd.fish delete mode 100644 .config/fish/marks.fish create mode 100644 .config/git/config create mode 100644 .config/kak/kakrc create mode 100644 .config/kitty/kitty-convert.py create mode 100644 .config/kitty/kitty.conf create mode 100644 .config/kitty/themes/3024_Day.conf create mode 100644 .config/kitty/themes/3024_Night.conf create mode 100644 .config/kitty/themes/AdventureTime.conf create mode 100644 .config/kitty/themes/AlienBlood.conf create mode 100644 .config/kitty/themes/Alucard.conf create mode 100644 .config/kitty/themes/Apprentice.conf create mode 100644 .config/kitty/themes/Argonaut.conf create mode 100644 .config/kitty/themes/Arthur.conf create mode 100644 .config/kitty/themes/AtelierSulphurpool.conf create mode 100644 .config/kitty/themes/AtomOneLight.conf create mode 100644 .config/kitty/themes/Batman.conf create mode 100644 .config/kitty/themes/Belafonte_Day.conf create mode 100644 .config/kitty/themes/Belafonte_Night.conf create mode 100644 .config/kitty/themes/BirdsOfParadise.conf create mode 100644 .config/kitty/themes/Blazer.conf create mode 100644 .config/kitty/themes/Borland.conf create mode 100644 .config/kitty/themes/Bright_Lights.conf create mode 100644 .config/kitty/themes/Broadcast.conf create mode 100644 .config/kitty/themes/Brogrammer.conf create mode 100644 .config/kitty/themes/C64.conf create mode 100644 .config/kitty/themes/Chalk.conf create mode 100644 .config/kitty/themes/Chalkboard.conf create mode 100644 .config/kitty/themes/Ciapre.conf create mode 100644 .config/kitty/themes/Cobalt2.conf create mode 100644 .config/kitty/themes/Cobalt_Neon.conf create mode 100644 .config/kitty/themes/CrayonPonyFish.conf create mode 100644 .config/kitty/themes/Dark_Pastel.conf create mode 100644 .config/kitty/themes/Desert.conf create mode 100644 .config/kitty/themes/DimmedMonokai.conf create mode 100644 .config/kitty/themes/DotGov.conf create mode 100644 .config/kitty/themes/Dracula.conf create mode 100644 .config/kitty/themes/Dumbledore.conf create mode 100644 .config/kitty/themes/Duotone_Dark.conf create mode 100644 .config/kitty/themes/ENCOM.conf create mode 100644 .config/kitty/themes/Earthsong.conf create mode 100644 .config/kitty/themes/Elemental.conf create mode 100644 .config/kitty/themes/Espresso.conf create mode 100644 .config/kitty/themes/Espresso_Libre.conf create mode 100644 .config/kitty/themes/Fideloper.conf create mode 100644 .config/kitty/themes/FishTank.conf create mode 100644 .config/kitty/themes/Flat.conf create mode 100644 .config/kitty/themes/Floraverse.conf create mode 100644 .config/kitty/themes/FrontEndDelight.conf create mode 100644 .config/kitty/themes/FunForrest.conf create mode 100644 .config/kitty/themes/Galaxy.conf create mode 100644 .config/kitty/themes/Github.conf create mode 100644 .config/kitty/themes/Glacier.conf create mode 100644 .config/kitty/themes/GoaBase.conf create mode 100644 .config/kitty/themes/Grape.conf create mode 100644 .config/kitty/themes/Grass.conf create mode 100644 .config/kitty/themes/Hardcore.conf create mode 100644 .config/kitty/themes/Harper.conf create mode 100644 .config/kitty/themes/Highway.conf create mode 100644 .config/kitty/themes/Hipster_Green.conf create mode 100644 .config/kitty/themes/Homebrew.conf create mode 100644 .config/kitty/themes/Hurtado.conf create mode 100644 .config/kitty/themes/Hybrid.conf create mode 100644 .config/kitty/themes/IC_Green_PPL.conf create mode 100644 .config/kitty/themes/IC_Orange_PPL.conf create mode 100644 .config/kitty/themes/IR_Black.conf create mode 100644 .config/kitty/themes/Jackie_Brown.conf create mode 100644 .config/kitty/themes/Japanesque.conf create mode 100644 .config/kitty/themes/Jellybeans.conf create mode 100644 .config/kitty/themes/JetBrains_Darcula.conf create mode 100644 .config/kitty/themes/Kibble.conf create mode 100644 .config/kitty/themes/Later_This_Evening.conf create mode 100644 .config/kitty/themes/Lavandula.conf create mode 100644 .config/kitty/themes/LiquidCarbon.conf create mode 100644 .config/kitty/themes/LiquidCarbonTransparent.conf create mode 100644 .config/kitty/themes/LiquidCarbonTransparentInverse.conf create mode 100644 .config/kitty/themes/Man_Page.conf create mode 100644 .config/kitty/themes/Material.conf create mode 100644 .config/kitty/themes/MaterialDark.conf create mode 100644 .config/kitty/themes/Mathias.conf create mode 100644 .config/kitty/themes/Medallion.conf create mode 100644 .config/kitty/themes/Misterioso.conf create mode 100644 .config/kitty/themes/Molokai.conf create mode 100644 .config/kitty/themes/MonaLisa.conf create mode 100644 .config/kitty/themes/Monokai.conf create mode 100644 .config/kitty/themes/N0tch2k.conf create mode 100644 .config/kitty/themes/Neopolitan.conf create mode 100644 .config/kitty/themes/Neutron.conf create mode 100644 .config/kitty/themes/NightLion_v1.conf create mode 100644 .config/kitty/themes/NightLion_v2.conf create mode 100644 .config/kitty/themes/Nova.conf create mode 100644 .config/kitty/themes/Novel.conf create mode 100644 .config/kitty/themes/Obsidian.conf create mode 100644 .config/kitty/themes/Ocean.conf create mode 100644 .config/kitty/themes/OceanicMaterial.conf create mode 100644 .config/kitty/themes/Ollie.conf create mode 100644 .config/kitty/themes/Parasio_Dark.conf create mode 100644 .config/kitty/themes/PaulMillr.conf create mode 100644 .config/kitty/themes/PencilDark.conf create mode 100644 .config/kitty/themes/PencilLight.conf create mode 100644 .config/kitty/themes/Piatto_Light.conf create mode 100644 .config/kitty/themes/Pnevma.conf create mode 100644 .config/kitty/themes/Pro.conf create mode 100644 .config/kitty/themes/Red_Alert.conf create mode 100644 .config/kitty/themes/Red_Sands.conf create mode 100644 .config/kitty/themes/Renault_Style.conf create mode 100644 .config/kitty/themes/Renault_Style_Light.conf create mode 100644 .config/kitty/themes/Rippedcasts.conf create mode 100644 .config/kitty/themes/Royal.conf create mode 100644 .config/kitty/themes/SeaShells.conf create mode 100644 .config/kitty/themes/Seafoam_Pastel.conf create mode 100644 .config/kitty/themes/Seti.conf create mode 100644 .config/kitty/themes/Shaman.conf create mode 100644 .config/kitty/themes/Slate.conf create mode 100644 .config/kitty/themes/Smyck.conf create mode 100644 .config/kitty/themes/SoftServer.conf create mode 100644 .config/kitty/themes/Solarized_Darcula.conf create mode 100644 .config/kitty/themes/Solarized_Dark.conf create mode 100644 .config/kitty/themes/Solarized_Dark_-_Patched.conf create mode 100644 .config/kitty/themes/Solarized_Dark_Higher_Contrast.conf create mode 100644 .config/kitty/themes/Source_Code_X.conf create mode 100644 .config/kitty/themes/SpaceGray.conf create mode 100644 .config/kitty/themes/SpaceGray_Eighties.conf create mode 100644 .config/kitty/themes/SpaceGray_Eighties_Dull.conf create mode 100644 .config/kitty/themes/Spacedust.conf create mode 100644 .config/kitty/themes/Spiderman.conf create mode 100644 .config/kitty/themes/Spring.conf create mode 100644 .config/kitty/themes/Square.conf create mode 100644 .config/kitty/themes/Sundried.conf create mode 100644 .config/kitty/themes/Symfonic.conf create mode 100644 .config/kitty/themes/Tango_Dark.conf create mode 100644 .config/kitty/themes/Tango_Light.conf create mode 100644 .config/kitty/themes/Thayer_Bright.conf create mode 100644 .config/kitty/themes/The_Hulk.conf create mode 100644 .config/kitty/themes/Tomorrow.conf create mode 100644 .config/kitty/themes/Tomorrow_Night.conf create mode 100644 .config/kitty/themes/Tomorrow_Night_Blue.conf create mode 100644 .config/kitty/themes/Tomorrow_Night_Bright.conf create mode 100644 .config/kitty/themes/ToyChest.conf create mode 100644 .config/kitty/themes/Treehouse.conf create mode 100644 .config/kitty/themes/Twilight.conf create mode 100644 .config/kitty/themes/Ubuntu.conf create mode 100644 .config/kitty/themes/Urple.conf create mode 100644 .config/kitty/themes/Vaughn.conf create mode 100644 .config/kitty/themes/VibrantInk.conf create mode 100644 .config/kitty/themes/WarmNeon.conf create mode 100644 .config/kitty/themes/Wez.conf create mode 100644 .config/kitty/themes/WildCherry.conf create mode 100644 .config/kitty/themes/Wryan.conf create mode 100644 .config/kitty/themes/Zenburn.conf create mode 100644 .config/kitty/themes/ayu.conf create mode 100644 .config/kitty/themes/ayu_light.conf create mode 100644 .config/kitty/themes/gruvbox_light.conf create mode 100644 .config/kitty/themes/idleToes.conf create mode 100644 .config/kitty/themes/preferred/Afterglow.conf create mode 100644 .config/kitty/themes/preferred/Atom.conf create mode 100644 .config/kitty/themes/preferred/CLRS.conf create mode 100644 .config/kitty/themes/preferred/Darkside.conf create mode 100644 .config/kitty/themes/preferred/Flatland.conf create mode 100644 .config/kitty/themes/preferred/Monokai_Classic.conf create mode 100644 .config/kitty/themes/preferred/Monokai_Pro.conf create mode 100644 .config/kitty/themes/preferred/Monokai_Pro_(Filter_Machine).conf create mode 100644 .config/kitty/themes/preferred/Monokai_Pro_(Filter_Octagon).conf create mode 100644 .config/kitty/themes/preferred/Monokai_Pro_(Filter_Ristretto).conf create mode 100644 .config/kitty/themes/preferred/Monokai_Pro_(Filter_Spectrum).conf create mode 100644 .config/kitty/themes/preferred/Monokai_Soda.conf create mode 100644 .config/kitty/themes/preferred/OneDark.conf create mode 100644 .config/kitty/themes/preferred/Relaxed_Afterglow.conf create mode 100644 .config/kitty/themes/preferred/Solarized_Light.conf create mode 100644 .config/kitty/themes/preferred/Teerb.conf create mode 100644 .config/kitty/themes/preferred/Tomorrow_Night_Eighties.conf create mode 100644 .config/kitty/themes/preferred/Wombat.conf create mode 100644 .config/kitty/themes/preferred/ayu_mirage.conf create mode 100644 .config/kitty/themes/preferred/gruvbox_dark.conf create mode 100644 .config/kitty/themes/snazzy.conf create mode 100755 .config/lf/preview create mode 100644 .config/nvim/init.vim create mode 100644 .config/ranger/commands.py create mode 100644 .config/ranger/commands_full.py create mode 100644 .config/ranger/rc.conf create mode 100644 .config/ranger/rifle.conf create mode 100755 .config/ranger/scope.sh create mode 100644 .config/zsh/.zshrc create mode 100644 .config/zsh/functions/prompt_joe_setup create mode 100644 .emacs.d/init.el delete mode 100644 .tmux.conf delete mode 100644 .vimrc delete mode 100644 dotfiles-old.tar.gz diff --git a/.config/.ideavimrc b/.config/.ideavimrc deleted file mode 100755 index 47a4f49..0000000 --- a/.config/.ideavimrc +++ /dev/null @@ -1,128 +0,0 @@ -let mapleader = " " -set incsearch -set hlsearch -set clipboard+=unnamed -set number -set relativenumber -set surround -set multiple-cursors -set ideajoin -set idearefactormode=visual -set ignorecase -set commentary - -" TODO Find bindings for these -" nnoremap rc :action ChooseRcnConfiguration -" nnoremap ;b :action ToggleLineBreakpoint -" nnoremap ;e :action EvaluateExpression -" nnoremap ;d :action Debug -" nnoremap ;r :action Resume -" nnoremap ;s :action StepInto -" nnoremap ;n :action StepOver -" nmap :action **** Repeat last command -" Find out about VCS tool -" We need to get good bindings for window navigation - -" IDE has nice search behavior, consider adding these -" map / :action Find -" nnoremap n :action FindNext -" nnoremap N :action FindPrevious -" vnoremap n :action FindNext -" vnoremap N :action FindPrevious -" nnoremap * :action FindWordAtCaret -" nnoremap # :action FindWordAtCaret - -nnoremap f :action FindInPath - -nnoremap :action EditorIncreaseFontSize -nnoremap :action EditorDecreaseFontSize -nnoremap :action EditorResetFontSize - -nnoremap ) :action MethodDown -nnoremap ( :action MethodUp - -nnoremap \ q -nnoremap q :action KJumpAction.Word0 - -noremap rl :source ~/.ideavimrc -noremap i :e C:/Users/josep/.ideavimrc - -nnoremap p :action SearchEverywhere -nnoremap c :action GotoClass -nnoremap t :action FileStructurePopup -nnoremap f :action GotoFile -nnoremap r :action RecentFiles -nnoremap u :action GotoTest - -nnoremap zd :action CollapseDocComments -nnoremap zD :action ExpandDocComments - -nnoremap H :action MoveEditorToOppositeTabGroup -nnoremap L :action MoveEditorToOppositeTabGroup -nnoremap 2 -nnoremap 2 - -nnoremap gt :action GotoTypeDeclaration -nnoremap s :action KJumpAction.Word0 -nnoremap h :action HideAllWindows -nnoremap q :action CloseContent -nnoremap d :action QuickImplementations -nnoremap t :action QuickJavaDoc -nnoremap e :action ShowErrorDescription -nnoremap u :action FindUsages -nnoremap rn :action RenameElement -nnoremap c :action ChangeColorScheme -nnoremap ; :actionlist -vnoremap a :action StringManipulation.AlignToColumns -nnoremap bb :action BuildCurrentProject -nnoremap br :action Run -nnoremap bd :action Debug -nnoremap bs :action BuildSolutionAction - -vnoremap gq :action aligncarets.AlignAction -nnoremap w :action SaveDocument - -noremap = :action ReformatCode -vnoremap = :action ReformatCode -nnoremap / :nohlsearch -nnoremap g/ :action Find -nnoremap ga :action GotoAction - -" So we jump to both line and column for marks -nnoremap ' ` -nnoremap Y y$ -nnoremap $ g_ -nnoremap vv ^vg_ -nnoremap g; :action JumpToLastChange -nnoremap g, :action JumpToNextChange -nnoremap ; : -nnoremap : ; - -nnoremap :action GoToTab1 -nnoremap :action GoToTab2 -nnoremap :action GoToTab3 -nnoremap :action GoToTab4 -nnoremap :action GoToTab5 -nnoremap :action GoToTab6 -nnoremap :action GoToTab7 -nnoremap :action GoToTab8 -nnoremap :action GoToTab9 - -nnoremap :action ActivateStructureToolWindow -nnoremap :action MoveLineDown -nnoremap :action MoveLineUp -nnoremap h -nnoremap l -noremap :action SurroundWithLiveTemplate -nnoremap gT -nnoremap gt -nnoremap :action EditorCloneCaretBelow -nnoremap :action EditorCloneCaretAbove -nnoremap A; -inoremap A; -nnoremap :action ToggleDistractionFreeMode -nnoremap :action ToggleFullScreen -nnoremap :action GotoNextError -nnoremap :action GotoPreviousError -nnoremap moo'o -nnoremap moO'o diff --git a/.config/AutoHotkey-script-Open-Show-Apps.ahk b/.config/AutoHotkey-script-Open-Show-Apps.ahk deleted file mode 100755 index aa0262a..0000000 --- a/.config/AutoHotkey-script-Open-Show-Apps.ahk +++ /dev/null @@ -1,239 +0,0 @@ - -; This AutoHotkey script is to Open, Restore or Minimize the desires Apps using the configured shortcuts key (hotkeys) you want. -; There are three functions you can use for this: -; -; -; a) OpenOrShowAppBasedOnExeName(AppAddress) //Useful for regular Window Apps - -; b) OpenOrShowAppBasedOnWindowTitle(WindowTitleWord, AppAddress) //Specially useful for Chrome Apps and Chrome Shortcuts - -; c) OpenOrShowAppBasedOnAppModelUserID(AppTitle, AppModelUserID) //Useful for Windows Store Apps (contained in the "shell:AppsFolder\") - - -; Additionally, pressing Alt + ` (key above Tab key) you can switch between open Windows of the same "type" and same App (.exe) -; The "type" checking is based on the App's Title convention that stipulates that the App name should be at the end of the Window title (Eg: New Document - Word ) - - -/* ; - ***************************** - ***** UTILITY FUNCTIONS ***** - ***************************** - */ - -CycleCurrentWindowOfSameApp() -{ - WinGet, ActiveProcess, ProcessName, A - WinGet, OpenWindowsAmount, Count, ahk_exe %ActiveProcess% - - If OpenWindowsAmount = 1 ; If only one Window exist, do nothing - Return - - Else - { - WinGetTitle, FullTitle, A - AppTitle := ExtractAppTitle(FullTitle) - - SetTitleMatchMode, 2 - WinGet, WindowsWithSameTitleList, List, %AppTitle% - - If WindowsWithSameTitleList > 1 ; If several Window of same type (title checking) exist - { - WinActivate, % "ahk_id " WindowsWithSameTitleList%WindowsWithSameTitleList% ; Activate next Window - } - } - Return -} - -#WinActivateForce ; Prevent task bar buttons from flashing when different windows are activated quickly one after the other. - - - -; AppAddress: The address to the .exe (Eg: "C:\Windows\System32\SnippingTool.exe") - -OpenOrShowAppBasedOnExeName(AppAddress) -{ -AppExeName := SubStr(AppAddress, InStr(AppAddress, "\", false, -1) + 1) - - IfWinExist ahk_exe %AppExeName% - { - - IfWinActive - { - CycleCurrentWindowOfSameApp() - Return - } - else - { - WinActivate - Return - } - - } - else - { - Run, %AppAddress%, UseErrorLevel - If ErrorLevel - { - Msgbox, File %AppAddress% Not Found - Return - } - else - { - WinWait, ahk_exe %AppExeName% - WinActivate ahk_exe %AppExeName% - Return - } - - } -} - - -; WindowTitleWord: Usually the word at the end of the app window title (Eg: in: "New Document - Word" will be "Word") -; AppAddress: The address to the .exe (Eg: "C:\Windows\System32\SnippingTool.exe") - -OpenOrShowAppBasedOnWindowTitle(WindowTitleWord) -{ - - SetTitleMatchMode, 2 - IfWinExist, %WindowTitleWord% - { - - IfWinActive - { - ; CycleCurrentWindowOfSameApp() - Return - } - else - { - WinActivate - Return - } - - } -} - - - -; AppTitle: Usually the word at the end of the app window title(Eg: in: "New Document - Word" will be "Word") -; AppModelUserID: A comprehensive guide on how to find the AppModelUserID of a windows store app can be found here: https://jcutrer.com/windows/find-aumid - -OpenOrShowAppBasedOnAppModelUserID(AppTitle, AppModelUserID) -{ - - SetTitleMatchMode, 2 - - IfWinExist, %AppTitle% - { - - IfWinActive - { - Return - } - else - { - WinActivateBottom %AppTitle% - } - - } - else - { - - Run, shell:AppsFolder\%AppModelUserID%, UseErrorLevel - If ErrorLevel - { - Msgbox, File %AppModelUserID% Not Found - Return - } - - } -} - - -ExtractAppTitle(FullTitle) -{ -AppTitle := SubStr(FullTitle, InStr(FullTitle, " ", false, -1) + 1) - Return AppTitle -} - -#k:: -WinSet, Style, -0x800000, A -return -; -#+k:: -WinSet, Style, +0x800000, A -return -; - - -/* ; - *********************************** - ***** SHORTCUTS CONFIGURATION ***** - *********************************** - */ -; F7 - Open||Show "SnippingTool" -F7:: OpenOrShowAppBasedOnExeName("C:\Windows\System32\SnippingTool.exe") - -; Terminal -#1:: OpenOrShowAppBasedOnExeName("C:\tools\alacritty\alacritty.exe") -; Firefox -#2:: OpenOrShowAppBasedOnExeName("C:\Program Files (x86)\Mozilla Firefox\firefox.exe") -; Slack (now Teams) -#s:: OpenOrShowAppBasedOnExeName("C:\Users\josep\AppData\Local\Microsoft\Teams\current\Teams.exe") -; Youtube Music -#m:: OpenOrShowAppBasedOnExeName("C:\Users\josep\AppData\Local\Programs\youtube-music-desktop-app\YouTube Music Desktop App.exe") -; Rider -#3:: OpenOrShowAppBasedOnExeName("C:\Program Files\JetBrains\JetBrains Rider 2019.3.4\bin\rider64.exe") -; Whatsapp -#w:: OpenOrShowAppBasedOnWindowTitle("WhatsApp") -; Mail -#t:: OpenOrShowAppBasedOnWindowTitle("Thunderbird") -; Discord -#d:: OpenOrShowAppBasedOnWindowTitle("Discord") - -#+d::WinMinimizeAll - -; Alt + ` - Activate NEXT Window of same type (title checking) of the current APP -#`::CycleCurrentWindowOfSameApp() -#q::Send !{F4} - -F5::Send {Volume_Down 2} -F6::Send {Volume_Up 2} -F3::Send {Volume_Mute} - ->!n::Send { Asc 164 } ->!a::Send { Asc 160 } ->!e::Send { Asc 130 } ->!i::Send { Asc 161 } ->!o::Send { Asc 162 } ->!u::Send { Asc 163 } ->!+n::Send { Asc 165 } ->!+a::Send { Asc 0193 } ->!+e::Send { Asc 144 } ->!+i::Send { Asc 0205 } ->!+o::Send { Asc 0211 } ->!+u::Send { Asc 0218 } - ->!h::Send { Left } ->!j::Send { Down } ->!k::Send { Up } ->!l::Send { Right } - - -#+r:: -Reload -TrayTip, AutoHotKey, Config Reloaded, 2, 48 -return -; - -*RAlt:: -Send {Blind}{RAlt Down} -rAltDown := A_TickCount -Return - -*RAlt up:: -If ((A_TickCount-rAltDown)<200) ; Modify press time as needed (milliseconds) -Send {Blind}{RAlt Up}{Esc} -Else -Send {Blind}{RAlt Up} -Return - diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml deleted file mode 100644 index 55069f2..0000000 --- a/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,534 +0,0 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - -# Any items in the `env` entry below will be added as -# environment variables. Some entries may override variables -# set by alacritty itself. -env: - # TERM variable - # - # This value is used to set the `$TERM` environment variable for - # each instance of Alacritty. If it is not present, alacritty will - # check the local terminfo database and use `alacritty` if it is - # available, otherwise `xterm-256color` is used. - TERM: xterm-256color - -window: - # Window dimensions (changes require restart) - # - # Specified in number of columns/lines, not pixels. - # If both are `0`, this setting is ignored. - dimensions: - columns: 200 - lines: 55 - - # Window position (changes require restart) - # - # Specified in number of pixels. - # If the position is not set, the window manager will handle the placement. - position: - x: 0 - y: 0 - - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - padding: - x: 2 - y: 2 - - # Spread additional padding evenly around the terminal content. - #dynamic_padding: true - - # Window decorations - # - # Values for `decorations`: - # - full: Borders and title bar - # - none: Neither borders nor title bar - # - # Values for `decorations` (macOS only): - # - transparent: Title bar, transparent background and title bar buttons - # - buttonless: Title bar, transparent background, but no title bar buttons - decorations: full - - # Startup Mode (changes require restart) - # - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - # - # Values for `startup_mode` (macOS only): - # - SimpleFullscreen - startup_mode: Windowed - - # Window title - title: Alacritty - - # Window class (Linux/BSD only): - #class: - # Application instance name - #instance: Alacritty - # General application class - #general: Alacritty - - # GTK theme variant (Linux/BSD only) - # - # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`. - # Set this to `None` to use the default theme variant. - #gtk_theme_variant: None - -#scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - #history: 10000 - - # Number of lines the viewport will move for every line scrolled when - # scrollback is enabled (history > 0). - #multiplier: 3 - -# Font configuration -font: - # Normal (roman) font face - # normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - # family: Fira Code Medium - - # The `style` can be specified to pick a specific face. - #style: Regular - - # Bold font face - #bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Bold - - # Italic font face - #italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Italic - - # Bold italic font face - #bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Bold Italic - - # Point size - size: 10.0 - - # Offset is the extra space around each character. `offset.y` can be thought of - # as modifying the line spacing, and `offset.x` as modifying the letter spacing. - #offset: - # x: 0 - # y: 0 - - # Glyph offset determines the locations of the glyphs within their cells with - # the default being at the bottom. Increasing `x` moves the glyph to the right, - # increasing `y` moves the glyph upwards. - #glyph_offset: - # x: 0 - # y: 0 - - # Thin stroke font rendering (macOS only) - # - # Thin strokes are suitable for retina displays, but for non-retina screens - # it is recommended to set `use_thin_strokes` to `false` - # - # macOS >= 10.14.x: - # - # If the font quality on non-retina display looks bad then set - # `use_thin_strokes` to `true` and enable font smoothing by running the - # following command: - # `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO` - # - # This is a global setting and will require a log out or restart to take - # effect. - #use_thin_strokes: true - -# If `true`, bold text is drawn using the bright color variants. -#draw_bold_text_with_bright_colors: false - -schemes: - ## [New Moon](https://github.com/taniarascia/new-moon) - New Moon: &newmoon - # Default colors - primary: - background: '#2D2D2D' - foreground: '#B3B9C5' - # Normal colors - normal: - black: '#2D2D2D' - red: '#F2777A' - green: '#92D192' - yellow: '#FFD479' - blue: '#6AB0F3' - magenta: '#E1A6F2' - cyan: '#76D4D6' - white: '#B3B9C5' - # Bright colors - bright: - black: '#777C85' - red: '#F2777A' - green: '#76D4D6' - yellow: '#FFEEA6' - blue: '#6AB0F3' - magenta: '#E1A6F2' - cyan: '#76D4D6' - white: '#FFFFFF' - - -colors: *newmoon -custom_cursor_colors: true - -# black -# red -# green -# yellow -# blue -# magenta -# cyan -# white -# brblack -# brred -# brgreen -# bryellow -# brblue -# brmagenta -# brcyan -# brwhite -# normal - - - -# Visual Bell -# -# Any time the BEL code is received, Alacritty "rings" the visual bell. Once -# rung, the terminal background will be set to white and transition back to the -# default background color. You can control the rate of this transition by -# setting the `duration` property (represented in milliseconds). You can also -# configure the transition function by setting the `animation` property. -# -# Values for `animation`: -# - Ease -# - EaseOut -# - EaseOutSine -# - EaseOutQuad -# - EaseOutCubic -# - EaseOutQuart -# - EaseOutQuint -# - EaseOutExpo -# - EaseOutCirc -# - Linear -# -# Specifying a `duration` of `0` will disable the visual bell. -#visual_bell: -# animation: EaseOutExpo -# duration: 0 -# color: '#ffffff' - -# Background opacity -# -# Window opacity as a floating point number from `0.0` to `1.0`. -# The value `0.0` is completely transparent and `1.0` is opaque. -background_opacity: 1 - -#selection: - #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" - - # When set to `true`, selected text will be copied to the primary clipboard. - #save_to_clipboard: false - -# Allow terminal applications to change Alacritty's window title. -#dynamic_title: true - -#cursor: - # Cursor style - # - # Values for `style`: - # - ▇ Block - # - _ Underline - # - | Beam - #style: Block - - # If this is `true`, the cursor will be rendered as a hollow box when the - # window is not focused. - #unfocused_hollow: true - -# Live config reload (changes require restart) -#live_config_reload: true - -# Shell -# -# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`. -# Entries in `shell.args` are passed unmodified as arguments to the shell. -# -# Default: -# - (macOS) /bin/bash --login -# - (Linux/BSD) user login shell -# - (Windows) powershell -shell: - program: fish -# args: -# - --login - -# Startup directory -# -# Directory the shell is started in. If this is unset, or `None`, the working -# directory of the parent process will be used. -working_directory: /home/joe - -# WinPTY backend (Windows only) -# -# Alacritty defaults to using the newer ConPTY backend if it is available, -# since it resolves a lot of bugs and is quite a bit faster. If it is not -# available, the the WinPTY backend will be used instead. -# -# Setting this option to `true` makes Alacritty use the legacy WinPTY backend, -# even if the ConPTY backend is available. -#winpty_backend: false - -# Send ESC (\x1b) before characters when alt is pressed. -#alt_send_esc: true - -mouse: - # Click settings - # - # The `double_click` and `triple_click` settings control the time - # alacritty should wait for accepting multiple clicks as one double - # or triple click. - double_click: { threshold: 300 } - #triple_click: { threshold: 300 } - - # If this is `true`, the cursor is temporarily hidden when typing. - #hide_when_typing: false - - #url: - # URL launcher - # - # This program is executed when clicking on a text which is recognized as a URL. - # The URL is always added to the command as the last parameter. - # - # When set to `None`, URL launching will be disabled completely. - # - # Default: - # - (macOS) open - # - (Linux/BSD) xdg-open - # - (Windows) explorer - #launcher: - # program: xdg-open - # args: [] - - # URL modifiers - # - # These are the modifiers that need to be held down for opening URLs when clicking - # on them. The available modifiers are documented in the key binding section. - #modifiers: None - -# Mouse bindings -# -# Mouse bindings are specified as a list of objects, much like the key -# bindings further below. -# -# To trigger mouse bindings when an application running within Alacritty captures the mouse, the -# `Shift` modifier is automatically added as a requirement. -# -# Each mouse binding will specify a: -# -# - `mouse`: -# -# - Middle -# - Left -# - Right -# - Numeric identifier such as `5` -# -# - `action` (see key bindings) -# -# And optionally: -# -# - `mods` (see key bindings) -#mouse_bindings: -# - { mouse: Middle, action: PasteSelection } - -# Key bindings -# -# Key bindings are specified as a list of objects. For example, this is the -# default paste binding: -# -# `- { key: V, mods: Control|Shift, action: Paste }` -# -# Each key binding will specify a: -# -# - `key`: Identifier of the key pressed -# -# - A-Z -# - F1-F24 -# - Key0-Key9 -# -# A full list with available key codes can be found here: -# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants -# -# Instead of using the name of the keys, the `key` field also supports using -# the scancode of the desired key. Scancodes have to be specified as a -# decimal number. This command will allow you to display the hex scancodes -# for certain keys: -# -# `showkey --scancodes`. -# -# Then exactly one of: -# -# - `chars`: Send a byte sequence to the running application -# -# The `chars` field writes the specified string to the terminal. This makes -# it possible to pass escape sequences. To find escape codes for bindings -# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside -# of tmux. Note that applications use terminfo to map escape sequences back -# to keys. It is therefore required to update the terminfo when changing an -# escape sequence. -# -# - `action`: Execute a predefined action -# -# - Copy -# - Paste -# - PasteSelection -# - IncreaseFontSize -# - DecreaseFontSize -# - ResetFontSize -# - ScrollPageUp -# - ScrollPageDown -# - ScrollLineUp -# - ScrollLineDown -# - ScrollToTop -# - ScrollToBottom -# - ClearHistory -# - Hide -# - Minimize -# - Quit -# - ToggleFullscreen -# - SpawnNewInstance -# - ClearLogNotice -# - ReceiveChar -# - None -# -# (macOS only): -# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space -# -# - `command`: Fork and execute a specified command plus arguments -# -# The `command` field must be a map containing a `program` string and an -# `args` array of command line parameter strings. For example: -# `{ program: "alacritty", args: ["-e", "vttest"] }` -# -# And optionally: -# -# - `mods`: Key modifiers to filter binding actions -# -# - Command -# - Control -# - Option -# - Super -# - Shift -# - Alt -# -# Multiple `mods` can be combined using `|` like this: -# `mods: Control|Shift`. -# Whitespace and capitalization are relevant and must match the example. -# -# - `mode`: Indicate a binding for only specific terminal reported modes -# -# This is mainly used to send applications the correct escape sequences -# when in different modes. -# -# - AppCursor -# - AppKeypad -# - Alt -# -# A `~` operator can be used before a mode to apply the binding whenever -# the mode is *not* active, e.g. `~Alt`. -# -# Bindings are always filled by default, but will be replaced when a new -# binding with the same triggers is defined. To unset a default binding, it can -# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for -# a no-op if you do not wish to receive input characters for that binding. -# -# If the same trigger is assigned to multiple actions, all of them are executed -# at once. -key_bindings: - # (Windows, Linux, and BSD only) - - { key: V, mods: Alt, action: Paste } - - { key: C, mods: Alt, action: Copy } - #- { key: Insert, mods: Shift, action: PasteSelection } - #- { key: Key0, mods: Control, action: ResetFontSize } - #- { key: Equals, mods: Control, action: IncreaseFontSize } - #- { key: Add, mods: Control, action: IncreaseFontSize } - #- { key: Subtract, mods: Control, action: DecreaseFontSize } - #- { key: Minus, mods: Control, action: DecreaseFontSize } - - # (Windows only) - #- { key: Return, mods: Alt, action: ToggleFullscreen } - - # (macOS only) - #- { key: Key0, mods: Command, action: ResetFontSize } - #- { key: Equals, mods: Command, action: IncreaseFontSize } - #- { key: Add, mods: Command, action: IncreaseFontSize } - #- { key: Minus, mods: Command, action: DecreaseFontSize } - #- { key: K, mods: Command, action: ClearHistory } - #- { key: K, mods: Command, chars: "\x0c" } - #- { key: V, mods: Command, action: Paste } - #- { key: C, mods: Command, action: Copy } - #- { key: H, mods: Command, action: Hide } - #- { key: M, mods: Command, action: Minimize } - #- { key: Q, mods: Command, action: Quit } - #- { key: W, mods: Command, action: Quit } - #- { key: F, mods: Command|Control, action: ToggleFullscreen } - - #- { key: Paste, action: Paste } - #- { key: Copy, action: Copy } - #- { key: L, mods: Control, action: ClearLogNotice } - #- { key: L, mods: Control, chars: "\x0c" } - #- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt } - #- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt } - #- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt } - #- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt } - -#debug: - # Display the time it takes to redraw each frame. - #render_timer: false - - # Keep the log file after quitting Alacritty. - #persistent_logging: false - - # Log level - # - # Values for `log_level`: - # - None - # - Error - # - Warn - # - Info - # - Debug - # - Trace - #log_level: Warn - - # Print all received window events. - #print_events: false diff --git a/.config/fish/completions/fisher.fish b/.config/fish/completions/fisher.fish new file mode 100644 index 0000000..6d23ce4 --- /dev/null +++ b/.config/fish/completions/fisher.fish @@ -0,0 +1,7 @@ +complete --command fisher --exclusive --long help --description "Print help" +complete --command fisher --exclusive --long version --description "Print version" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex" +complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)" diff --git a/.config/fish/completions/fzf_configure_bindings.fish b/.config/fish/completions/fzf_configure_bindings.fish new file mode 100644 index 0000000..a78fd54 --- /dev/null +++ b/.config/fish/completions/fzf_configure_bindings.fish @@ -0,0 +1,7 @@ +complete fzf_configure_bindings --no-files +complete fzf_configure_bindings --long help --short h --description "Print help" +complete fzf_configure_bindings --long directory --description "Change the key binding for searching directory" +complete fzf_configure_bindings --long git_log --description "Change the key binding for searching git log" +complete fzf_configure_bindings --long git_status --description "Change the key binding for searching git status" +complete fzf_configure_bindings --long history --description "Change the key binding for searching history" +complete fzf_configure_bindings --long variables --description "Change the key binding for searching variables" diff --git a/.config/fish/conf.d/forgit.plugin.fish b/.config/fish/conf.d/forgit.plugin.fish new file mode 100644 index 0000000..1129619 --- /dev/null +++ b/.config/fish/conf.d/forgit.plugin.fish @@ -0,0 +1,543 @@ +# MIT (c) Chris Apple + +function forgit::warn + printf "%b[Warn]%b %s\n" '\e[0;33m' '\e[0m' "$argv" >&2; +end + +function forgit::info + printf "%b[Info]%b %s\n" '\e[0;32m' '\e[0m' "$argv" >&2; +end + +function forgit::inside_work_tree + git rev-parse --is-inside-work-tree >/dev/null; +end + +set -g forgit_pager "$FORGIT_PAGER" +set -g forgit_show_pager "$FORGIT_SHOW_PAGER" +set -g forgit_diff_pager "$FORGIT_DIFF_PAGER" +set -g forgit_ignore_pager "$FORGIT_IGNORE_PAGER" +set -g forgit_log_format "$FORGIT_LOG_FORMAT" + +test -z "$forgit_pager"; and set -g forgit_pager (git config core.pager || echo 'cat') +test -z "$forgit_show_pager"; and set -g forgit_show_pager (git config pager.show || echo "$forgit_pager") +test -z "$forgit_diff_pager"; and set -g forgit_diff_pager (git config pager.diff || echo "$forgit_pager") +test -z "$forgit_ignore_pager"; and set -g forgit_ignore_pager (type -q bat >/dev/null 2>&1 && echo 'bat -l gitignore --color=always' || echo 'cat') +test -z "$forgit_log_format"; and set -g forgit_log_format "-%C(auto)%h%d %s %C(black)%C(bold)%cr%Creset" + +# https://github.com/wfxr/emoji-cli +type -q emojify >/dev/null 2>&1 && set -g forgit_emojify '|emojify' + +# git commit viewer +function forgit::log -d "git commit viewer" + forgit::inside_work_tree || return 1 + + set files (echo $argv | sed -nE 's/.* -- (.*)/\1/p') + set cmd "echo {} |grep -Eo '[a-f0-9]+' |head -1 |xargs -I% git show --color=always % -- $files | $forgit_show_pager" + + if test -n "$FORGIT_COPY_CMD" + set copy_cmd $FORGIT_COPY_CMD + else + set copy_cmd pbcopy + end + + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +s +m --tiebreak=index + --bind=\"enter:execute($cmd |env LESS='-r' less)\" + --bind=\"ctrl-y:execute-silent(echo {} |grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]' |$copy_cmd)\" + $FORGIT_LOG_FZF_OPTS + " + + if set -q FORGIT_LOG_GRAPH_ENABLE + set graph "--graph" + else + set graph "" + end + + eval "git log $graph --color=always --format='$forgit_log_format' $argv $forgit_emojify" | + env FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd" +end + +## git diff viewer +function forgit::diff -d "git diff viewer" + forgit::inside_work_tree || return 1 + if count $argv > /dev/null + if git rev-parse "$argv[1]" > /dev/null 2>&1 + set commit "$argv[1]" && set files "$argv[2..]" + else + set files "$argv" + end + end + + set repo (git rev-parse --show-toplevel) + set cmd "echo {} |sed 's/.*] //' | xargs -I% git diff --color=always $commit -- '$repo/%' | $forgit_diff_pager" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +m -0 --bind=\"enter:execute($cmd |env LESS='-r' less)\" + $FORGIT_DIFF_FZF_OPTS + " + + eval "git diff --name-only $commit -- $files*| sed -E 's/^(.)[[:space:]]+(.*)\$/[\1] \2/'" | env FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd" +end + +# git add selector +function forgit::add -d "git add selector" + forgit::inside_work_tree || return 1 + # Add files if passed as arguments + count $argv >/dev/null && git add "$argv" && git status --short && return + + set changed (git config --get-color color.status.changed red) + set unmerged (git config --get-color color.status.unmerged red) + set untracked (git config --get-color color.status.untracked red) + + set extract_file " + sed 's/^[[:space:]]*//' | # remove leading whitespace + cut -d ' ' -f 2- | # cut the line after the M or ??, this leaves just the filename + sed 's/.* -> //' | # for rename case + sed -e 's/^\\\"//' -e 's/\\\"\$//' # removes surrounding quotes + " + set preview " + set file (echo {} | $extract_file) + # exit + if test (git status -s -- \$file | grep '^??') # diff with /dev/null for untracked files + git diff --color=always --no-index -- /dev/null \$file | $forgit_diff_pager | sed '2 s/added:/untracked:/' + else + git diff --color=always -- \$file | $forgit_diff_pager + end + " + set opts " + $FORGIT_FZF_DEFAULT_OPTS + -0 -m --nth 2..,.. + $FORGIT_ADD_FZF_OPTS + " + set files (git -c color.status=always -c status.relativePaths=true status -su | + grep -F -e "$changed" -e "$unmerged" -e "$untracked" | + sed -E 's/^(..[^[:space:]]*)[[:space:]]+(.*)\$/[\1] \2/' | # deal with white spaces internal to fname + env FZF_DEFAULT_OPTS="$opts" fzf --preview="$preview" | + sh -c "$extract_file") # for rename case + + if test -n "$files" + for file in $files + echo $file | tr '\n' '\0' | xargs -I{} -0 git add {} + end + git status --short + return + end + echo 'Nothing to add.' +end + +## git reset HEAD (unstage) selector +function forgit::reset::head -d "git reset HEAD (unstage) selector" + forgit::inside_work_tree || return 1 + set cmd "git diff --cached --color=always -- {} | $forgit_diff_pager" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + -m -0 + $FORGIT_RESET_HEAD_FZF_OPTS + " + set files (git diff --cached --name-only --relative | env FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd") + if test -n "$files" + for file in $files + echo $file | tr '\n' '\0' |xargs -I{} -0 git reset -q HEAD {} + end + git status --short + return + end + echo 'Nothing to unstage.' +end + +# git checkout-restore selector +function forgit::checkout::file -d "git checkout-file selector" --argument-names 'file_name' + forgit::inside_work_tree || return 1 + + if test -n "$file_name" + git checkout -- "$file_name" + set checkout_status $status + git status --short + return $checkout_status + end + + + set cmd "git diff --color=always -- {} | $forgit_diff_pager" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + -m -0 + $FORGIT_CHECKOUT_FILE_FZF_OPTS + " + set git_rev_parse (git rev-parse --show-toplevel) + set files (git ls-files --modified "$git_rev_parse" | env FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd") + + if test -n "$files" + for file in $files + echo $file | tr '\n' '\0' | xargs -I{} -0 git checkout -q {} + end + git status --short + return + end + echo 'Nothing to restore.' +end + +function forgit::checkout::commit -d "git checkout commit selector" --argument-names 'commit_id' + forgit::inside_work_tree || return 1 + + if test -n "$commit_id" + git checkout "$commit_id" + set checkout_status $status + git status --short + return $checkout_status + end + + if test -n "$FORGIT_COPY_CMD" + set copy_cmd $FORGIT_COPY_CMD + else + set copy_cmd pbcopy + end + + + set cmd "echo {} |grep -Eo '[a-f0-9]+' |head -1 |xargs -I% git show --color=always % | $forgit_show_pager" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +s +m --tiebreak=index + --bind=\"ctrl-y:execute-silent(echo {} |grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]' | $copy_cmd)\" + $FORGIT_COMMIT_FZF_OPTS + " + + if set -q FORGIT_LOG_GRAPH_ENABLE + set graph "--graph" + else + set graph "" + end + + eval "git log $graph --color=always --format='$forgit_log_format' $forgit_emojify" | + FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd" |grep -Eo '[a-f0-9]+' |head -1 |xargs -I% git checkout % -- +end + + +function forgit::checkout::branch -d "git checkout branch selector" --argument-names 'input_branch_name' + forgit::inside_work_tree || return 1 + + if test -n "$input_branch_name" + git checkout -b "$input_branch_name" + set checkout_status $status + git status --short + return $checkout_status + end + + set cmd "git branch --color=always --verbose --all | sort -k1.1,1.1 -r" + set preview "git log {1} --graph --pretty=format:'$forgit_log_format' --color=always --abbrev-commit --date=relative" + + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +s +m --tiebreak=index --header-lines=1 + $FORGIT_CHECKOUT_BRANCH_FZF_OPTS + " + + set branch (eval "$cmd" | FZF_DEFAULT_OPTS="$opts" fzf --preview="$preview" | awk '{print $1}') + + test -z "$branch" && return 1 + + # track the remote branch if possible + if not git checkout --track "$branch" 2>/dev/null + git checkout "$branch" + end +end + +# git stash viewer +function forgit::stash::show -d "git stash viewer" + forgit::inside_work_tree || return 1 + set cmd "echo {} |cut -d: -f1 |xargs -I% git stash show --color=always --ext-diff % |$forgit_diff_pager" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +s +m -0 --tiebreak=index --bind=\"enter:execute($cmd |env LESS='-r' less)\" + $FORGIT_STASH_FZF_OPTS + " + git stash list | env FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd" +end + +# git clean selector +function forgit::clean -d "git clean selector" + forgit::inside_work_tree || return 1 + + set opts " + $FORGIT_FZF_DEFAULT_OPTS + -m -0 + $FORGIT_CLEAN_FZF_OPTS + " + + set files (git clean -xdffn $argv| awk '{print $3}'| env FZF_DEFAULT_OPTS="$opts" fzf |sed 's#/$##') + + if test -n "$files" + for file in $files + echo $file | tr '\n' '\0'| xargs -0 -I{} git clean -xdff {} + end + git status --short + return + end + echo 'Nothing to clean.' +end + +function forgit::cherry::pick -d "git cherry-picking" --argument-names 'target' + forgit::inside_work_tree || return 1 + set base (git branch --show-current) + if test -z "$target" + echo "Please specify target branch" + return 1 + end + set preview "echo {1} | xargs -I% git show --color=always % | $forgit_show_pager" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + -m -0 + " + echo $base + echo $target + git cherry "$base" "$target" --abbrev -v | cut -d ' ' -f2- | + env FZF_DEFAULT_OPTS="$opts" fzf --preview="$preview" | cut -d' ' -f1 | + xargs -I% git cherry-pick % +end + +function forgit::fixup -d "git fixup" + forgit::inside_work_tree || return 1 + git diff --cached --quiet && echo 'Nothing to fixup: there are no staged changes.' && return 1 + + if set -q FORGIT_LOG_GRAPH_ENABLE + set graph "--graph" + else + set graph "" + end + + set cmd "git log $graph --color=always --format='$forgit_log_format' $argv $forgit_emojify" + set files (echo $argv | sed -nE 's/.* -- (.*)/\1/p') + set preview "echo {} |grep -Eo '[a-f0-9]+' |head -1 |xargs -I% git show --color=always % -- $files | $forgit_show_pager" + + if test -n "$FORGIT_COPY_CMD" + set copy_cmd $FORGIT_COPY_CMD + else + set copy_cmd pbcopy + end + + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +s +m --tiebreak=index + --bind=\"ctrl-y:execute-silent(echo {} |grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]' |$copy_cmd)\" + $FORGIT_FIXUP_FZF_OPTS + " + + set target_commit (eval "$cmd" | FZF_DEFAULT_OPTS="$opts" fzf --preview="$preview" | grep -Eo '[a-f0-9]+' | head -1) + + if test -n "$target_commit" && git commit --fixup "$target_commit" + # "$target_commit~" is invalid when the commit is the first commit, but we can use "--root" instead + set prev_commit "$target_commit~" + if test "(git rev-parse '$target_commit')" = "(git rev-list --max-parents=0 HEAD)" + set prev_commit "--root" + end + + GIT_SEQUENCE_EDITOR=: git rebase --autostash -i --autosquash "$prev_commit" + end + +end + + +function forgit::rebase -d "git rebase" + forgit::inside_work_tree || return 1 + + if set -q FORGIT_LOG_GRAPH_ENABLE + set graph "--graph" + else + set graph "" + end + set cmd "git log $graph --color=always --format='$forgit_log_format' $argv $forgit_emojify" + + set files (echo $argv | sed -nE 's/.* -- (.*)/\1/p') + set preview "echo {} |grep -Eo '[a-f0-9]+' |head -1 |xargs -I% git show --color=always % -- $files | $forgit_show_pager" + + if test -n "$FORGIT_COPY_CMD" + set copy_cmd $FORGIT_COPY_CMD + else + set copy_cmd pbcopy + end + + set opts " + $FORGIT_FZF_DEFAULT_OPTS + +s +m --tiebreak=index + --bind=\"ctrl-y:execute-silent(echo {} |grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]' |$copy_cmd)\" + $FORGIT_REBASE_FZF_OPTS + " + set commit (eval "$cmd" | FZF_DEFAULT_OPTS="$opts" fzf --preview="$preview" | + grep -Eo '[a-f0-9]+' | head -1) + + if test $commit + git rebase -i "$commit" + end +end + +# git ignore generator +if test -z "$FORGIT_GI_REPO_REMOTE" + set -g FORGIT_GI_REPO_REMOTE https://github.com/dvcs/gitignore +end + +if test -z "$FORGIT_GI_REPO_LOCAL" + if test -z "XDG_CACHE_HOME" + set -g FORGIT_GI_REPO_LOCAL $XDG_CACHE_HOME/forgit/gi/repos/dvcs/gitignore + else + set -g FORGIT_GI_REPO_LOCAL $HOME/.cache/forgit/gi/repos/dvcs/gitignore + end +end + +if test -z "$FORGIT_GI_TEMPLATES" + set -g FORGIT_GI_TEMPLATES $FORGIT_GI_REPO_LOCAL/templates +end + +function forgit::ignore -d "git ignore generator" + if not test -d "$FORGIT_GI_REPO_LOCAL" + forgit::ignore::update + end + + set cmd "$forgit_ignore_pager $FORGIT_GI_TEMPLATES/{2}{,.gitignore} 2>/dev/null" + set opts " + $FORGIT_FZF_DEFAULT_OPTS + -m --preview-window='right:70%' + $FORGIT_IGNORE_FZF_OPTS + " + set IFS '\n' + + set args $argv + if not count $argv > /dev/null + set args (forgit::ignore::list | nl -nrn -w4 -s' ' | + env FZF_DEFAULT_OPTS="$opts" fzf --preview="$cmd" |awk '{print $2}') + end + + if not count $args > /dev/null + return 1 + end + + forgit::ignore::get $args +end + +function forgit::ignore::update + if test -d "$FORGIT_GI_REPO_LOCAL" + forgit::info 'Updating gitignore repo...' + set pull_result (git -C "$FORGIT_GI_REPO_LOCAL" pull --no-rebase --ff) + test -n "$pull_result" || return 1 + else + forgit::info 'Initializing gitignore repo...' + git clone --depth=1 "$FORGIT_GI_REPO_REMOTE" "$FORGIT_GI_REPO_LOCAL" + end +end + +function forgit::ignore::get + for item in $argv + set filename (find -L "$FORGIT_GI_TEMPLATES" -type f \( -iname "$item.gitignore" -o -iname "$item}" \) -print -quit) + if test -n "$filename" + set header $filename && set header (echo $filename | sed 's/.*\.//') + echo "### $header" && cat "$filename" && echo + else + forgit::warn "No gitignore template found for '$item'." && continue + end + end +end + +function forgit::ignore::list + find "$FORGIT_GI_TEMPLATES" -print |sed -e 's#.gitignore$##' -e 's#.*/##' | sort -fu +end + +function forgit::ignore::clean + setopt localoptions rmstarsilent + [[ -d "$FORGIT_GI_REPO_LOCAL" ]] && rm -rf "$FORGIT_GI_REPO_LOCAL" +end + +set -g FORGIT_FZF_DEFAULT_OPTS " +$FZF_DEFAULT_OPTS +--ansi +--height='80%' +--bind='alt-k:preview-up,alt-p:preview-up' +--bind='alt-j:preview-down,alt-n:preview-down' +--bind='ctrl-r:toggle-all' +--bind='ctrl-s:toggle-sort' +--bind='?:toggle-preview' +--bind='alt-w:toggle-preview-wrap' +--preview-window='right:60%' ++1 +$FORGIT_FZF_DEFAULT_OPTS +" + +# register aliases +if test -z "$FORGIT_NO_ALIASES" + if test -n "$forgit_add" + alias $forgit_add 'forgit::add' + else + alias ga 'forgit::add' + end + + if test -n "$forgit_reset_head" + alias $forgit_reset_head 'forgit::reset::head' + else + alias grh 'forgit::reset::head' + end + + if test -n "$forgit_log" + alias $forgit_log 'forgit::log' + else + alias glo 'forgit::log' + end + + if test -n "$forgit_diff" + alias $forgit_diff 'forgit::diff' + else + alias gd 'forgit::diff' + end + + if test -n "$forgit_ignore" + alias $forgit_ignore 'forgit::ignore' + else + alias gi 'forgit::ignore' + end + + if test -n "$forgit_checkout_file" + alias $forgit_checkout_file 'forgit::checkout::file' + else + alias gcf 'forgit::checkout::file' + end + + if test -n "$forgit_checkout_branch" + alias $forgit_checkout_branch 'forgit::checkout::branch' + else + alias gcb 'forgit::checkout::branch' + end + + if test -n "$forgit_clean" + alias $forgit_clean 'forgit::clean' + else + alias gclean 'forgit::clean' + end + + if test -n "$forgit_stash_show" + alias $forgit_stash_show 'forgit::stash::show' + else + alias gss 'forgit::stash::show' + end + + if test -n "$forgit_cherry_pick" + alias $forgit_cherry_pick 'forgit::cherry::pick' + else + alias gcp 'forgit::cherry::pick' + end + + if test -n "$forgit_rebase" + alias $forgit_rebase 'forgit::rebase' + else + alias grb 'forgit::rebase' + end + + if test -n "$forgit_fixup" + alias $forgit_fixup 'forgit::fixup' + else + alias gfu 'forgit::fixup' + end + + if test -n "$forgit_checkout_commit" + alias $forgit_checkout_commit 'forgit::checkout::commit' + else + alias gco 'forgit::checkout::commit' + end + +end diff --git a/.config/fish/conf.d/fzf.fish b/.config/fish/conf.d/fzf.fish new file mode 100644 index 0000000..c0b3b08 --- /dev/null +++ b/.config/fish/conf.d/fzf.fish @@ -0,0 +1,35 @@ +# fzf.fish is only meant to be used in interactive mode. If not in interactive mode and not in CI, skip the config to speed up shell startup +if not status is-interactive && test "$CI" != true + exit +end + +# Because of scoping rules, to capture the shell variables exactly as they are, we must read +# them before even executing _fzf_search_variables. We use psub to store the +# variables' info in temporary files and pass in the filenames as arguments. +# # This variable is global so that it can be referenced by fzf_configure_bindings and in tests +set --global _fzf_search_vars_command '_fzf_search_variables (set --show | psub) (set --names | psub)' + + +# Install the default bindings, which are mnemonic and minimally conflict with fish's preset bindings +fzf_configure_bindings + +# Doesn't erase autoloaded _fzf_* functions because they are not easily accessible once key bindings are erased +function _fzf_uninstall --on-event fzf_uninstall + _fzf_uninstall_bindings + + set --erase _fzf_search_vars_command + functions --erase _fzf_uninstall _fzf_migration_message _fzf_uninstall_bindings fzf_configure_bindings + complete --erase fzf_configure_bindings + + set_color cyan + echo "fzf.fish uninstalled." + echo "You may need to manually remove fzf_configure_bindings from your config.fish if you were using custom key bindings." + set_color normal +end + +function _fzf_migration_message --on-event fzf_update + set_color FF8C00 # dark orange + printf '\n%s\n' 'If you last updated fzf.fish before 2021-06-11, you need to migrate your key bindings.' + printf '%s\n\n' 'Check out https://github.com/PatrickF1/fzf.fish/wiki/Migration-Guides#v7.' + set_color normal +end diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 7ef5fd7..2fd63ec 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,79 +1,60 @@ -set -g fish_user_paths $fish_user_paths ~/bin ~/.cargo/bin ~/.local/bin +if status is-interactive + # Commands to run in interactive sessions can go here +end +set -gx XDG_CONFIG_HOME /home/joe/.config +set -gx XDG_DATA_HOME /home/joe/.local/share +set -gx XDG_CACHE_HOME /home/joe/.cache -set -g MANPAGER "sh -c 'col -bx | bat -l man -p'" -set EDITOR vim -set -U FZF_COMPLETE 0 -set -U FZF_LEGACY_KEYBINDINGS 0 -set -U FZF_DEFAULT_OPTS "--height 40% --reverse --border" -set -g DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0 +set -gx VISUAL nvim +set -gx EDITOR nvim -source ~/.config/fish/dircolors.fish -source ~/.config/fish/marks.fish +fish_hybrid_key_bindings +set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'" bind \cx 'if jobs > /dev/null ; fg; fish_prompt; end' -abbr -a -g c "clip.exe" -abbr -a -g o wsl-open -abbr -a -g dot dotfiles -abbr -a -g fcon "source ~/.config/fish/config.fish" - -alias ls "exa --group-directories-first" -alias ll "exa -la --group-directories-first" -alias lc "exa -1 --group-directories-first" -alias lt "exa -l --sort=modified" -alias vi "vim -u ~/.vimrc.basic" - -# git +if [ (uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip') ] + set -g DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}') + alias xdg-open wsl-open +end abbr -a -g gs "git status --untracked-files" abbr -a -g gl "git lop -10" abbr -a -g gll "git lol -15" -abbr -a -g glp "git lfs pull" -abbr -a -g glm "gss git merge ; glp" -abbr -a -g ga "git add" -abbr -a -g gch "git checkout" abbr -a -g gchm "git checkout master" abbr -a -g gchb "git checkout -b" -abbr -a -g gd "git diff" -abbr -a -g gdh "git diff HEAD" -abbr -a -g gm "git merge" -abbr -a -g gms "git merge --squash" -abbr -a -g gb "git branch" -abbr -a -g gba "git branch -a" -abbr -a -g gf "git fetch" -abbr -a -g gr "git rebase" +abbr -a -g gch "git checkout" abbr -a -g gc "git commit" abbr -a -g gcm "git commit -m" abbr -a -g gcau "git commit --author" abbr -a -g gcam "git commit -am" -abbr -a -g ga "git add" +abbr -a -g gcamm "git commit --amend" abbr -a -g gaa "git add -A" -abbr -a -g gpl "git pull" -abbr -a -g gp "git push" -abbr -a -g gpd "git push -d origin" -abbr -a -g gpu "git push -u origin" -abbr -a -g gpr "git remote prune origin" -abbr -a -g grh "git reset --hard" -abbr -a -g gcl "git clean -fd" -abbr -a -g gst "git stash" -abbr -a -g gsl "git stash list" -abbr -a -g gsp "git stash pop" -abbr -a -g gsu "git submodule update" -abbr -a -g glom "git lop -10 origin/master" -abbr -a -g gmom "git merge origin/master" -abbr -a -g gmm "git merge master" -abbr -a -g gss "env GIT_LFS_SKIP_SMUDGE=1" +# abbr -a -g glp "git lfs pull" +# abbr -a -g glm "gss git merge ; glp" +# abbr -a -g gd "git diff" +# abbr -a -g gdh "git diff HEAD" +# abbr -a -g gm "git merge" +# abbr -a -g gms "git merge --squash" +# abbr -a -g gb "git branch" +# abbr -a -g gba "git branch -a" +# abbr -a -g gf "git fetch" +# abbr -a -g gr "git rebase" +# abbr -a -g gpl "git pull" +# abbr -a -g gp "git push" +# abbr -a -g gpd "git push -d origin" +# abbr -a -g gpu "git push -u origin" +# abbr -a -g gpr "git remote prune origin" +# abbr -a -g grh "git reset --hard" +# abbr -a -g gcl "git clean -fd" +# abbr -a -g gst "git stash" +# abbr -a -g gsl "git stash list" +# abbr -a -g gsp "git stash pop" +# abbr -a -g gsu "git submodule update" +# abbr -a -g glom "git lop -10 origin/master" +# abbr -a -g gmom "git merge origin/master" +# abbr -a -g gmm "git merge master" +# abbr -a -g gss "env GIT_LFS_SKIP_SMUDGE=1" - -alias xdg-open wsl-open - -alias dotfiles "git --git-dir=$HOME/.dotfiles --work-tree=$HOME" - -alias g "bookmark go" - -alias restart-tmux "not pgrep tmux && tmux new -d -s delete-me \ - && tmux run-shell ~/.tmux/plugins/tmux-resurrect/scripts/restore.sh \ - && tmux kill-session -t delete-me \ - && tmux attach || tmux attach " - -# source /home/joe/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true +# export NNN_FIFO="/tmp/nnn.fifo" # temporary buffer for the previews +# export NNN_PLUG='p:preview-tui' diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins new file mode 100644 index 0000000..4f3cd48 --- /dev/null +++ b/.config/fish/fish_plugins @@ -0,0 +1,4 @@ +jorgebucaran/fisher +sei40kr/fish-ranger-cd +PatrickF1/fzf.fish +wfxr/forgit diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables new file mode 100644 index 0000000..68b3c61 --- /dev/null +++ b/.config/fish/fish_variables @@ -0,0 +1,42 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR EDITOR:nvim +SETUVAR VISUAL:nvim +SETUVAR XDG_CACHE_HOME:/home/joe/\x2ecache +SETUVAR XDG_CONFIG_HOME:/home/joe/\x2econfig +SETUVAR XDG_DATA_HOME:/home/joe/\x2elocal/share +SETUVAR __fish_initialized:3100 +SETUVAR _fisher_PatrickF1_2F_fzf_2E_fish_files:/home/joe/\x2econfig/fish/functions/_fzf_configure_bindings_help\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_extract_var_info\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_preview_file\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_report_file_type\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_search_directory\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_search_git_log\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_search_git_status\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_search_history\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_search_variables\x2efish\x1e/home/joe/\x2econfig/fish/functions/_fzf_wrapper\x2efish\x1e/home/joe/\x2econfig/fish/functions/fzf_configure_bindings\x2efish\x1e/home/joe/\x2econfig/fish/conf\x2ed/fzf\x2efish\x1e/home/joe/\x2econfig/fish/completions/fzf_configure_bindings\x2efish +SETUVAR _fisher_jorgebucaran_2F_fisher_files:/home/joe/\x2econfig/fish/functions/fisher\x2efish\x1e/home/joe/\x2econfig/fish/completions/fisher\x2efish +SETUVAR _fisher_plugins:jorgebucaran/fisher\x1esei40kr/fish\x2dranger\x2dcd\x1ePatrickF1/fzf\x2efish\x1ewfxr/forgit +SETUVAR _fisher_sei40kr_2F_fish_2D_ranger_2D_cd_files:/home/joe/\x2econfig/fish/functions/ranger\x2dcd\x2efish +SETUVAR _fisher_wfxr_2F_forgit_files:/home/joe/\x2econfig/fish/conf\x2ed/forgit\x2eplugin\x2efish +SETUVAR fish_color_autosuggestion:969896 +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:b294bb +SETUVAR fish_color_comment:f0c674 +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:b294bb +SETUVAR fish_color_error:cc6666 +SETUVAR fish_color_escape:00a6b2 +SETUVAR fish_color_history_current:\x2d\x2dbold +SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow +SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue +SETUVAR fish_color_normal:normal +SETUVAR fish_color_operator:00a6b2 +SETUVAR fish_color_param:81a2be +SETUVAR fish_color_quote:b5bd68 +SETUVAR fish_color_redirection:8abeb7 +SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_status:red +SETUVAR fish_color_user:brgreen +SETUVAR fish_color_valid_path:\x2d\x2dunderline +SETUVAR fish_key_bindings:fish_hybrid_key_bindings +SETUVAR fish_pager_color_completion:normal +SETUVAR fish_pager_color_description:B3A06D\x1eyellow +SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline +SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan +SETUVAR fish_user_paths:/home/joe/bin diff --git a/.config/fish/functions/_fzf_configure_bindings_help.fish b/.config/fish/functions/_fzf_configure_bindings_help.fish new file mode 100644 index 0000000..02e1860 --- /dev/null +++ b/.config/fish/functions/_fzf_configure_bindings_help.fish @@ -0,0 +1,42 @@ +function _fzf_configure_bindings_help --description "Prints the help message for fzf_configure_bindings." + echo "\ +USAGE: + fzf_configure_bindings [--FEATURE[=KEY_SEQUENCE]...] + +DESCRIPTION + By default, fzf_configure_bindings installs mnemonic key bindings for fzf.fish's features. Each + feature's binding can be customized through a corresponding namesake option: + FEATURE | MNEMONIC KEY SEQUENCE | CORRESPONDING OPTION + Search directory | Ctrl+Alt+F (F for file) | --directory + Search git log | Ctrl+Alt+L (L for log) | --git_log + Search git status | Ctrl+Alt+S (S for status) | --git_status + Search history | Ctrl+R (R for reverse) | --history + Search variables | Ctrl+V (V for variable) | --variables + An option with a key sequence value overrides the binding for its feature, while an option + without a value disables the binding. A feature that is not customized retains its default + menomonic binding specified above. Key bindings are installed for default and insert modes. + + In terms of validation, fzf_configure_bindings fails if passed unknown options. Furthermore, it + expects an equals sign between an option's name and value. However, it does not validate key + sequences. Rather, consider using fish_key_reader to manually validate them. + + In terms of experimentation, fzf_configure_bindings erases any bindings it previously installed + before installing new ones so it can be repeatedly executed in the same fish session without + problem. Once the desired fzf_configure_bindings command has been found, add it to config.fish + in order to persist the bindings. + + The -h and --help options print this help message. + +EXAMPLES + Install the default mnemonic bindings + \$ fzf_configure_bindings + Install the default bindings but override git log's binding to Ctrl+G + \$ fzf_configure_bindings --git_log=\cg + Install the default bindings but leave search history unbound + \$ fzf_configure_bindings --history + Alternative style of disabling search history + \$ fzf_configure_bindings --history= + An agglomeration of all the options + \$ fzf_configure_bindings --git_status=\cg --history=\ch --variables --directory --git_log +" +end diff --git a/.config/fish/functions/_fzf_extract_var_info.fish b/.config/fish/functions/_fzf_extract_var_info.fish new file mode 100644 index 0000000..716416c --- /dev/null +++ b/.config/fish/functions/_fzf_extract_var_info.fish @@ -0,0 +1,15 @@ +# helper function for _fzf_search_variables +function _fzf_extract_var_info --argument-names variable_name set_show_output --description "Extract and reformat lines pertaining to \$variable_name from \$set_show_output." + # Extract only the lines about the variable, all of which begin with either + # $variable_name: ...or... $variable_name[ + string match --regex "^\\\$$variable_name(?::|\[).*" <$set_show_output | + + # Strip the variable name prefix, including ": " for scope info lines + string replace --regex "^\\\$$variable_name(?:: )?" '' | + + # Distill the lines of values, replacing... + # [1]: |value| + # ...with... + # [1] value + string replace --regex ": \|(.*)\|" ' \$1' +end diff --git a/.config/fish/functions/_fzf_preview_file.fish b/.config/fish/functions/_fzf_preview_file.fish new file mode 100644 index 0000000..29e7405 --- /dev/null +++ b/.config/fish/functions/_fzf_preview_file.fish @@ -0,0 +1,43 @@ +# helper function for _fzf_search_directory +function _fzf_preview_file --description "Print a preview for the given file based on its file type." + # because there's no way to guarantee that _fzf_search_directory passes the path to _fzf_preview_file + # as one argument, we collect all the arguments into one single variable and treat that as the path + set file_path $argv + + if test -L "$file_path" # symlink + # notify user and recurse on the target of the symlink, which can be any of these file types + set -l target_path (realpath "$file_path") + + set_color yellow + echo "'$file_path' is a symlink to '$target_path'." + set_color normal + + _fzf_preview_file "$target_path" + else if test -f "$file_path" # regular file + if set --query fzf_preview_file_cmd + # need to escape quotes to make sure eval receives file_path as a single arg + eval "$fzf_preview_file_cmd '$file_path'" + else + bat --style=numbers --color=always "$file_path" + end + else if test -d "$file_path" # directory + if set --query fzf_preview_dir_cmd + # see above + eval "$fzf_preview_dir_cmd '$file_path'" + else + # -A list hidden files as well, except for . and .. + # -F helps classify files by appending symbols after the file name + command ls -A -F "$file_path" + end + else if test -c "$file_path" + _fzf_report_file_type "$file_path" "character device file" + else if test -b "$file_path" + _fzf_report_file_type "$file_path" "block device file" + else if test -S "$file_path" + _fzf_report_file_type "$file_path" socket + else if test -p "$file_path" + _fzf_report_file_type "$file_path" "named pipe" + else + echo "$file_path doesn't exist." >&2 + end +end diff --git a/.config/fish/functions/_fzf_report_file_type.fish b/.config/fish/functions/_fzf_report_file_type.fish new file mode 100644 index 0000000..49e02e1 --- /dev/null +++ b/.config/fish/functions/_fzf_report_file_type.fish @@ -0,0 +1,6 @@ +# helper function for _fzf_preview_file +function _fzf_report_file_type --argument-names file_path file_type --description "Explain the file type for a file." + set_color red + echo "Cannot preview '$file_path': it is a $file_type." + set_color normal +end diff --git a/.config/fish/functions/_fzf_search_directory.fish b/.config/fish/functions/_fzf_search_directory.fish new file mode 100644 index 0000000..40b9c95 --- /dev/null +++ b/.config/fish/functions/_fzf_search_directory.fish @@ -0,0 +1,41 @@ +function _fzf_search_directory --description "Search the current directory. Replace the current token with the selected file paths." + set fd_opts --color=always $fzf_fd_opts + set fzf_arguments --multi --ansi $fzf_dir_opts + set token (commandline --current-token) + # expand any variables or leading tilde (~) in the token + set expanded_token (eval echo -- $token) + # unescape token because it's already quoted so backslashes will mess up the path + set unescaped_exp_token (string unescape -- $expanded_token) + + # If the current token is a directory and has a trailing slash, + # then use it as fd's base directory. + if string match --quiet -- "*/" $unescaped_exp_token && test -d "$unescaped_exp_token" + set --append fd_opts --base-directory=$unescaped_exp_token + # use the directory name as fzf's prompt to indicate the search is limited to that directory + set --prepend fzf_arguments --prompt="$unescaped_exp_token" --preview="_fzf_preview_file $expanded_token{}" + set file_paths_selected $unescaped_exp_token(fd $fd_opts 2>/dev/null | _fzf_wrapper $fzf_arguments) + else + set --prepend fzf_arguments --query="$unescaped_exp_token" --preview='_fzf_preview_file {}' + set file_paths_selected (fd $fd_opts 2>/dev/null | _fzf_wrapper $fzf_arguments) + end + + + if test $status -eq 0 + # Fish will cd implicitly if a directory name ending in a slash is provided. + # To help the user leverage this feature, we automatically append / to the selected path if + # - only one path was selected, + # - the user was in the middle of inputting the first token, + # - the path is a directory + # Then, the user only needs to hit Enter once more to cd into that directory. + if test (count $file_paths_selected) = 1 + set commandline_tokens (commandline --tokenize) + if test "$commandline_tokens" = "$token" -a -d "$file_paths_selected" + set file_paths_selected $file_paths_selected/ + end + end + + commandline --current-token --replace -- (string escape -- $file_paths_selected | string join ' ') + end + + commandline --function repaint +end diff --git a/.config/fish/functions/_fzf_search_git_log.fish b/.config/fish/functions/_fzf_search_git_log.fish new file mode 100644 index 0000000..a2fd454 --- /dev/null +++ b/.config/fish/functions/_fzf_search_git_log.fish @@ -0,0 +1,24 @@ +function _fzf_search_git_log --description "Search the output of git log and preview commits. Replace the current token with the selected commit hash." + if not git rev-parse --git-dir >/dev/null 2>&1 + echo '_fzf_search_git_log: Not in a git repository.' >&2 + else + # see documentation for git format placeholders at https://git-scm.com/docs/git-log#Documentation/git-log.txt-emnem + # %h gives you the abbreviated commit hash, which is useful for saving screen space, but we will have to expand it later below + set log_fmt_str '%C(bold blue)%h%C(reset) - %C(cyan)%ad%C(reset) %C(yellow)%d%C(reset) %C(normal)%s%C(reset) %C(dim normal)[%an]%C(reset)' + set selected_log_line ( + git log --color=always --format=format:$log_fmt_str --date=short | \ + _fzf_wrapper --ansi \ + --tiebreak=index \ + --preview='git show --color=always {1}' \ + --query=(commandline --current-token) \ + $fzf_git_log_opts + ) + if test $status -eq 0 + set abbreviated_commit_hash (string split --max 1 " " $selected_log_line)[1] + set commit_hash (git rev-parse $abbreviated_commit_hash) + commandline --current-token --replace $commit_hash + end + end + + commandline --function repaint +end diff --git a/.config/fish/functions/_fzf_search_git_status.fish b/.config/fish/functions/_fzf_search_git_status.fish new file mode 100644 index 0000000..da77fe2 --- /dev/null +++ b/.config/fish/functions/_fzf_search_git_status.fish @@ -0,0 +1,33 @@ +function _fzf_search_git_status --description "Search the output of git status. Replace the current token with the selected file paths." + if not git rev-parse --git-dir >/dev/null 2>&1 + echo '_fzf_search_git_status: Not in a git repository.' >&2 + else + set selected_paths ( + # Pass configuration color.status=always to force status to use colors even though output is sent to a pipe + git -c color.status=always status --short | + _fzf_wrapper --ansi \ + --multi \ + --query=(commandline --current-token) \ + $fzf_git_status_opts + ) + if test $status -eq 0 + # git status --short automatically escapes the paths of most files for us so not going to bother trying to handle + # the few edges cases of weird file names that should be extremely rare (e.g. "this;needs;escaping") + set cleaned_paths + + for path in $selected_paths + if test (string sub --length 1 $path) = R + # path has been renamed and looks like "R LICENSE -> LICENSE.md" + # extract the path to use from after the arrow + set --append cleaned_paths (string split -- "-> " $path)[-1] + else + set --append cleaned_paths (string sub --start=4 $path) + end + end + + commandline --current-token --replace -- (string escape -- $cleaned_paths | string join ' ') + end + end + + commandline --function repaint +end diff --git a/.config/fish/functions/_fzf_search_history.fish b/.config/fish/functions/_fzf_search_history.fish new file mode 100644 index 0000000..271cfcc --- /dev/null +++ b/.config/fish/functions/_fzf_search_history.fish @@ -0,0 +1,24 @@ +function _fzf_search_history --description "Search command history. Replace the command line with the selected command." + # history merge incorporates history changes from other fish sessions + builtin history merge + + set command_with_ts ( + # Reference https://devhints.io/strftime to understand strftime format symbols + builtin history --null --show-time="%m-%d %H:%M:%S │ " | + _fzf_wrapper --read0 \ + --tiebreak=index \ + --query=(commandline) \ + # preview current command using fish_ident in a window at the bottom 3 lines tall + --preview="echo -- {4..} | fish_indent --ansi" \ + --preview-window="bottom:3:wrap" \ + $fzf_history_opts | + string collect + ) + + if test $status -eq 0 + set command_selected (string split --max 1 " │ " $command_with_ts)[2] + commandline --replace -- $command_selected + end + + commandline --function repaint +end diff --git a/.config/fish/functions/_fzf_search_variables.fish b/.config/fish/functions/_fzf_search_variables.fish new file mode 100644 index 0000000..ef57940 --- /dev/null +++ b/.config/fish/functions/_fzf_search_variables.fish @@ -0,0 +1,45 @@ +# This function expects the following two arguments: +# argument 1 = output of (set --show | psub), i.e. a file with the scope info and values of all variables +# argument 2 = output of (set --names | psub), i.e. a file with all variable names +function _fzf_search_variables --argument-names set_show_output set_names_output --description "Search and preview shell variables. Replace the current token with the selected variable." + if test -z "$set_names_output" + printf '%s\n' '_fzf_search_variables requires 2 arguments.' >&2 + + commandline --function repaint + return 22 # 22 means invalid argument in POSIX + end + + # Exclude the history variable from being piped into fzf because + # 1. it's not included in $set_names_output + # 2. it tends to be a very large value => increases computation time + # 3._fzf_search_history is a much better way to examine history anyway + set all_variable_names (string match --invert history <$set_names_output) + + set current_token (commandline --current-token) + # Use the current token to pre-populate fzf's query. If the current token begins + # with a $, remove it from the query so that it will better match the variable names + set cleaned_curr_token (string replace -- '$' '' $current_token) + + set variable_names_selected ( + printf '%s\n' $all_variable_names | + _fzf_wrapper --preview "_fzf_extract_var_info {} $set_show_output" \ + --multi \ + --query=$cleaned_curr_token \ + $fzf_shell_vars_opts + ) + + if test $status -eq 0 + # If the current token begins with a $, do not overwrite the $ when + # replacing the current token with the selected variable. + # Uses brace expansion to prepend $ to each variable name. + commandline --current-token --replace ( + if string match --quiet -- '$*' $current_token + string join " " \${$variable_names_selected} + else + string join " " $variable_names_selected + end + ) + end + + commandline --function repaint +end diff --git a/.config/fish/functions/_fzf_wrapper.fish b/.config/fish/functions/_fzf_wrapper.fish new file mode 100644 index 0000000..a928701 --- /dev/null +++ b/.config/fish/functions/_fzf_wrapper.fish @@ -0,0 +1,20 @@ +function _fzf_wrapper --description "Prepares some environment variables before executing fzf." + # Make sure fzf uses fish to execute preview commands, some of which + # are autoloaded fish functions so don't exist in other shells. + # Use --local so that it doesn't clobber SHELL outside of this function. + set --local --export SHELL (command --search fish) + + # If FZF_DEFAULT_OPTS is not set, then set some sane defaults. + # See https://github.com/junegunn/fzf#environment-variables + if not set --query FZF_DEFAULT_OPTS + # cycle allows jumping between the first and last results, making scrolling faster + # layout=reverse lists results top to bottom, mimicking the familiar layouts of git log, history, and env + # border shows where the fzf window begins and ends + # height=90% leaves space to see the current command and some scrollback, maintaining context of work + # preview-window=wrap wraps long lines in the preview window, making reading easier + # marker=* makes the multi-select marker more distinguishable from the pointer (since both default to >) + set --export FZF_DEFAULT_OPTS '--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker="*"' + end + + fzf $argv +end diff --git a/.config/fish/functions/cw.fish b/.config/fish/functions/cw.fish deleted file mode 100644 index c1c398c..0000000 --- a/.config/fish/functions/cw.fish +++ /dev/null @@ -1,6 +0,0 @@ -# Copy path to file to windows path -function cw - set -l wpath (wslpath -a -w (readlink -f "$argv[1]")) - echo Copied \"$wpath\" to clipboard - echo -n $wpath | clip.exe -end diff --git a/.config/fish/functions/dotfiles_update_win.fish b/.config/fish/functions/dotfiles_update_win.fish deleted file mode 100644 index 1bae859..0000000 --- a/.config/fish/functions/dotfiles_update_win.fish +++ /dev/null @@ -1,6 +0,0 @@ -# Defined in /tmp/fish.6qfkSz/dotfiles-update-win.fish @ line 1 -function dotfiles_update_win - cp /mnt/c/Users/josep/AppData/Roaming/alacritty/alacritty.yml ~/.config/alacritty/alacritty.yml - cp /mnt/c/Users/josep/.ideavimrc ~/.config/.ideavimrc - cp /mnt/c/Users/josep/AutoHotkey-script-Open-Show-Apps.ahk ~/.config/AutoHotkey-script-Open-Show-Apps.ahk -end diff --git a/.config/fish/functions/e.fish b/.config/fish/functions/e.fish new file mode 100644 index 0000000..c415611 --- /dev/null +++ b/.config/fish/functions/e.fish @@ -0,0 +1,3 @@ +function e --wraps=nvim --description 'alias e nvim' + nvim $argv; +end diff --git a/.config/fish/functions/edit_dotfile.fish b/.config/fish/functions/edit_dotfile.fish deleted file mode 100644 index 9a3f753..0000000 --- a/.config/fish/functions/edit_dotfile.fish +++ /dev/null @@ -1,13 +0,0 @@ -function edit_dotfile - set -l fname (dotfiles ls-files --full-name ~ \ - | sd '.*(/.*/)' "$1" \ - | rg -v README\|tar.gz \ - | fzf --height 40% --layout reverse) - if not test -z "$fname" - # We need a slash cause we have dotfiles and rg regex will treat the dot - set -l fpath (dotfiles ls-files --full-name $HOME | rg -F "$fname") - commandline -f repaint - commandline "$EDITOR $HOME/$fpath" - commandline -f execute - end -end diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish deleted file mode 100644 index 9ed796a..0000000 --- a/.config/fish/functions/fish_greeting.fish +++ /dev/null @@ -1,3 +0,0 @@ -function fish_greeting - fortune | lolcat -p 2.5 -S 102 -end diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index b259b1a..b7de169 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -1,11 +1,12 @@ function fish_prompt - + # This prompt shows: # - green lines if the last return command is OK, red otherwise # - your user name, in red if root or yellow otherwise # - your hostname, in cyan if ssh or blue otherwise # - the current path (with prompt_pwd) # - date +%X # - the current virtual environment, if any + # - the current git status, if any, with fish_git_prompt # - the current battery state, if any, and if your power cable is unplugged, and if you have "acpi" # - current background jobs, if any @@ -15,14 +16,20 @@ function fish_prompt # To: # ┬─[nim@Hattori:~/w/dashboard]─[11:37:14]─[V:django20]─[G:master↑1|●1✚1…1]─[B:85%, 05:41:42 remaining] - # │ 2 15054 0% arrêtée sleep 100000 - # │ 1 15048 0% arrêtée sleep 100000 + # │ 2 15054 0% arrêtée sleep 100000 + # │ 1 15048 0% arrêtée sleep 100000 # ╰─>$ echo there + set -l retc red + test $status = 0; and set retc green + + set -q __fish_git_prompt_showupstream + or set -g __fish_git_prompt_showupstream auto + function _nim_prompt_wrapper set retc $argv[1] - set field_name $argv[2] - set field_value $argv[3] + set -l field_name $argv[2] + set -l field_value $argv[3] set_color normal set_color $retc @@ -37,43 +44,93 @@ function fish_prompt set_color -o green echo -n ']' end - and set retc brgreen - or set retc green set_color $retc echo -n '┬─' set_color -o green + echo -n [ + + if functions -q fish_is_root_user; and fish_is_root_user + set_color -o red + else + set_color -o yellow + end + + echo -n $USER + set_color -o white + echo -n @ + + if [ -z "$SSH_CLIENT" ] + set_color -o blue + else + set_color -o cyan + end + + echo -n (prompt_hostname) + set_color -o white + set -g fish_prompt_pwd_dir_length 5 + echo -n :(prompt_pwd) + set_color -o green + echo -n ']' # Date - _nim_prompt_wrapper cyan '' (date +%X) + _nim_prompt_wrapper $retc '' (date +%X) - # Current Directory - _nim_prompt_wrapper blue '' (pwd | sed 's/\/home\/joe/~/') + # Vi-mode + # The default mode prompt would be prefixed, which ruins our alignment. + function fish_mode_prompt + end - # Virtual Environment - set -q VIRTUAL_ENV - and _nim_prompt_wrapper $retc V (basename "$VIRTUAL_ENV") + if test "$fish_key_bindings" = fish_vi_key_bindings + or test "$fish_key_bindings" = fish_hybrid_key_bindings + set -l mode + switch $fish_bind_mode + case default + set mode (set_color --bold red)N + case insert + set mode (set_color --bold green)I + case replace_one + set mode (set_color --bold green)R + echo '[R]' + case replace + set mode (set_color --bold cyan)R + case visual + set mode (set_color --bold magenta)V + end + set mode $mode(set_color normal) + _nim_prompt_wrapper $retc '' $mode + end - # Battery status - type -q acpi - and test (acpi -a 2> /dev/null | string match -r off) - and _nim_prompt_wrapper $retc B (acpi -b | cut -d' ' -f 4-) + + # git + set -l prompt_git (fish_git_prompt '%s') + test -n "$prompt_git" + and _nim_prompt_wrapper $retc G $prompt_git # New line echo # Background jobs set_color normal + for job in (jobs) set_color $retc echo -n '│ ' - set_color brblack + set_color brown echo $job end + set_color normal set_color $retc echo -n '╰─>' - set_color -o brcyan - echo -n '$ ' + set -l user (whoami) + if test "$user" = "root" + set_color -o red + echo -n '# ' + else + set_color -o green + echo -n '$ ' + end + set_color normal end diff --git a/.config/fish/functions/fisher.fish b/.config/fish/functions/fisher.fish new file mode 100644 index 0000000..a1fb6cf --- /dev/null +++ b/.config/fish/functions/fisher.fish @@ -0,0 +1,209 @@ +function fisher --argument-names cmd --description "A plugin manager for Fish" + set --query fisher_path || set --local fisher_path $__fish_config_dir + set --local fisher_version 4.3.0 + set --local fish_plugins $__fish_config_dir/fish_plugins + + switch "$cmd" + case -v --version + echo "fisher, version $fisher_version" + case "" -h --help + echo "Usage: fisher install Install plugins" + echo " fisher remove Remove installed plugins" + echo " fisher update Update installed plugins" + echo " fisher update Update all installed plugins" + echo " fisher list [] List installed plugins matching regex" + echo "Options:" + echo " -v or --version Print version" + echo " -h or --help Print this help message" + case ls list + string match --entire --regex -- "$argv[2]" $_fisher_plugins + case install update remove + isatty || read --local --null --array stdin && set --append argv $stdin + + set --local install_plugins + set --local update_plugins + set --local remove_plugins + set --local arg_plugins $argv[2..-1] + set --local old_plugins $_fisher_plugins + set --local new_plugins + + if ! set --query argv[2] + if test "$cmd" != update + echo "fisher: Not enough arguments for command: \"$cmd\"" >&2 && return 1 + else if test ! -e $fish_plugins + echo "fisher: \"$fish_plugins\" file not found: \"$cmd\"" >&2 && return 1 + end + set arg_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins) + end + + for plugin in $arg_plugins + test -e "$plugin" && set plugin (realpath $plugin) + contains -- "$plugin" $new_plugins || set --append new_plugins $plugin + end + + if set --query argv[2] + for plugin in $new_plugins + if contains -- "$plugin" $old_plugins + test "$cmd" = remove && + set --append remove_plugins $plugin || + set --append update_plugins $plugin + else if test "$cmd" = install + set --append install_plugins $plugin + else + echo "fisher: Plugin not installed: \"$plugin\"" >&2 && return 1 + end + end + else + for plugin in $new_plugins + contains -- "$plugin" $old_plugins && + set --append update_plugins $plugin || + set --append install_plugins $plugin + end + + for plugin in $old_plugins + contains -- "$plugin" $new_plugins || set --append remove_plugins $plugin + end + end + + set --local pid_list + set --local source_plugins + set --local fetch_plugins $update_plugins $install_plugins + echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal) + + for plugin in $fetch_plugins + set --local source (command mktemp -d) + set --append source_plugins $source + + command mkdir -p $source/{completions,conf.d,functions} + + fish --command " + if test -e $plugin + command cp -Rf $plugin/* $source + else + set temp (command mktemp -d) + set name (string split \@ $plugin) || set name[2] HEAD + set url https://codeload.github.com/\$name[1]/tar.gz/\$name[2] + + echo Fetching (set_color --underline)\$url(set_color normal) + + if curl --silent \$url | tar -xzC \$temp -f - 2>/dev/null + command cp -Rf \$temp/*/* $source + else + echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2 + command rm -rf $source + end + command rm -rf \$temp + end + + set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files + " & + + set --append pid_list (jobs --last --pid) + end + + wait $pid_list 2>/dev/null + + for plugin in $fetch_plugins + if set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] && test ! -e $source + if set --local index (contains --index -- "$plugin" $install_plugins) + set --erase install_plugins[$index] + else + set --erase update_plugins[(contains --index -- "$plugin" $update_plugins)] + end + end + end + + for plugin in $update_plugins $remove_plugins + if set --local index (contains --index -- "$plugin" $_fisher_plugins) + set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files + + if contains -- "$plugin" $remove_plugins + for name in (string replace --filter --regex -- '.+/conf\.d/([^/]+)\.fish$' '$1' $$plugin_files_var) + emit {$name}_uninstall + end + printf "%s\n" Removing\ (set_color red --bold)$plugin(set_color normal) " "$$plugin_files_var + end + + command rm -rf $$plugin_files_var + functions --erase (string replace --filter --regex -- '.+/functions/([^/]+)\.fish$' '$1' $$plugin_files_var) + + for name in (string replace --filter --regex -- '.+/completions/([^/]+)\.fish$' '$1' $$plugin_files_var) + complete --erase --command $name + end + + set --erase _fisher_plugins[$index] + set --erase $plugin_files_var + end + end + + if set --query update_plugins[1] || set --query install_plugins[1] + command mkdir -p $fisher_path/{functions,conf.d,completions} + end + + for plugin in $update_plugins $install_plugins + set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] + set --local files $source/{functions,conf.d,completions}/* + + if set --local index (contains --index -- $plugin $install_plugins) + set --local user_files $fisher_path/{functions,conf.d,completions}/* + set --local conflict_files + + for file in (string replace -- $source/ $fisher_path/ $files) + contains -- $file $user_files && set --append conflict_files $file + end + + if set --query conflict_files[1] && set --erase install_plugins[$index] + echo -s "fisher: Cannot install \"$plugin\": please remove or move conflicting files first:" \n" "$conflict_files >&2 + continue + end + end + + for file in (string replace -- $source/ "" $files) + command cp -Rf $source/$file $fisher_path/$file + end + + set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files + set --query files[1] && set --universal $plugin_files_var (string replace -- $source $fisher_path $files) + + contains -- $plugin $_fisher_plugins || set --universal --append _fisher_plugins $plugin + contains -- $plugin $install_plugins && set --local event install || set --local event update + + printf "%s\n" Installing\ (set_color --bold)$plugin(set_color normal) " "$$plugin_files_var + + for file in (string match --regex -- '.+/[^/]+\.fish$' $$plugin_files_var) + source $file + if set --local name (string replace --regex -- '.+conf\.d/([^/]+)\.fish$' '$1' $file) + emit {$name}_$event + end + end + end + + command rm -rf $source_plugins + + set --query _fisher_plugins[1] || set --erase _fisher_plugins + set --query _fisher_plugins && + printf "%s\n" $_fisher_plugins >$fish_plugins || + command rm -f $fish_plugins + + set --local total (count $install_plugins) (count $update_plugins) (count $remove_plugins) + test "$total" != "0 0 0" && echo (string join ", " ( + test $total[1] = 0 || echo "Installed $total[1]") ( + test $total[2] = 0 || echo "Updated $total[2]") ( + test $total[3] = 0 || echo "Removed $total[3]") + ) plugin/s + case \* + echo "fisher: Unknown command: \"$cmd\"" >&2 && return 1 + end +end + +## Migrations ## +function _fisher_fish_postexec --on-event fish_postexec + if functions --query _fisher_list + fisher update >/dev/null 2>/dev/null + set --query XDG_DATA_HOME || set --local XDG_DATA_HOME ~/.local/share + test -e $XDG_DATA_HOME/fisher && command rm -rf $XDG_DATA_HOME/fisher + functions --erase _fisher_list _fisher_plugin_parse + set --erase fisher_data + end + functions --erase _fisher_fish_postexec +end diff --git a/.config/fish/functions/fuzzy_bookmarks.fish b/.config/fish/functions/fuzzy_bookmarks.fish deleted file mode 100644 index 5cfb1cf..0000000 --- a/.config/fish/functions/fuzzy_bookmarks.fish +++ /dev/null @@ -1,10 +0,0 @@ -function fuzzy_bookmarks - if test -z "$argv" - set -l result (bml | fzf --height 40% --ansi --preview "tree -L 2 (echo {2})" | awk '{print $1}') - if not test -z "$result" - go_to_bookmark $result - end - else - go_to_bookmark $argv[1] - end -end diff --git a/.config/fish/functions/fzf_configure_bindings.fish b/.config/fish/functions/fzf_configure_bindings.fish new file mode 100644 index 0000000..251ef66 --- /dev/null +++ b/.config/fish/functions/fzf_configure_bindings.fish @@ -0,0 +1,44 @@ +# Always installs bindings for insert and default mode for simplicity and b/c it has almost no side-effect +# https://gitter.im/fish-shell/fish-shell?at=60a55915ee77a74d685fa6b1 +function fzf_configure_bindings --description "Installs the default key bindings for fzf.fish with user overrides passed as options." + # no need to install bindings if not in interactive mode or running tests + status is-interactive || test "$CI" = true; or return + + set options_spec h/help 'directory=?' 'git_log=?' 'git_status=?' 'history=?' 'variables=?' + argparse --max-args=0 --ignore-unknown $options_spec -- $argv 2>/dev/null + if test $status -ne 0 + echo "Invalid option or a positional argument was provided." 1>&2 + _fzf_configure_bindings_help + return 22 + else if set --query _flag_help + _fzf_configure_bindings_help + return + else + # Initialize with default key sequences and then override or disable them based on flags + # index 1 = directory, 2 = git_log, 3 = git_status, 4 = history, 5 = variables + set key_sequences \e\cf \e\cl \e\cs \cr \cv # \c = control, \e = escape + set --query _flag_directory && set key_sequences[1] "$_flag_directory" + set --query _flag_git_log && set key_sequences[2] "$_flag_git_log" + set --query _flag_git_status && set key_sequences[3] "$_flag_git_status" + set --query _flag_history && set key_sequences[4] "$_flag_history" + set --query _flag_variables && set key_sequences[5] "$_flag_variables" + + # If fzf bindings already exists, uninstall it first for a clean slate + if functions --query _fzf_uninstall_bindings + _fzf_uninstall_bindings + end + + for mode in default insert + test -n $key_sequences[1] && bind --mode $mode $key_sequences[1] _fzf_search_directory + test -n $key_sequences[2] && bind --mode $mode $key_sequences[2] _fzf_search_git_log + test -n $key_sequences[3] && bind --mode $mode $key_sequences[3] _fzf_search_git_status + test -n $key_sequences[4] && bind --mode $mode $key_sequences[4] _fzf_search_history + test -n $key_sequences[5] && bind --mode $mode $key_sequences[5] "$_fzf_search_vars_command" + end + + function _fzf_uninstall_bindings --inherit-variable key_sequences + bind --erase -- $key_sequences + bind --erase --mode insert -- $key_sequences + end + end +end diff --git a/.config/fish/functions/icat.fish b/.config/fish/functions/icat.fish new file mode 100644 index 0000000..acdfc9b --- /dev/null +++ b/.config/fish/functions/icat.fish @@ -0,0 +1,3 @@ +function icat --wraps='kitty +kitten icat --align=left' --description 'alias icat kitty +kitten icat --align=left' + kitty +kitten icat --align=left $argv; +end diff --git a/.config/fish/functions/n.fish b/.config/fish/functions/n.fish new file mode 100644 index 0000000..59a4fcb --- /dev/null +++ b/.config/fish/functions/n.fish @@ -0,0 +1,3 @@ +function n --wraps='env NNN_FIFO="/tmp/nnn.fifo" LC_COLLATE="C" SPLIT="h" nnn -eH -Pp' --wraps='env NNN_FIFO="/tmp/nnn.fifo" LC_COLLATE="C" SPLIT="h" nnn -edH -Pp' --wraps='env NNN_FIFO="/tmp/nnn.fifo" LC_COLLATE="C" SPLIT="h" nnn -edH' --description 'alias n env NNN_FIFO="/tmp/nnn.fifo" LC_COLLATE="C" SPLIT="h" nnn -edH' + env NNN_FIFO="/tmp/nnn.fifo" LC_COLLATE="C" SPLIT="h" nnn -edH $argv; +end diff --git a/.config/fish/functions/r.fish b/.config/fish/functions/r.fish new file mode 100644 index 0000000..e836113 --- /dev/null +++ b/.config/fish/functions/r.fish @@ -0,0 +1,3 @@ +function r --wraps=ranger-cd --description 'alias r ranger-cd' + ranger-cd $argv; +end diff --git a/.config/fish/functions/ranger-cd.fish b/.config/fish/functions/ranger-cd.fish new file mode 100644 index 0000000..63b2330 --- /dev/null +++ b/.config/fish/functions/ranger-cd.fish @@ -0,0 +1,13 @@ +# ranger-cd.fish +# author: Seong Yong-ju + +function ranger-cd -w 'ranger' -d 'Automatically change the directory in fish after closing ranger' + set -l tempfile (mktemp -t tmp.XXXXXX) + + ranger --choosedir=$tempfile $argv + + if [ -f $tempfile ] + cd (cat $tempfile) + end + rm -f $tempfile +end diff --git a/.config/fish/functions/set-colors.fish b/.config/fish/functions/set-colors.fish new file mode 100644 index 0000000..92383de --- /dev/null +++ b/.config/fish/functions/set-colors.fish @@ -0,0 +1,3 @@ +function set-colors --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\) --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\)\ \&\&\ cd\ - --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\ \&\&\ cd\ -\) --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\)\ \;\ cd\ - --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\ \;\;\ cd\ -\) --description alias\ set-colors\ kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\ \;\;\ cd\ -\) + kitty @ set-colors -a -c (cd ~/.config/kitty/kitty-themes/themes/preferred/ && fzf --height=35% --preview 'echo {} && kitty @ set-colors -a -c {}' ;; cd -) $argv; +end diff --git a/.config/fish/functions/w2u.fish b/.config/fish/functions/w2u.fish deleted file mode 100644 index a1b6973..0000000 --- a/.config/fish/functions/w2u.fish +++ /dev/null @@ -1,6 +0,0 @@ -# Copy a windows path to clipboard -function w2u - set -l wpath (wslpath "$argv[1]") - echo Copied \"$wpath\" to clipboard - echo -n "$wpath" | clip.exe -end diff --git a/.config/fish/functions/winpwd.fish b/.config/fish/functions/winpwd.fish deleted file mode 100644 index baee960..0000000 --- a/.config/fish/functions/winpwd.fish +++ /dev/null @@ -1,3 +0,0 @@ -function winpwd - wslupath (pwd) | clip.exe -end diff --git a/.config/fish/marks.fish b/.config/fish/marks.fish deleted file mode 100644 index c0fdbc2..0000000 --- a/.config/fish/marks.fish +++ /dev/null @@ -1,159 +0,0 @@ -if not set -q BMS_FILE - set -gx BMS_FILE $HOME/.config/fish/bmarks -end -if not set -q BMS_OPENER - set -gx BMS_OPENER xdg-open -end - -if [ ! -e "$BMS_FILE" ] - touch $BMS_FILE -end - -set title_col (set_color cyan) -set text_col (set_color normal) -set error_col (set_color red) - -function bookmark --description "Bookmark files and directories in fish" - if [ (count $argv) -lt 1 ]; or [ "-h" = $argv[1] ]; or [ "-help" = $argv[1] ]; or [ "--help" = $argv[1] ] - echo '' - echo 'Create bookmarks to all your favorite files and directories. Data written to $HOME/.config/fish/bmarks' - echo '' - echo -n 'add - Adds the file/directory directory as "bookmark_name". ' - echo 'If no name is provided, the current working directory is used.' - echo 'go - Goes to the bookmark. Uses cd, $EDITOR, and kOPENER' - echo 'remove - Deletes the bookmark' - echo 'list - Lists all available bookmarks' - echo '' - end - - switch $argv[1] - case "go" - if [ (count $argv) -lt 2 ] - __bookmarks_print_error "Please provide the bookmark name" - return 1 - end - set -l bname $argv[2] - if not grep -q "^$bname " $BMS_FILE - __bookmarks_print_error "No bookmark by the name of $bname exists." - return 1 - end - set bpath (grep "^$bname " $BMS_FILE | cut -f2- -d' ') - if [ -e "$bpath" ] - if [ -d "$bpath" ] - cd "$bpath" - return 0 - else - __bookmarks_opener "$bpath" - end - else - __bookmarks_print_error "Bookmark is no longer valid for $bpath." - read -l -P 'Would you like to remove it?? [y/N] ' confirm - switch $confirm - case Y y - sed -i "/^$bname /d" $BMS_FILE - echo "Bookmark '$bname' removed." - __bookmarks_update_completions - case '' n N - return 1 - end - end - - case "add" - if [ (count $argv) -gt 1 ] - set bname $argv[2] - if echo $bname | not grep -q "^[a-zA-Z0-9_-]*\$" - __bookmarks_print_error "Bookmark names may only contain alphanumeric characters and underscores." - return 1 - end - if [ (count $argv) -gt 2 ] - set bpath (readlink -f $argv[3]) - if not [ -e "$bpath" ] - __bookmarks_print_error "No directory or path exist for provided argument." - return 1 - end - else - set bpath (pwd) - end - else - set bname (string replace -ar [^a-zA-Z0-9] _ (basename (pwd))) - set bpath (pwd) - end - if grep -q "^$bname " $BMS_FILE - __bookmarks_print_error "Bookmark $bname already exists." - return 1 - end - echo "$bname $bpath" >> $BMS_FILE - set -l ftype ([ -d $bname ] && echo "file" || echo "directory") - __bookmarks_update_completions - echo "Bookmark '$bname' added for $ftype $bpath" - - case "remove" - if [ (count $argv) -lt 2 ] - __bookmarks_print_error "Please provide the bookmark name" - return 1 - end - set -l bname $argv[2] - if not grep -q "^$bname " $BMS_FILE - __bookmarks_print_error "No bookmark by the name of $bname exists." - return 1 - end - sed -i "/^$bname /d" $BMS_FILE - __bookmarks_update_completions - echo "Bookmark '$bname' removed." - - case "list" - set bpath (grep "^$bname " $BMS_FILE | cut -f2- -d' ') - # Use a random delimeter {*#*} that's unlikely that someone has used for a file/dir name - # If not directories with spaces will be split into columns - echo -n (set_color green) - echo " Name {*#*} Path" | cat - $BMS_FILE | sed "2,\$ s/^\([[:alnum:]_-]\+\)/$title_col &{*#*}$text_col/" | column -t -s "{*#*}" - echo - end - -end - -function __bookmarks_opener --description "Default opener" - set -l f "$argv[1]" - switch (file --mime-type -b "$f") - case "text/*" - $EDITOR "$f" - case "application/*" - file "$f" | grep -iq text && $EDITOR "$f" || $BMS_OPENER "$f" - case "image/*" - sxiv "$f" 2> /dev/null && $BMS_OPENER "$f" - case "*" - $BMS_OPENER "$f" - end -end - -function __bookmarks_print_error - echo -n $error_col - echo -n "Error: " - echo -n $text_col - echo $argv[1] -end - -function __bookmarks_update_completions - set -l bmarks $HOME/.config/fish/bmarks - set -l cmds add remove go list - set -l cnd __fish_seen_subcommand_from $cmds - # set -l sub_cmd_cnd "(not __fish_seen_subcommand_from) $cmds" - complete -f -c bookmark -a "$cmds[1]" -n "not $cnd" -d "Description 1 with more words hello there" - complete -f -c bookmark -a "$cmds[2]" -n "not $cnd" -d "Description 2 how about this will this help create the other style?" - complete -f -c bookmark -a "$cmds[3]" -n "not $cnd" -d "Description 3" - complete -f -c bookmark -a "$cmds[4]" -n "not $cnd" -d "Description 3" - - for bmark in (cat $bmarks) - set -l bname (echo $bmark | cut -f1 -d' ') - set -l bpath (echo $bmark | cut -f2- -d' ') - if [ -e "$bpath" ] - set description (echo -n $bpath; [ -d $bpath ] && echo -n ' - Dir' || echo -n ' - File') - else - set description "Bookmark target no longer exists" - end - - complete -x -c bookmark -a "$bname" -n "__fish_seen_subcommand_from go remove" -d "$description" - end - - complete -c g -w bookmark -end diff --git a/.config/git/config b/.config/git/config new file mode 100644 index 0000000..2d6d28d --- /dev/null +++ b/.config/git/config @@ -0,0 +1,5 @@ +[user] + email = joseph@ferano.io + name = Joseph Ferano +[init] + defaultBranch = master diff --git a/.config/kak/kakrc b/.config/kak/kakrc new file mode 100644 index 0000000..94dfda0 --- /dev/null +++ b/.config/kak/kakrc @@ -0,0 +1,145 @@ +source /home/joe/.config/kak/plugins/plug.kak/rc/plug.kak +colorscheme tomorrow-night + +ranger-open-on-edit-directory + +set-option global tabstop 4 + +hook global WinCreate .* %{ + auto-pairs-enable +} + +hook global BufCreate .*Fastfile %{ + set buffer filetype ruby +} + +# Plugins +plug "andreyorst/plug.kak" noload +plug "danr/kakoune-easymotion" +plug "h-youhei/kakoune-surround" +plug "Delapouite/kakoune-i3" +plug "lexherbo2/auto-pairs.kak" +plug "Delapouite/kakoune-buffers" +plug "Screwtapello/kakoune-cargo" + +# Highlighters +addhl global/ number-lines -relative -hlcursor -separator ' ' + +# Custom Mappings +map global normal ':ranger' -docstring 'NERDTree style open ranger' +map global normal , -docstring 'leader' +map global normal , ':enter-user-modeeasymotion' +map global user -docstring 'clear multiple selections' + +# Surround +declare-user-mode surround +map global normal \' ':enter-user-modesurround' +map global surround s ':surround' -docstring 'Add Surround' +map global surround c ":change-surround" -docstring 'Change Surround' +map global surround d ':delete-surround' -docstring 'Delete Surround' + +# Map macros here +map global normal ^ q +map global normal Q + +def -params 1 extend-line-down %{ + exec "%arg{1}X" +} +def -params 1 extend-line-up %{ + exec "%arg{1}K" + try %{ + exec -draft ';\n' + exec X + } + exec '' +} +map global normal x ':extend-line-down %val{count}' +map global normal X ':extend-line-up %val{count}' + +# Clipboard hooks + +hook global NormalKey y|d|c %{ nop %sh{ + printf %s "$kak_main_reg_dquote" | xsel --input --clipboard +}} +map global normal P '!xsel --output --clipboard' +map global normal p 'xsel --output --clipboard' + +map global normal ': select-block' + +declare-user-mode window +map global normal ':enter-user-modewindow' + +# i3wm +map global window h ':i3-new-left' +map global window j ':i3-new-down' +map global window k ':i3-new-up' +map global window l ':i3-new-right' + +# Comment with +map global normal  ':comment-line' -docstring 'comment line' + + +# Increase/Decrease Count +# define-command -hidden -params 2 inc %{ +# evaluate-commands %sh{ +# if [ "$1" = 0 ] +# then +# count=1 +# else +# count="$1" +# fi +# printf '%s%s\n' 'exec h"_xs\dna' "$2($count)|bch" +# } +# } +# map global normal ':inc %val{count} +' +# map global normal ':inc %val{count} -' + +# Experimental Word Lock +# source ./word-mode.kak + +map global normal w e +map global normal W E +map global normal +map global normal +map global normal e w +map global normal E '"_s.w' +map global normal +map global normal '"_s.' + +def -hidden select-next-subword %{ + exec /[A-Z][a-z]+|[A-Z]+|[a-z]+ +} +def -hidden extend-next-subword %{ + exec ?[A-Z][a-z]+|[A-Z]+|[a-z]+ +} +def -hidden select-prev-subword %{ + exec [A-Z][a-z]+|[A-Z]+|[a-z]+ +} +def -hidden extend-prev-subword %{ + exec [A-Z][a-z]+|[A-Z]+|[a-z]+ +} +map global normal q :select-next-subword -docstring 'select to next subword' +map global normal Q :extend-next-subword -docstring 'extend to next subword' +map global normal :select-prev-subword -docstring 'select to previous subword' +map global normal :extend-prev-subword -docstring 'extend to previous subword' + +# Buffers +map global user b ':enter-buffers-mode' -docstring 'buffers…' +map global user B ':info-buffers' -docstring 'buffer list' + +# Rust +hook global BufCreate .*\.(py|rs) %{ + eval %sh{kak-lsp --kakoune -s $kak_session} + + set-option global lsp_auto_highlight_references true + # set-option global lsp_hover_insert_mode_trigger true + lsp-auto-hover-insert-mode-enable + lsp-auto-signature-help-enable + map global normal D ':lsp-hover' + map global insert ':lsp-hover' + map global normal '#' ':enter-user-mode lsp' + + map global user c ':enter-user-modecargo' + map global cargo b ':cargo build' +} + diff --git a/.config/kitty/kitty-convert.py b/.config/kitty/kitty-convert.py new file mode 100644 index 0000000..441e183 --- /dev/null +++ b/.config/kitty/kitty-convert.py @@ -0,0 +1,61 @@ +import json +import sys + +def env_to_str(env): + """Convert an env list to a series of '--env key=value' parameters and return as a string.""" + # FIXME: running launch with --env params doesn't seem to work - I get this error: + # Failed to launch child: --env + # With error: No such file or directory + # Press Enter to exit. + # So, skip this for now. + return '' + # s = '' + # for key in env: + # s += f"--env {key}={env[key]} " + + # return s.strip() + +def cmdline_to_str(cmdline): + """Convert a cmdline list to a space separated string.""" + s = '' + for e in cmdline: + s += f"{e} " + + return s.strip() + +def fg_proc_to_str(fg): + """Convert a foreground_processes list to a space separated string.""" + s = '' + fg = fg[0] + + # s += f"--cwd {fg['cwd']} {cmdline_to_str(fg['cmdline'])}" + s += f"{cmdline_to_str(fg['cmdline'])}" + + return s + +def convert(session): + """Convert a kitty session dict, into a kitty session file and output it.""" + for os_window in session: + print('\nnew_os_window\n') + + for tab in os_window['tabs']: + print(f"new_tab {tab['title']}") + # print('enabled_layouts *) + print(f"layout {tab['layout']}") + # This is a bit of a kludge to set cwd for the tab, as + # setting it in the launch command didn't work, for some reason? + if tab['windows']: + print(f"cd {tab['windows'][0]['cwd']}") + + for w in tab['windows']: + print(f"title {w['title']}") + print(f"launch {env_to_str(w['env'])} {fg_proc_to_str(w['foreground_processes'])}") + if w['is_focused']: + print('focus') + + +if __name__ == "__main__": + stdin = sys.stdin.readlines() + session = json.loads(''.join(stdin)) + convert(session) + diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf new file mode 100644 index 0000000..01ba4a5 --- /dev/null +++ b/.config/kitty/kitty.conf @@ -0,0 +1,35 @@ +include /home/joe/.config/kitty/theme.conf + +font_size 14.0 + +allow_remote_control yes +single_instance yes +listen_on unix:/tmp/kitty + +window_padding_width 5 +tab_bar_style powerline + +sync_to_monitor yes +input_delay 0 +hide_window_decorations yes + +map super+f pipe @ansi overlay /home/joe/bin/vim-ansi +map ctrl+shift+enter launch --cwd=current +map f5 load_config_file + +enabled_layouts stack,tall,fat + +map ctrl+shift+m toggle_layout stack + +map ctrl+alt+h neighboring_window left +map ctrl+alt+j neighboring_window down +map ctrl+alt+k neighboring_window up +map ctrl+alt+l neighboring_window right + +map shift+up move_window up +map shift+left move_window left +map shift+right move_window right +map shift+down move_window down + +scrollback_pager bash -c 'nvim " -c "autocmd TermOpen * normal G" -c "terminal cat /proc/$$/fd/0 -" -c "set clipboard+=unnamedplus" -c "call cursor(CURSOR_LINE, CURSOR_COLUMN)"' + diff --git a/.config/kitty/themes/3024_Day.conf b/.config/kitty/themes/3024_Day.conf new file mode 100644 index 0000000..747996a --- /dev/null +++ b/.config/kitty/themes/3024_Day.conf @@ -0,0 +1,21 @@ +background #f7f7f7 +foreground #494542 +cursor #494542 +selection_background #a4a1a1 +color0 #090200 +color8 #5b5754 +color1 #da2c20 +color9 #e8bacf +color2 #00a152 +color10 #3a3332 +color3 #fcec02 +color11 #494542 +color4 #00a0e4 +color12 #7f7c7b +color5 #a06994 +color13 #d6d4d3 +color6 #b5e4f4 +color14 #ccab53 +color7 #a4a1a1 +color15 #f7f7f7 +selection_foreground #f7f7f7 diff --git a/.config/kitty/themes/3024_Night.conf b/.config/kitty/themes/3024_Night.conf new file mode 100644 index 0000000..2543819 --- /dev/null +++ b/.config/kitty/themes/3024_Night.conf @@ -0,0 +1,21 @@ +background #090200 +foreground #a4a1a1 +cursor #a4a1a1 +selection_background #494542 +color0 #090200 +color8 #5b5754 +color1 #da2c20 +color9 #e8bacf +color2 #00a152 +color10 #3a3332 +color3 #fcec02 +color11 #494542 +color4 #00a0e4 +color12 #7f7c7b +color5 #a06994 +color13 #d6d4d3 +color6 #b5e4f4 +color14 #ccab53 +color7 #a4a1a1 +color15 #f7f7f7 +selection_foreground #090200 diff --git a/.config/kitty/themes/AdventureTime.conf b/.config/kitty/themes/AdventureTime.conf new file mode 100644 index 0000000..e523a1a --- /dev/null +++ b/.config/kitty/themes/AdventureTime.conf @@ -0,0 +1,21 @@ +background #1e1c44 +foreground #f8dbc0 +cursor #eebf37 +selection_background #6f6a4e +color0 #050404 +color8 #4e7bbf +color1 #bc0013 +color9 #fc5e59 +color2 #49b117 +color10 #9dff6e +color3 #e6741d +color11 #efc11a +color4 #0f49c6 +color12 #1896c6 +color5 #665992 +color13 #9a5952 +color6 #6fa497 +color14 #c8f9f3 +color7 #f8dbc0 +color15 #f5f4fb +selection_foreground #1e1c44 diff --git a/.config/kitty/themes/AlienBlood.conf b/.config/kitty/themes/AlienBlood.conf new file mode 100644 index 0000000..453ea80 --- /dev/null +++ b/.config/kitty/themes/AlienBlood.conf @@ -0,0 +1,21 @@ +background #0f160f +foreground #637d75 +cursor #73f990 +selection_background #1d4025 +color0 #112615 +color8 #3c4711 +color1 #7f2b26 +color9 #df8008 +color2 #2f7e25 +color10 #18e000 +color3 #707f23 +color11 #bde000 +color4 #2f697f +color12 #00a9df +color5 #47577e +color13 #0058df +color6 #317f76 +color14 #00dfc3 +color7 #647d75 +color15 #73f990 +selection_foreground #0f160f diff --git a/.config/kitty/themes/Alucard.conf b/.config/kitty/themes/Alucard.conf new file mode 100644 index 0000000..43665fe --- /dev/null +++ b/.config/kitty/themes/Alucard.conf @@ -0,0 +1,21 @@ +background #222330 +foreground #cef3ff +cursor #ffffff +selection_background #44475a +color0 #000000 +color8 #545454 +color1 #ff5555 +color9 #ff5454 +color2 #fa0074 +color10 #50fa7b +color3 #7f0a1f +color11 #f0fa8b +color4 #3282ff +color12 #1200f8 +color5 #1b3cff +color13 #ff78c5 +color6 #0037fc +color14 #8ae9fc +color7 #bbbbbb +color15 #ffffff +selection_foreground #222330 diff --git a/.config/kitty/themes/Apprentice.conf b/.config/kitty/themes/Apprentice.conf new file mode 100644 index 0000000..c8c0583 --- /dev/null +++ b/.config/kitty/themes/Apprentice.conf @@ -0,0 +1,26 @@ +# Apprentice by Romain Lafourcade, https://github.com/romainl +# This work is licensed under the terms of the MIT license. +# For a copy, see https://opensource.org/licenses/MIT. + +cursor #c7c7c7 +cursor_text_color #feffff +selection_foreground #3e3e3e +selection_background #c1ddff +foreground #c8c8c8 +background #323232 +color0 #252525 +color8 #555555 +color1 #be7472 +color9 #ff9900 +color2 #709772 +color10 #97bb98 +color3 #989772 +color11 #fefdbc +color4 #7199bc +color12 #9fbdde +color5 #727399 +color13 #989abc +color6 #719899 +color14 #6fbbbc +color7 #7f7f7f +color15 #feffff diff --git a/.config/kitty/themes/Argonaut.conf b/.config/kitty/themes/Argonaut.conf new file mode 100644 index 0000000..058186e --- /dev/null +++ b/.config/kitty/themes/Argonaut.conf @@ -0,0 +1,21 @@ +background #0d0f18 +foreground #fffaf3 +cursor #ff0017 +selection_background #002a3a +color0 #222222 +color8 #444444 +color1 #ff000f +color9 #ff273f +color2 #8ce00a +color10 #abe05a +color3 #ffb900 +color11 #ffd141 +color4 #008df8 +color12 #0092ff +color5 #6c43a5 +color13 #9a5feb +color6 #00d7eb +color14 #67ffef +color7 #ffffff +color15 #ffffff +selection_foreground #0d0f18 diff --git a/.config/kitty/themes/Arthur.conf b/.config/kitty/themes/Arthur.conf new file mode 100644 index 0000000..d3fb520 --- /dev/null +++ b/.config/kitty/themes/Arthur.conf @@ -0,0 +1,21 @@ +background #1c1c1c +foreground #ddeedd +cursor #e2bbef +selection_background #4d4d4d +color0 #3d352a +color8 #554444 +color1 #cd5c5c +color9 #cc5533 +color2 #86af80 +color10 #88aa22 +color3 #e8ae5b +color11 #ffa75d +color4 #6495ed +color12 #87ceeb +color5 #deb887 +color13 #996600 +color6 #b0c4de +color14 #b0c4de +color7 #bbaa99 +color15 #ddccbb +selection_foreground #1c1c1c diff --git a/.config/kitty/themes/AtelierSulphurpool.conf b/.config/kitty/themes/AtelierSulphurpool.conf new file mode 100644 index 0000000..05674b0 --- /dev/null +++ b/.config/kitty/themes/AtelierSulphurpool.conf @@ -0,0 +1,21 @@ +background #202745 +foreground #969cb3 +cursor #969cb3 +selection_background #5e6686 +color0 #202745 +color8 #6a7394 +color1 #c84821 +color9 #c76a28 +color2 #ab9639 +color10 #283256 +color3 #c08a2f +color11 #5e6686 +color4 #3d8ed0 +color12 #898ea3 +color5 #6678cc +color13 #dee1f0 +color6 #21a1c8 +color14 #9c6279 +color7 #969cb3 +color15 #f4f7ff +selection_foreground #202745 diff --git a/.config/kitty/themes/AtomOneLight.conf b/.config/kitty/themes/AtomOneLight.conf new file mode 100644 index 0000000..056ef3b --- /dev/null +++ b/.config/kitty/themes/AtomOneLight.conf @@ -0,0 +1,21 @@ +background #f8f8f8 +foreground #2a2b33 +cursor #bbbbbb +selection_background #ececec +color0 #000000 +color8 #000000 +color1 #de3d35 +color9 #de3d35 +color2 #3e953a +color10 #3e953a +color3 #d2b67b +color11 #d2b67b +color4 #2f5af3 +color12 #2f5af3 +color5 #950095 +color13 #a00095 +color6 #3e953a +color14 #3e953a +color7 #bbbbbb +color15 #ffffff +selection_foreground #f8f8f8 diff --git a/.config/kitty/themes/Batman.conf b/.config/kitty/themes/Batman.conf new file mode 100644 index 0000000..aef20e8 --- /dev/null +++ b/.config/kitty/themes/Batman.conf @@ -0,0 +1,21 @@ +background #1b1d1e +foreground #6e6e6e +cursor #fcee0b +selection_background #4d4f4c +color0 #1b1d1e +color8 #505354 +color1 #e6db43 +color9 #fff68d +color2 #c8be46 +color10 #fff27c +color3 #f3fd21 +color11 #feed6c +color4 #737074 +color12 #909495 +color5 #737271 +color13 #9a999d +color6 #615f5e +color14 #a2a2a5 +color7 #c5c5be +color15 #dadad5 +selection_foreground #1b1d1e diff --git a/.config/kitty/themes/Belafonte_Day.conf b/.config/kitty/themes/Belafonte_Day.conf new file mode 100644 index 0000000..56a8796 --- /dev/null +++ b/.config/kitty/themes/Belafonte_Day.conf @@ -0,0 +1,21 @@ +background #d4ccb9 +foreground #45363b +cursor #45363b +selection_background #958b83 +color0 #20111a +color8 #5e5252 +color1 #bd100d +color9 #bd100d +color2 #858062 +color10 #858062 +color3 #e9a448 +color11 #e9a448 +color4 #416978 +color12 #416978 +color5 #96522b +color13 #96522b +color6 #98999c +color14 #98999c +color7 #958b83 +color15 #d4ccb9 +selection_foreground #d4ccb9 diff --git a/.config/kitty/themes/Belafonte_Night.conf b/.config/kitty/themes/Belafonte_Night.conf new file mode 100644 index 0000000..fc51e9c --- /dev/null +++ b/.config/kitty/themes/Belafonte_Night.conf @@ -0,0 +1,21 @@ +background #20111a +foreground #958b83 +cursor #958b83 +selection_background #45363b +color0 #20111a +color8 #5e5252 +color1 #bd100d +color9 #bd100d +color2 #858062 +color10 #858062 +color3 #e9a448 +color11 #e9a448 +color4 #416978 +color12 #416978 +color5 #96522b +color13 #96522b +color6 #98999c +color14 #98999c +color7 #958b83 +color15 #d4ccb9 +selection_foreground #20111a diff --git a/.config/kitty/themes/BirdsOfParadise.conf b/.config/kitty/themes/BirdsOfParadise.conf new file mode 100644 index 0000000..df38e80 --- /dev/null +++ b/.config/kitty/themes/BirdsOfParadise.conf @@ -0,0 +1,21 @@ +background #2a1e1d +foreground #dfdab7 +cursor #573d25 +selection_background #563c27 +color0 #573d25 +color8 #9a6b49 +color1 #be2d26 +color9 #e84526 +color2 #6ba08a +color10 #94d7ba +color3 #e99c29 +color11 #d0d04f +color4 #5a86ac +color12 #b8d3ed +color5 #ab80a6 +color13 #d09dca +color6 #74a5ac +color14 #92ced6 +color7 #dfdab7 +color15 #fff9d4 +selection_foreground #2a1e1d diff --git a/.config/kitty/themes/Blazer.conf b/.config/kitty/themes/Blazer.conf new file mode 100644 index 0000000..f1dd601 --- /dev/null +++ b/.config/kitty/themes/Blazer.conf @@ -0,0 +1,21 @@ +background #0d1925 +foreground #d9e5f1 +cursor #d9e5f1 +color0 #000000 +color8 #252525 +color1 #b87979 +color9 #dabdbd +color2 #79b879 +color10 #bddabd +color3 #b8b879 +color11 #dadabd +color4 #7979b8 +color12 #bdbdda +color5 #b879b8 +color13 #dabdda +color6 #79b8b8 +color14 #bddada +color7 #d9d9d9 +color15 #ffffff +selection_foreground #0d1925 +selection_background #d9e6f2 diff --git a/.config/kitty/themes/Borland.conf b/.config/kitty/themes/Borland.conf new file mode 100644 index 0000000..c27cc83 --- /dev/null +++ b/.config/kitty/themes/Borland.conf @@ -0,0 +1,21 @@ +background #0000a3 +foreground #ffff4d +cursor #ffa460 +selection_background #a3a3a3 +color0 #4e4e4e +color8 #7c7c7c +color1 #ff6b60 +color9 #ffb6b0 +color2 #a7ff60 +color10 #ceffab +color3 #ffffb6 +color11 #ffffcb +color4 #96cafd +color12 #b5dcfe +color5 #ff73fd +color13 #ff9cfe +color6 #c6c4fd +color14 #dfdffe +color7 #eeeeee +color15 #ffffff +selection_foreground #0000a3 diff --git a/.config/kitty/themes/Bright_Lights.conf b/.config/kitty/themes/Bright_Lights.conf new file mode 100644 index 0000000..9b365f4 --- /dev/null +++ b/.config/kitty/themes/Bright_Lights.conf @@ -0,0 +1,21 @@ +background #191919 +foreground #b2c8d6 +cursor #f34a00 +selection_background #b2c8d6 +color0 #191919 +color8 #191919 +color1 #ff355b +color9 #ff355b +color2 #b6e875 +color10 #b6e875 +color3 #ffc150 +color11 #ffc150 +color4 #75d3ff +color12 #75d4ff +color5 #b975e6 +color13 #b975e6 +color6 #6cbeb5 +color14 #6cbeb5 +color7 #c1c8d6 +color15 #c1c8d6 +selection_foreground #191919 diff --git a/.config/kitty/themes/Broadcast.conf b/.config/kitty/themes/Broadcast.conf new file mode 100644 index 0000000..7844942 --- /dev/null +++ b/.config/kitty/themes/Broadcast.conf @@ -0,0 +1,21 @@ +background #2b2b2b +foreground #e5e1db +cursor #ffffff +selection_background #5a637e +color0 #000000 +color8 #323232 +color1 #da4839 +color9 #ff7b6a +color2 #509f50 +color10 #83d082 +color3 #ffd249 +color11 #ffff7b +color4 #6d9cbd +color12 #9fcef0 +color5 #cfcfff +color13 #ffffff +color6 #6d9cbd +color14 #a0cef0 +color7 #ffffff +color15 #ffffff +selection_foreground #2b2b2b diff --git a/.config/kitty/themes/Brogrammer.conf b/.config/kitty/themes/Brogrammer.conf new file mode 100644 index 0000000..41cc37b --- /dev/null +++ b/.config/kitty/themes/Brogrammer.conf @@ -0,0 +1,21 @@ +background #131313 +foreground #d6dae4 +cursor #b9b9b9 +selection_background #1f1f1f +color0 #1f1f1f +color8 #d6dae4 +color1 #f71118 +color9 #de342e +color2 #2cc55d +color10 #1dd260 +color3 #ecb90f +color11 #f2bd09 +color4 #2a84d2 +color12 #0f80d5 +color5 #4e59b7 +color13 #524fb9 +color6 #0f80d5 +color14 #0f7cda +color7 #d6dae4 +color15 #ffffff +selection_foreground #131313 diff --git a/.config/kitty/themes/C64.conf b/.config/kitty/themes/C64.conf new file mode 100644 index 0000000..70978d5 --- /dev/null +++ b/.config/kitty/themes/C64.conf @@ -0,0 +1,21 @@ +background #40318d +foreground #7869c4 +cursor #7869c4 +selection_background #7869c4 +color0 #090300 +color8 #000000 +color1 #883932 +color9 #883932 +color2 #55a049 +color10 #55a049 +color3 #bfce72 +color11 #bfce72 +color4 #40318d +color12 #40318d +color5 #8b3f96 +color13 #8a3e95 +color6 #67b6bd +color14 #67b6bd +color7 #ffffff +color15 #f7f7f7 +selection_foreground #40318d diff --git a/.config/kitty/themes/Chalk.conf b/.config/kitty/themes/Chalk.conf new file mode 100644 index 0000000..7051698 --- /dev/null +++ b/.config/kitty/themes/Chalk.conf @@ -0,0 +1,21 @@ +background #2b2c2e +foreground #d2d8d9 +cursor #708183 +selection_background #e3e8ed +color0 #7c8a8f +color8 #888888 +color1 #b23a51 +color9 #f24840 +color2 #789a69 +color10 #80c46f +color3 #b9ab4a +color11 #ffeb62 +color4 #2a7fac +color12 #4095ff +color5 #bc4f5a +color13 #fb5175 +color6 #44a799 +color14 #52ccbd +color7 #d2d8d9 +color15 #d2d8d9 +selection_foreground #2b2c2e diff --git a/.config/kitty/themes/Chalkboard.conf b/.config/kitty/themes/Chalkboard.conf new file mode 100644 index 0000000..f0b7350 --- /dev/null +++ b/.config/kitty/themes/Chalkboard.conf @@ -0,0 +1,21 @@ +background #29262f +foreground #d9e6f2 +cursor #d9e6f2 +selection_background #073642 +color0 #000000 +color8 #323232 +color1 #c37372 +color9 #dbaaaa +color2 #72c373 +color10 #aadbaa +color3 #c2c372 +color11 #dadbaa +color4 #7372c3 +color12 #aaaadb +color5 #c372c2 +color13 #dbaada +color6 #72c2c3 +color14 #aadadb +color7 #d9d9d9 +color15 #ffffff +selection_foreground #29262f diff --git a/.config/kitty/themes/Ciapre.conf b/.config/kitty/themes/Ciapre.conf new file mode 100644 index 0000000..2b496fb --- /dev/null +++ b/.config/kitty/themes/Ciapre.conf @@ -0,0 +1,21 @@ +background #181c27 +foreground #ada37a +cursor #91805a +selection_background #172539 +color0 #181818 +color8 #555555 +color1 #800009 +color9 #ab3834 +color2 #48513b +color10 #a6a65d +color3 #cc8a3e +color11 #dcde7b +color4 #566d8c +color12 #2f97c6 +color5 #724c7c +color13 #d33060 +color6 #5b4f4a +color14 #f3dab1 +color7 #ada37e +color15 #f3f3f3 +selection_foreground #181c27 diff --git a/.config/kitty/themes/Cobalt2.conf b/.config/kitty/themes/Cobalt2.conf new file mode 100644 index 0000000..3ffcbe2 --- /dev/null +++ b/.config/kitty/themes/Cobalt2.conf @@ -0,0 +1,21 @@ +background #122637 +foreground #ffffff +cursor #f0cb09 +selection_background #18344f +color0 #000000 +color8 #545454 +color1 #ff0000 +color9 #f40d17 +color2 #37dd21 +color10 #3bcf1d +color3 #fee409 +color11 #ecc809 +color4 #1460d2 +color12 #5555ff +color5 #ff005d +color13 #ff55ff +color6 #00bbbb +color14 #6ae3f9 +color7 #bbbbbb +color15 #ffffff +selection_foreground #122637 diff --git a/.config/kitty/themes/Cobalt_Neon.conf b/.config/kitty/themes/Cobalt_Neon.conf new file mode 100644 index 0000000..02a66e5 --- /dev/null +++ b/.config/kitty/themes/Cobalt_Neon.conf @@ -0,0 +1,21 @@ +background #142838 +foreground #8ff586 +cursor #c4206f +selection_background #084fb0 +color0 #142630 +color8 #fff688 +color1 #ff2320 +color9 #d4312e +color2 #3aa5ff +color10 #8ff586 +color3 #e9e75c +color11 #e9f06d +color4 #8ff586 +color12 #3c7dd2 +color5 #781aa0 +color13 #8230a7 +color6 #8ff586 +color14 #6cbc67 +color7 #ba45b1 +color15 #8ff586 +selection_foreground #142838 diff --git a/.config/kitty/themes/CrayonPonyFish.conf b/.config/kitty/themes/CrayonPonyFish.conf new file mode 100644 index 0000000..068fab3 --- /dev/null +++ b/.config/kitty/themes/CrayonPonyFish.conf @@ -0,0 +1,21 @@ +background #140607 +foreground #685259 +cursor #685259 +selection_background #2a1a1c +color0 #2a1a1c +color8 #3c2a2e +color1 #90002a +color9 #c5245c +color2 #579523 +color10 #8dff56 +color3 #aa301b +color11 #c7371d +color4 #8b87af +color12 #cfc9ff +color5 #682e50 +color13 #fb6cb9 +color6 #e8a766 +color14 #ffceae +color7 #685259 +color15 #af949d +selection_foreground #140607 diff --git a/.config/kitty/themes/Dark_Pastel.conf b/.config/kitty/themes/Dark_Pastel.conf new file mode 100644 index 0000000..15083f7 --- /dev/null +++ b/.config/kitty/themes/Dark_Pastel.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #ffffff +cursor #bbbbbb +selection_background #b5d5ff +color0 #000000 +color8 #545454 +color1 #ff5555 +color9 #ff5555 +color2 #55ff55 +color10 #55ff55 +color3 #ffff55 +color11 #ffff55 +color4 #5555ff +color12 #5555ff +color5 #ff55ff +color13 #ff55ff +color6 #55ffff +color14 #55ffff +color7 #bbbbbb +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/Desert.conf b/.config/kitty/themes/Desert.conf new file mode 100644 index 0000000..5491a97 --- /dev/null +++ b/.config/kitty/themes/Desert.conf @@ -0,0 +1,21 @@ +background #333333 +foreground #ffffff +cursor #00ff00 +selection_background #b5d5ff +color0 #4d4d4d +color8 #545454 +color1 #ff2b2b +color9 #ff5555 +color2 #98fb98 +color10 #55ff55 +color3 #f0e68c +color11 #ffff55 +color4 #cd853f +color12 #87ceff +color5 #ffdead +color13 #ff55ff +color6 #ffa0a0 +color14 #ffd700 +color7 #f5deb3 +color15 #ffffff +selection_foreground #333333 diff --git a/.config/kitty/themes/DimmedMonokai.conf b/.config/kitty/themes/DimmedMonokai.conf new file mode 100644 index 0000000..99d7a83 --- /dev/null +++ b/.config/kitty/themes/DimmedMonokai.conf @@ -0,0 +1,21 @@ +background #1e1e1e +foreground #b8bcb9 +cursor #f83d19 +selection_background #292c31 +color0 #3a3c43 +color8 #888987 +color1 #be3e48 +color9 #fb001e +color2 #869a3a +color10 #0e712e +color3 #c4a535 +color11 #c37033 +color4 #4e76a1 +color12 #176ce3 +color5 #855b8d +color13 #fb0067 +color6 #568ea3 +color14 #2d6f6c +color7 #b8bcb9 +color15 #fcffb8 +selection_foreground #1e1e1e diff --git a/.config/kitty/themes/DotGov.conf b/.config/kitty/themes/DotGov.conf new file mode 100644 index 0000000..345cef9 --- /dev/null +++ b/.config/kitty/themes/DotGov.conf @@ -0,0 +1,21 @@ +background #252b35 +foreground #eaeaea +cursor #d9002f +selection_background #194080 +color0 #181818 +color8 #181818 +color1 #bf081d +color9 #bf081d +color2 #3d9751 +color10 #3d9751 +color3 #f6bb33 +color11 #f6bb33 +color4 #16b1df +color12 #16b1df +color5 #772fb0 +color13 #772fb0 +color6 #8bd1ed +color14 #8bd1ed +color7 #ffffff +color15 #ffffff +selection_foreground #252b35 diff --git a/.config/kitty/themes/Dracula.conf b/.config/kitty/themes/Dracula.conf new file mode 100644 index 0000000..9cf0ed6 --- /dev/null +++ b/.config/kitty/themes/Dracula.conf @@ -0,0 +1,21 @@ +background #1e1f28 +foreground #f8f8f2 +cursor #bbbbbb +selection_background #44475a +color0 #000000 +color8 #545454 +color1 #ff5555 +color9 #ff5454 +color2 #50fa7b +color10 #50fa7b +color3 #f0fa8b +color11 #f0fa8b +color4 #bd92f8 +color12 #bd92f8 +color5 #ff78c5 +color13 #ff78c5 +color6 #8ae9fc +color14 #8ae9fc +color7 #bbbbbb +color15 #ffffff +selection_foreground #1e1f28 diff --git a/.config/kitty/themes/Dumbledore.conf b/.config/kitty/themes/Dumbledore.conf new file mode 100644 index 0000000..c1ef032 --- /dev/null +++ b/.config/kitty/themes/Dumbledore.conf @@ -0,0 +1,21 @@ +background #422553 +foreground #c4c8c5 +cursor #c4c8c5 +selection_background #008aff +color0 #2b283d +color8 #413e53 +color1 #ae0000 +color9 #d3a624 +color2 #3e7c54 +color10 #aaaaaa +color3 #f0c75e +color11 #716254 +color4 #415baf +color12 #946a2c +color5 #9445ae +color13 #b294ba +color6 #008aff +color14 #25de50 +color7 #850000 +color15 #c9c9c9 +selection_foreground #422553 diff --git a/.config/kitty/themes/Duotone_Dark.conf b/.config/kitty/themes/Duotone_Dark.conf new file mode 100644 index 0000000..4867604 --- /dev/null +++ b/.config/kitty/themes/Duotone_Dark.conf @@ -0,0 +1,21 @@ +background #1f1c27 +foreground #b6a0ff +cursor #ff9738 +selection_background #353146 +color0 #1f1c27 +color8 #353146 +color1 #d8393d +color9 #d8393d +color2 #2dcc72 +color10 #2dcc72 +color3 #d8b76e +color11 #d8b76e +color4 #ffc183 +color12 #ffc183 +color5 #dd8d40 +color13 #dd8d40 +color6 #2388ff +color14 #2388ff +color7 #b6a0ff +color15 #e9e4ff +selection_foreground #1f1c27 diff --git a/.config/kitty/themes/ENCOM.conf b/.config/kitty/themes/ENCOM.conf new file mode 100644 index 0000000..7afc7ae --- /dev/null +++ b/.config/kitty/themes/ENCOM.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #00a595 +cursor #bbbbbb +selection_background #00a48c +color0 #000000 +color8 #545454 +color1 #9f0000 +color9 #ff0000 +color2 #008b00 +color10 #00ee00 +color3 #ffcf00 +color11 #ffff00 +color4 #0081ff +color12 #0000ff +color5 #bc00ca +color13 #ff00ff +color6 #008b8b +color14 #00cdcd +color7 #bbbbbb +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/Earthsong.conf b/.config/kitty/themes/Earthsong.conf new file mode 100644 index 0000000..50f0da8 --- /dev/null +++ b/.config/kitty/themes/Earthsong.conf @@ -0,0 +1,21 @@ +background #282420 +foreground #e5c6a8 +cursor #f6f6ec +selection_background #111417 +color0 #111417 +color8 #665e54 +color1 #c84134 +color9 #ff6459 +color2 #84c44b +color10 #97e035 +color3 #f4ae2e +color11 #dfd561 +color4 #1397b9 +color12 #5ed9ff +color5 #d0623c +color13 #ff9168 +color6 #4f9452 +color14 #83ef88 +color7 #e5c5a9 +color15 #f6f6ec +selection_foreground #282420 diff --git a/.config/kitty/themes/Elemental.conf b/.config/kitty/themes/Elemental.conf new file mode 100644 index 0000000..e24a3d3 --- /dev/null +++ b/.config/kitty/themes/Elemental.conf @@ -0,0 +1,21 @@ +background #21211c +foreground #807973 +cursor #facb7f +selection_background #403729 +color0 #3c3b30 +color8 #545444 +color1 #97280f +color9 #df502a +color2 #479942 +color10 #60e06f +color3 #7f7110 +color11 #d69827 +color4 #497f7d +color12 #78d8d8 +color5 #7e4e2e +color13 #cd7c53 +color6 #387f58 +color14 #58d598 +color7 #807974 +color15 #fff1e8 +selection_foreground #21211c diff --git a/.config/kitty/themes/Espresso.conf b/.config/kitty/themes/Espresso.conf new file mode 100644 index 0000000..373c178 --- /dev/null +++ b/.config/kitty/themes/Espresso.conf @@ -0,0 +1,27 @@ +# Theme ported from the Mac Terminal application. + +background #323232 +foreground #ffffff +cursor #d6d6d6 +selection_background #5b5b5b +selection_foreground #323232 +color0 #353535 +color8 #535353 +color1 #d25252 +color9 #f00c0c +color2 #a4c161 +color10 #c1df74 +color3 #ffc56d +color11 #e1e48a +color4 #6c99ba +color12 #8ab6d9 +color5 #d096d9 +color13 #efb5f7 +color6 #bdd6ff +color14 #dbf4ff +color7 #ededec +color15 #ffffff +active_tab_foreground #ffffff +active_tab_background #535353 +inactive_tab_foreground #ffffff +inactive_tab_background #353535 diff --git a/.config/kitty/themes/Espresso_Libre.conf b/.config/kitty/themes/Espresso_Libre.conf new file mode 100644 index 0000000..fa042b2 --- /dev/null +++ b/.config/kitty/themes/Espresso_Libre.conf @@ -0,0 +1,21 @@ +background #2a211c +foreground #b8a898 +cursor #ffffff +selection_background #c3dcff +color0 #000000 +color8 #545753 +color1 #cc0000 +color9 #ef2828 +color2 #1a921c +color10 #9aff87 +color3 #efe43a +color11 #fffa5c +color4 #0066ff +color12 #43a8ed +color5 #c5656b +color13 #ff8089 +color6 #05989a +color14 #34e2e2 +color7 #d3d7cf +color15 #ededec +selection_foreground #2a211c diff --git a/.config/kitty/themes/Fideloper.conf b/.config/kitty/themes/Fideloper.conf new file mode 100644 index 0000000..7e099fc --- /dev/null +++ b/.config/kitty/themes/Fideloper.conf @@ -0,0 +1,21 @@ +background #282f32 +foreground #dad9df +cursor #d35f5a +selection_background #eeb7ab +color0 #282f32 +color8 #092027 +color1 #ca1d2c +color9 #d35f5a +color2 #edb7ab +color10 #d35f5a +color3 #b7aa9a +color11 #a86571 +color4 #2e78c1 +color12 #7c84c4 +color5 #c0226e +color13 #5b5db2 +color6 #309185 +color14 #81908f +color7 #e9e2cd +color15 #fcf4de +selection_foreground #282f32 diff --git a/.config/kitty/themes/FishTank.conf b/.config/kitty/themes/FishTank.conf new file mode 100644 index 0000000..dce32a4 --- /dev/null +++ b/.config/kitty/themes/FishTank.conf @@ -0,0 +1,21 @@ +background #222436 +foreground #eceffd +cursor #fdcd5e +selection_background #fcf6e8 +color0 #03063c +color8 #6c5a30 +color1 #c60049 +color9 #d94a8a +color2 #abf157 +color10 #daffa8 +color3 #fdcd5e +color11 #fee6a8 +color4 #525fb8 +color12 #b1bdf9 +color5 #976f81 +color13 #fda4cc +color6 #968662 +color14 #a4bc86 +color7 #eceffc +color15 #f6ffec +selection_foreground #222436 diff --git a/.config/kitty/themes/Flat.conf b/.config/kitty/themes/Flat.conf new file mode 100644 index 0000000..036e563 --- /dev/null +++ b/.config/kitty/themes/Flat.conf @@ -0,0 +1,21 @@ +background #002240 +foreground #2bc45d +cursor #e5bd0c +selection_background #782b9c +color0 #212c3e +color8 #202b3b +color1 #a72320 +color9 #d3302e +color2 #32a448 +color10 #2c9440 +color3 #e58d11 +color11 #e5bd0c +color4 #3066ab +color12 #3b7cd2 +color5 #7819a0 +color13 #822fa7 +color6 #2b9270 +color14 #35b286 +color7 #afb6b9 +color15 #e6ecec +selection_foreground #002240 diff --git a/.config/kitty/themes/Floraverse.conf b/.config/kitty/themes/Floraverse.conf new file mode 100644 index 0000000..6e6a06c --- /dev/null +++ b/.config/kitty/themes/Floraverse.conf @@ -0,0 +1,21 @@ +background #0e0c15 +foreground #dbd0b9 +cursor #bbbbbb +selection_background #f3e0b8 +color0 #08002e +color8 #331d4c +color1 #64002c +color9 #cf2062 +color2 #5d731a +color10 #b3ce58 +color3 #cd751c +color11 #fac357 +color4 #1d6da1 +color12 #40a4cf +color5 #b7077e +color13 #f02aae +color6 #42a38c +color14 #62caa8 +color7 #f3e0b8 +color15 #fff5db +selection_foreground #0e0c15 diff --git a/.config/kitty/themes/FrontEndDelight.conf b/.config/kitty/themes/FrontEndDelight.conf new file mode 100644 index 0000000..ccbf0d4 --- /dev/null +++ b/.config/kitty/themes/FrontEndDelight.conf @@ -0,0 +1,21 @@ +background #1b1b1d +foreground #acacac +cursor #cccccc +selection_background #e96153 +color0 #242426 +color8 #5eac6c +color1 #f8501a +color9 #f64319 +color2 #565746 +color10 #74eb4c +color3 #f9761d +color11 #fcc224 +color4 #2c70b7 +color12 #3393c9 +color5 #f02d4e +color13 #e75e4e +color6 #3ba0a5 +color14 #4ebce5 +color7 #acacac +color15 #8b735a +selection_foreground #1b1b1d diff --git a/.config/kitty/themes/FunForrest.conf b/.config/kitty/themes/FunForrest.conf new file mode 100644 index 0000000..df8f4ee --- /dev/null +++ b/.config/kitty/themes/FunForrest.conf @@ -0,0 +1,21 @@ +background #241200 +foreground #ddc165 +cursor #e5591c +selection_background #e5591c +color0 #000000 +color8 #7e6954 +color1 #d5252b +color9 #e4591b +color2 #909b00 +color10 #bfc659 +color3 #bd8a13 +color11 #ffca1b +color4 #4698a2 +color12 #7cc9ce +color5 #8c4231 +color13 #d16349 +color6 #d98112 +color14 #e6a96b +color7 #ddc165 +color15 #ffe9a3 +selection_foreground #241200 diff --git a/.config/kitty/themes/Galaxy.conf b/.config/kitty/themes/Galaxy.conf new file mode 100644 index 0000000..fab36a7 --- /dev/null +++ b/.config/kitty/themes/Galaxy.conf @@ -0,0 +1,21 @@ +background #1c2836 +foreground #ffffff +cursor #bbbbbb +selection_background #b4d5ff +color0 #000000 +color8 #545454 +color1 #f9555f +color9 #fa8b8e +color2 #20af89 +color10 #34bb99 +color3 #fdf029 +color11 #ffff55 +color4 #589cf5 +color12 #589cf5 +color5 #934d95 +color13 #e75598 +color6 #1e9ee6 +color14 #3978bb +color7 #bbbbbb +color15 #ffffff +selection_foreground #1c2836 diff --git a/.config/kitty/themes/Github.conf b/.config/kitty/themes/Github.conf new file mode 100644 index 0000000..22122d7 --- /dev/null +++ b/.config/kitty/themes/Github.conf @@ -0,0 +1,21 @@ +background #f4f4f4 +foreground #3e3e3e +cursor #3f3f3f +selection_background #a9c1e2 +color0 #3e3e3e +color8 #666666 +color1 #970b16 +color9 #de0000 +color2 #07962a +color10 #87d5a2 +color3 #f7edc7 +color11 #f0cf06 +color4 #003e8a +color12 #2e6cba +color5 #e94691 +color13 #ffa29f +color6 #89d1ec +color14 #1cfafe +color7 #ffffff +color15 #ffffff +selection_foreground #f4f4f4 diff --git a/.config/kitty/themes/Glacier.conf b/.config/kitty/themes/Glacier.conf new file mode 100644 index 0000000..08de697 --- /dev/null +++ b/.config/kitty/themes/Glacier.conf @@ -0,0 +1,21 @@ +background #0c1115 +foreground #ffffff +cursor #6c6c6c +selection_background #bd2523 +color0 #2e343c +color8 #404a55 +color1 #bd0f2f +color9 #bd0f2f +color2 #35a770 +color10 #49e998 +color3 #fb9435 +color11 #fddf6e +color4 #1f5872 +color12 #2a8bc1 +color5 #bd2523 +color13 #ea4727 +color6 #778397 +color14 #a0b6d3 +color7 #ffffff +color15 #ffffff +selection_foreground #0c1115 diff --git a/.config/kitty/themes/GoaBase.conf b/.config/kitty/themes/GoaBase.conf new file mode 100644 index 0000000..fcc6741 --- /dev/null +++ b/.config/kitty/themes/GoaBase.conf @@ -0,0 +1,21 @@ +background #2f0033 +foreground #f6ed00 +cursor #1a6500 +selection_background #100a24 +color0 #880041 +color8 #411a6d +color1 #f78000 +color9 #f800e1 +color2 #249000 +color10 #5743ff +color3 #f40000 +color11 #ea00d7 +color4 #000482 +color12 #b90003 +color5 #f43bff +color13 #9a5952 +color6 #3affff +color14 #c8f9f3 +color7 #000000 +color15 #f5f4fb +selection_foreground #2f0033 diff --git a/.config/kitty/themes/Grape.conf b/.config/kitty/themes/Grape.conf new file mode 100644 index 0000000..38b8a18 --- /dev/null +++ b/.config/kitty/themes/Grape.conf @@ -0,0 +1,21 @@ +background #161423 +foreground #9e9ea0 +cursor #a188f7 +selection_background #483d70 +color0 #2d283e +color8 #58506a +color1 #ec2160 +color9 #f0719a +color2 #1fa91b +color10 #52a95d +color3 #8ddc1f +color11 #b2dc87 +color4 #487cf4 +color12 #a9bbeb +color5 #8c35c8 +color13 #ac81c1 +color6 #3added +color14 #9ce3ea +color7 #9e9ea0 +color15 #a188f7 +selection_foreground #161423 diff --git a/.config/kitty/themes/Grass.conf b/.config/kitty/themes/Grass.conf new file mode 100644 index 0000000..ef9c321 --- /dev/null +++ b/.config/kitty/themes/Grass.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #12773d +foreground #fff0a4 +cursor #8b2800 +selection_background #b64825 +color0 #000000 +color8 #545454 +color1 #ba0000 +color9 #ba0000 +color2 #00ba00 +color10 #00ba00 +color3 #e6af00 +color11 #e6af00 +color4 #0000a3 +color12 #0000ba +color5 #950062 +color13 #ff54ff +color6 #00baba +color14 #54ffff +color7 #bababa +color15 #ffffff +selection_foreground #12773d diff --git a/.config/kitty/themes/Hardcore.conf b/.config/kitty/themes/Hardcore.conf new file mode 100644 index 0000000..9af78ea --- /dev/null +++ b/.config/kitty/themes/Hardcore.conf @@ -0,0 +1,21 @@ +background #121212 +foreground #a0a0a0 +cursor #bbbbbb +selection_background #453a39 +color0 #1b1d1e +color8 #505354 +color1 #f92672 +color9 #ff669d +color2 #a6e22e +color10 #beed5f +color3 #fd971f +color11 #e6db74 +color4 #66d9ef +color12 #66d9ef +color5 #9e6ffe +color13 #9e6ffe +color6 #5e7175 +color14 #a3babf +color7 #ccccc6 +color15 #f8f8f2 +selection_foreground #121212 diff --git a/.config/kitty/themes/Harper.conf b/.config/kitty/themes/Harper.conf new file mode 100644 index 0000000..2579aac --- /dev/null +++ b/.config/kitty/themes/Harper.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #a7a39c +cursor #a7a39c +selection_background #5a5753 +color0 #000000 +color8 #716d69 +color1 #f7b63e +color9 #f7b63e +color2 #7fb5e1 +color10 #7fb5e1 +color3 #d6da24 +color11 #d6da24 +color4 #489d48 +color12 #489d48 +color5 #b295c5 +color13 #b295c5 +color6 #f4bed6 +color14 #f4bed6 +color7 #a7a39c +color15 #fefbe9 +selection_foreground #000000 diff --git a/.config/kitty/themes/Highway.conf b/.config/kitty/themes/Highway.conf new file mode 100644 index 0000000..f0dfa4d --- /dev/null +++ b/.config/kitty/themes/Highway.conf @@ -0,0 +1,21 @@ +background #212224 +foreground #ededed +cursor #dfd9b8 +selection_background #384563 +color0 #000000 +color8 #5c4f49 +color1 #cf0d17 +color9 #ef7d17 +color2 #128033 +color10 #b1d130 +color3 #ffca3d +color11 #fff11f +color4 #006ab3 +color12 #4fc2fd +color5 #6a2674 +color13 #de0070 +color6 #384563 +color14 #5c4f49 +color7 #ededed +color15 #fefffe +selection_foreground #212224 diff --git a/.config/kitty/themes/Hipster_Green.conf b/.config/kitty/themes/Hipster_Green.conf new file mode 100644 index 0000000..26adfe7 --- /dev/null +++ b/.config/kitty/themes/Hipster_Green.conf @@ -0,0 +1,21 @@ +background #0f0a05 +foreground #84c137 +cursor #23ff18 +selection_background #083905 +color0 #000000 +color8 #666666 +color1 #b6204a +color9 #e50000 +color2 #00a600 +color10 #86a83e +color3 #bebe00 +color11 #e5e500 +color4 #246db2 +color12 #0000ff +color5 #b200b2 +color13 #e500e5 +color6 #00a6b2 +color14 #00e5e5 +color7 #bfbfbf +color15 #e5e5e5 +selection_foreground #0f0a05 diff --git a/.config/kitty/themes/Homebrew.conf b/.config/kitty/themes/Homebrew.conf new file mode 100644 index 0000000..d96bb72 --- /dev/null +++ b/.config/kitty/themes/Homebrew.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #000000 +foreground #00ff00 +cursor #23ff18 +selection_background #083905 +color0 #000000 +color8 #666666 +color1 #990000 +color9 #e50000 +color2 #00a600 +color10 #00d900 +color3 #999900 +color11 #e5e500 +color4 #0000b2 +color12 #0000ff +color5 #b200b2 +color13 #e500e5 +color6 #00a6b2 +color14 #00e5e5 +color7 #bebebe +color15 #e5e5e5 +selection_foreground #000000 diff --git a/.config/kitty/themes/Hurtado.conf b/.config/kitty/themes/Hurtado.conf new file mode 100644 index 0000000..1ca0421 --- /dev/null +++ b/.config/kitty/themes/Hurtado.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #dadbda +cursor #bbbbbb +selection_background #b4d5ff +color0 #575757 +color8 #252525 +color1 #ff1b00 +color9 #d41c00 +color2 #a5df55 +color10 #a5df55 +color3 #fbe74a +color11 #fbe749 +color4 #486387 +color12 #89bdff +color5 #fc5ef0 +color13 #bf00c0 +color6 #85e9fe +color14 #85e9fe +color7 #cbcbcb +color15 #dbdbdb +selection_foreground #000000 diff --git a/.config/kitty/themes/Hybrid.conf b/.config/kitty/themes/Hybrid.conf new file mode 100644 index 0000000..8f9dc50 --- /dev/null +++ b/.config/kitty/themes/Hybrid.conf @@ -0,0 +1,21 @@ +background #161718 +foreground #b7bcb9 +cursor #b7bcb9 +selection_background #1e1f22 +color0 #2a2e33 +color8 #1d1e21 +color1 #b74d50 +color9 #8c2d32 +color2 #b3be5a +color10 #788331 +color3 #e3b55e +color11 #e5894f +color4 #6d90b0 +color12 #4b6b88 +color5 #a07eab +color13 #6e4f79 +color6 #7fbeb3 +color14 #4d7b73 +color7 #b5b8b6 +color15 #5a6169 +selection_foreground #161718 diff --git a/.config/kitty/themes/IC_Green_PPL.conf b/.config/kitty/themes/IC_Green_PPL.conf new file mode 100644 index 0000000..35587dd --- /dev/null +++ b/.config/kitty/themes/IC_Green_PPL.conf @@ -0,0 +1,21 @@ +background #3a3c3e +foreground #d9eed2 +cursor #41ff58 +selection_background #2a9b34 +color0 #1e1e1e +color8 #03260f +color1 #fb0029 +color9 #a6ff3e +color2 #329b24 +color10 #9fff6d +color3 #649a25 +color11 #d1ff6d +color4 #149b45 +color12 #72ffb5 +color5 #53b82b +color13 #50ff3d +color6 #2bb767 +color14 #22ff71 +color7 #dffeee +color15 #daeed0 +selection_foreground #3a3c3e diff --git a/.config/kitty/themes/IC_Orange_PPL.conf b/.config/kitty/themes/IC_Orange_PPL.conf new file mode 100644 index 0000000..b8dead8 --- /dev/null +++ b/.config/kitty/themes/IC_Orange_PPL.conf @@ -0,0 +1,21 @@ +background #262626 +foreground #ffcb83 +cursor #fb521c +selection_background #c03f1f +color0 #000000 +color8 #6a4e29 +color1 #c03900 +color9 #ff8b67 +color2 #a3a900 +color10 #f6ff3f +color3 #caae00 +color11 #ffe36e +color4 #bd6c00 +color12 #ffbd54 +color5 #fb5d00 +color13 #fc874f +color6 #f79400 +color14 #c59752 +color7 #ffc88a +color15 #f9f9fe +selection_foreground #262626 diff --git a/.config/kitty/themes/IR_Black.conf b/.config/kitty/themes/IR_Black.conf new file mode 100644 index 0000000..5b8709b --- /dev/null +++ b/.config/kitty/themes/IR_Black.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #f1f1f1 +cursor #7f7f7f +selection_background #b4d5ff +color0 #4f4f4f +color8 #7b7b7b +color1 #fa6c5f +color9 #fcb6af +color2 #a8fe60 +color10 #ceffab +color3 #fffeb6 +color11 #fffecc +color4 #96cafd +color12 #b5dcfe +color5 #fa72fc +color13 #fb9bfe +color6 #c6c4fd +color14 #dfdffd +color7 #eeedee +color15 #fefffe +selection_foreground #000000 diff --git a/.config/kitty/themes/Jackie_Brown.conf b/.config/kitty/themes/Jackie_Brown.conf new file mode 100644 index 0000000..08a72e4 --- /dev/null +++ b/.config/kitty/themes/Jackie_Brown.conf @@ -0,0 +1,21 @@ +background #2c1c15 +foreground #ffcc2f +cursor #23ff18 +selection_background #ae8c20 +color0 #2c1d16 +color8 #666666 +color1 #ef5734 +color9 #e50000 +color2 #2baf2b +color10 #86a83e +color3 #bdbe00 +color11 #e5e500 +color4 #246db2 +color12 #0000ff +color5 #cf5ec0 +color13 #e500e5 +color6 #00acee +color14 #00e5e5 +color7 #bfbfbf +color15 #e5e5e5 +selection_foreground #2c1c15 diff --git a/.config/kitty/themes/Japanesque.conf b/.config/kitty/themes/Japanesque.conf new file mode 100644 index 0000000..c045273 --- /dev/null +++ b/.config/kitty/themes/Japanesque.conf @@ -0,0 +1,21 @@ +background #1d1d1d +foreground #f7f6ec +cursor #eccf4f +selection_background #165776 +color0 #343835 +color8 #585a58 +color1 #ce3e60 +color9 #d18ea6 +color2 #7bb75b +color10 #767e2b +color3 #e8b32a +color11 #77592e +color4 #4c99d3 +color12 #135879 +color5 #a57fc4 +color13 #5f4190 +color6 #389aac +color14 #76bbca +color7 #f9faf6 +color15 #b1b5ae +selection_foreground #1d1d1d diff --git a/.config/kitty/themes/Jellybeans.conf b/.config/kitty/themes/Jellybeans.conf new file mode 100644 index 0000000..bac5fb7 --- /dev/null +++ b/.config/kitty/themes/Jellybeans.conf @@ -0,0 +1,21 @@ +background #111111 +foreground #dedede +cursor #ffa460 +selection_background #464d91 +color0 #919191 +color8 #bdbdbd +color1 #e17373 +color9 #ffa0a0 +color2 #94b978 +color10 #bddeab +color3 #ffb97b +color11 #ffdba0 +color4 #96bddb +color12 #b1d7f6 +color5 #e1c0fa +color13 #fbdaff +color6 #00988e +color14 #19b2a7 +color7 #dedede +color15 #ffffff +selection_foreground #111111 diff --git a/.config/kitty/themes/JetBrains_Darcula.conf b/.config/kitty/themes/JetBrains_Darcula.conf new file mode 100644 index 0000000..64ac146 --- /dev/null +++ b/.config/kitty/themes/JetBrains_Darcula.conf @@ -0,0 +1,21 @@ +background #202020 +foreground #adadad +cursor #ffffff +selection_background #1a3272 +color0 #000000 +color8 #545454 +color1 #fa5355 +color9 #fb7172 +color2 #126e00 +color10 #67ff4f +color3 #c2c300 +color11 #ffff00 +color4 #4581eb +color12 #6d9df1 +color5 #fa54ff +color13 #fb82ff +color6 #33c2c1 +color14 #60d3d1 +color7 #adadad +color15 #eeeeee +selection_foreground #202020 diff --git a/.config/kitty/themes/Kibble.conf b/.config/kitty/themes/Kibble.conf new file mode 100644 index 0000000..3b13105 --- /dev/null +++ b/.config/kitty/themes/Kibble.conf @@ -0,0 +1,21 @@ +background #0e100a +foreground #f7f7f7 +cursor #9fda9c +selection_background #9ba686 +color0 #4d4d4d +color8 #5a5a5a +color1 #c70031 +color9 #f01578 +color2 #29cf13 +color10 #6ce05c +color3 #d8e30e +color11 #f3f79e +color4 #3449d1 +color12 #97a4f7 +color5 #8400ff +color13 #c495f0 +color6 #0798ab +color14 #68f2e0 +color7 #e2d1e3 +color15 #ffffff +selection_foreground #0e100a diff --git a/.config/kitty/themes/Later_This_Evening.conf b/.config/kitty/themes/Later_This_Evening.conf new file mode 100644 index 0000000..1354788 --- /dev/null +++ b/.config/kitty/themes/Later_This_Evening.conf @@ -0,0 +1,21 @@ +background #212121 +foreground #949494 +cursor #424242 +selection_background #424242 +color0 #2b2b2b +color8 #444747 +color1 #d35a5f +color9 #d3222e +color2 #afba66 +color10 #aabb39 +color3 #e5d289 +color11 #e4bd39 +color4 #a0b9d5 +color12 #6599d5 +color5 #bf92d5 +color13 #aa52d5 +color6 #91beb6 +color14 #5fbfad +color7 #3b3c3c +color15 #c0c2c2 +selection_foreground #212121 diff --git a/.config/kitty/themes/Lavandula.conf b/.config/kitty/themes/Lavandula.conf new file mode 100644 index 0000000..14aa7aa --- /dev/null +++ b/.config/kitty/themes/Lavandula.conf @@ -0,0 +1,21 @@ +background #050014 +foreground #736d7c +cursor #8b91fa +selection_background #36323b +color0 #230045 +color8 #362c45 +color1 #7c1525 +color9 #df5066 +color2 #337e6f +color10 #52e0c4 +color3 #7f6f49 +color11 #e0c286 +color4 #4f4a7f +color12 #8e86df +color5 #593f7e +color13 #a675df +color6 #57767f +color14 #9ad3df +color7 #736d7c +color15 #8b91fa +selection_foreground #050014 diff --git a/.config/kitty/themes/LiquidCarbon.conf b/.config/kitty/themes/LiquidCarbon.conf new file mode 100644 index 0000000..2f3a994 --- /dev/null +++ b/.config/kitty/themes/LiquidCarbon.conf @@ -0,0 +1,21 @@ +background #2f2f2f +foreground #afc2c2 +cursor #ffffff +selection_background #7cbeff +color0 #000000 +color8 #000000 +color1 #ff2f2f +color9 #ff2f2f +color2 #549a6f +color10 #549a6f +color3 #ccac00 +color11 #ccac00 +color4 #0099cc +color12 #0099cc +color5 #cc68c8 +color13 #cc68c8 +color6 #79c4cc +color14 #79c4cc +color7 #bccccc +color15 #bccccc +selection_foreground #2f2f2f diff --git a/.config/kitty/themes/LiquidCarbonTransparent.conf b/.config/kitty/themes/LiquidCarbonTransparent.conf new file mode 100644 index 0000000..41e5f89 --- /dev/null +++ b/.config/kitty/themes/LiquidCarbonTransparent.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #afc2c2 +cursor #ffffff +selection_background #7cbeff +color0 #000000 +color8 #000000 +color1 #ff2f2f +color9 #ff2f2f +color2 #549a6f +color10 #549a6f +color3 #ccac00 +color11 #ccac00 +color4 #0099cc +color12 #0099cc +color5 #cc68c8 +color13 #cc68c8 +color6 #79c4cc +color14 #79c4cc +color7 #bccccc +color15 #bccccc +selection_foreground #000000 diff --git a/.config/kitty/themes/LiquidCarbonTransparentInverse.conf b/.config/kitty/themes/LiquidCarbonTransparentInverse.conf new file mode 100644 index 0000000..d584624 --- /dev/null +++ b/.config/kitty/themes/LiquidCarbonTransparentInverse.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #afc2c2 +cursor #ffffff +selection_background #7cbeff +color0 #bbcbcc +color8 #ffffff +color1 #ff2f2f +color9 #ff2f2f +color2 #549a6f +color10 #549a6f +color3 #ccac00 +color11 #ccac00 +color4 #0099cc +color12 #0099cc +color5 #cc68c8 +color13 #cc68c8 +color6 #79c4cc +color14 #79c4cc +color7 #000000 +color15 #000000 +selection_foreground #000000 diff --git a/.config/kitty/themes/Man_Page.conf b/.config/kitty/themes/Man_Page.conf new file mode 100644 index 0000000..7c8aa38 --- /dev/null +++ b/.config/kitty/themes/Man_Page.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #fef49c +foreground #000000 +cursor #7f7f7f +selection_background #a4c9cd +color0 #000000 +color8 #666666 +color1 #cc0000 +color9 #e50000 +color2 #00a600 +color10 #00d900 +color3 #999900 +color11 #e5e500 +color4 #0000b2 +color12 #0000ff +color5 #b200b2 +color13 #e500e5 +color6 #00a6b2 +color14 #00e5e5 +color7 #cccccc +color15 #e5e5e5 +selection_foreground #fef49c diff --git a/.config/kitty/themes/Material.conf b/.config/kitty/themes/Material.conf new file mode 100644 index 0000000..ba38846 --- /dev/null +++ b/.config/kitty/themes/Material.conf @@ -0,0 +1,21 @@ +background #eaeaea +foreground #222221 +cursor #16aec9 +selection_background #c1c1c1 +color0 #212121 +color8 #424242 +color1 #b7141e +color9 #e83a3f +color2 #457b23 +color10 #7aba39 +color3 #f5971d +color11 #fee92e +color4 #134eb2 +color12 #53a4f3 +color5 #550087 +color13 #a94dbb +color6 #0e707c +color14 #26bad1 +color7 #eeeeee +color15 #d8d8d8 +selection_foreground #eaeaea diff --git a/.config/kitty/themes/MaterialDark.conf b/.config/kitty/themes/MaterialDark.conf new file mode 100644 index 0000000..e599021 --- /dev/null +++ b/.config/kitty/themes/MaterialDark.conf @@ -0,0 +1,21 @@ +background #222221 +foreground #e4e4e4 +cursor #16aec9 +selection_background #dedede +color0 #212121 +color8 #424242 +color1 #b7141e +color9 #e83a3f +color2 #457b23 +color10 #7aba39 +color3 #f5971d +color11 #fee92e +color4 #134eb2 +color12 #53a4f3 +color5 #550087 +color13 #a94dbb +color6 #0e707c +color14 #26bad1 +color7 #eeeeee +color15 #d8d8d8 +selection_foreground #222221 diff --git a/.config/kitty/themes/Mathias.conf b/.config/kitty/themes/Mathias.conf new file mode 100644 index 0000000..cd1ab14 --- /dev/null +++ b/.config/kitty/themes/Mathias.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #bbbbbb +cursor #bbbbbb +selection_background #545454 +color0 #000000 +color8 #545454 +color1 #e52222 +color9 #ff5555 +color2 #a6e32d +color10 #55ff55 +color3 #fc951e +color11 #ffff55 +color4 #c48dff +color12 #5555ff +color5 #fa2573 +color13 #ff55ff +color6 #67d9f0 +color14 #55ffff +color7 #f2f2f2 +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/Medallion.conf b/.config/kitty/themes/Medallion.conf new file mode 100644 index 0000000..0ad8805 --- /dev/null +++ b/.config/kitty/themes/Medallion.conf @@ -0,0 +1,21 @@ +background #1d1808 +foreground #cac296 +cursor #d3b92f +selection_background #616cab +color0 #000000 +color8 #5e5118 +color1 #b54c00 +color9 #ff9148 +color2 #7c8a16 +color10 #b1c93a +color3 #d2bd25 +color11 #ffe449 +color4 #606baf +color12 #abb8ff +color5 #8b5990 +color13 #fe9fff +color6 #906b25 +color14 #ffbb51 +color7 #c9c199 +color15 #fed597 +selection_foreground #1d1808 diff --git a/.config/kitty/themes/Misterioso.conf b/.config/kitty/themes/Misterioso.conf new file mode 100644 index 0000000..1960f9b --- /dev/null +++ b/.config/kitty/themes/Misterioso.conf @@ -0,0 +1,21 @@ +background #2d3743 +foreground #e1e1e0 +cursor #000000 +selection_background #2d37ff +color0 #000000 +color8 #545454 +color1 #ff4141 +color9 #ff3241 +color2 #74ae68 +color10 #74cc68 +color3 #ffac28 +color11 #ffb928 +color4 #338e86 +color12 #23d6d6 +color5 #9413e5 +color13 #ff37ff +color6 #23d6d6 +color14 #00ece1 +color7 #e1e1df +color15 #ffffff +selection_foreground #2d3743 diff --git a/.config/kitty/themes/Molokai.conf b/.config/kitty/themes/Molokai.conf new file mode 100644 index 0000000..cd35d1f --- /dev/null +++ b/.config/kitty/themes/Molokai.conf @@ -0,0 +1,21 @@ +background #121212 +foreground #bbbbbb +cursor #bbbbbb +selection_background #b4d5ff +color0 #121212 +color8 #545454 +color1 #fa2573 +color9 #f5669c +color2 #97e123 +color10 #b0e05e +color3 #dfd460 +color11 #fef26c +color4 #0f7fcf +color12 #00afff +color5 #8700ff +color13 #af87ff +color6 #42a7cf +color14 #50cdfe +color7 #bbbbbb +color15 #ffffff +selection_foreground #121212 diff --git a/.config/kitty/themes/MonaLisa.conf b/.config/kitty/themes/MonaLisa.conf new file mode 100644 index 0000000..3b1602d --- /dev/null +++ b/.config/kitty/themes/MonaLisa.conf @@ -0,0 +1,21 @@ +background #110b0d +foreground #f6d56a +cursor #c36c32 +selection_background #f6d56a +color0 #341a0d +color8 #874227 +color1 #9b281b +color9 #ff4230 +color2 #626132 +color10 #b3b163 +color3 #c26e27 +color11 #ff9565 +color4 #515b5c +color12 #9eb2b3 +color5 #9b1d29 +color13 #ff5b6a +color6 #588056 +color14 #89cc8e +color7 #f6d75c +color15 #ffe597 +selection_foreground #110b0d diff --git a/.config/kitty/themes/Monokai.conf b/.config/kitty/themes/Monokai.conf new file mode 100644 index 0000000..660c0cc --- /dev/null +++ b/.config/kitty/themes/Monokai.conf @@ -0,0 +1,41 @@ +# Monokai + +background #272822 +foreground #f8f8f2 +cursor #f8f8f2 +selection_background #f8f8f2 +selection_foreground #272822 +active_tab_background #75715e +active_tab_foreground #272822 +active_border_color #75715e +inactive_tab_background #272822 +inactive_tab_foreground #75715e +inactive_border_color #75715e +url_color #f8f8f2 + +# 16 Color Space + +# black +color0 #272822 +color8 #75715e +# red +color1 #f92672 +color9 #f92672 +# green +color2 #a6e22e +color10 #a6e22e +# yellow +color3 #e6db74 +color11 #e6db74 +# blue +color4 #66d9ef +color12 #66d9ef +# magenta +color5 #fd971f +color13 #fd971f +# cyan +color6 #ae81ff +color14 #ae81ff +# white +color7 #f8f8f2 +color15 #f8f8f2 diff --git a/.config/kitty/themes/N0tch2k.conf b/.config/kitty/themes/N0tch2k.conf new file mode 100644 index 0000000..3e2bb6c --- /dev/null +++ b/.config/kitty/themes/N0tch2k.conf @@ -0,0 +1,21 @@ +background #222222 +foreground #a0a0a0 +cursor #a99075 +selection_background #4d4d4d +color0 #383838 +color8 #474747 +color1 #a95551 +color9 #a97775 +color2 #666666 +color10 #8c8c8c +color3 #a98051 +color11 #a99175 +color4 #657d3e +color12 #98bd5e +color5 #767676 +color13 #a3a3a3 +color6 #c9c9c9 +color14 #dcdcdc +color7 #d0b8a3 +color15 #d8c8bb +selection_foreground #222222 diff --git a/.config/kitty/themes/Neopolitan.conf b/.config/kitty/themes/Neopolitan.conf new file mode 100644 index 0000000..2c6ffce --- /dev/null +++ b/.config/kitty/themes/Neopolitan.conf @@ -0,0 +1,21 @@ +background #271f19 +foreground #ffffff +cursor #ffffff +selection_background #253b76 +color0 #000000 +color8 #000000 +color1 #800000 +color9 #800000 +color2 #61ce3c +color10 #61ce3c +color3 #fbde2d +color11 #fbde2d +color4 #253b76 +color12 #253b76 +color5 #ff0080 +color13 #ff0080 +color6 #8da6ce +color14 #8da6ce +color7 #f8f8f8 +color15 #f8f8f8 +selection_foreground #271f19 diff --git a/.config/kitty/themes/Neutron.conf b/.config/kitty/themes/Neutron.conf new file mode 100644 index 0000000..9f2fe4d --- /dev/null +++ b/.config/kitty/themes/Neutron.conf @@ -0,0 +1,21 @@ +background #1b1d22 +foreground #e6e8ee +cursor #f6f6ec +selection_background #2e353d +color0 #22252b +color8 #22252b +color1 #b53f36 +color9 #b53f36 +color2 #5ab977 +color10 #5ab977 +color3 #ddb566 +color11 #ddb566 +color4 #6a7b92 +color12 #6a7b92 +color5 #a3799d +color13 #a3799d +color6 #3f93a8 +color14 #3f93a8 +color7 #e6e8ee +color15 #ebedf2 +selection_foreground #1b1d22 diff --git a/.config/kitty/themes/NightLion_v1.conf b/.config/kitty/themes/NightLion_v1.conf new file mode 100644 index 0000000..1021c46 --- /dev/null +++ b/.config/kitty/themes/NightLion_v1.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #bbbbbb +cursor #bbbbbb +selection_background #b4d5ff +color0 #4c4c4c +color8 #545454 +color1 #bb0000 +color9 #ff5555 +color2 #5ede8f +color10 #55ff55 +color3 #f2f067 +color11 #ffff55 +color4 #266ad7 +color12 #5555ff +color5 #bb00bb +color13 #ff55ff +color6 #00d9df +color14 #55ffff +color7 #bbbbbb +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/NightLion_v2.conf b/.config/kitty/themes/NightLion_v2.conf new file mode 100644 index 0000000..aed7f8d --- /dev/null +++ b/.config/kitty/themes/NightLion_v2.conf @@ -0,0 +1,21 @@ +background #171717 +foreground #bbbbbb +cursor #bbbbbb +selection_background #b4d5ff +color0 #4c4c4c +color8 #545454 +color1 #bb0000 +color9 #ff5555 +color2 #03f622 +color10 #7df61c +color3 #f2f067 +color11 #ffff55 +color4 #63d0f0 +color12 #62cae7 +color5 #ce6fda +color13 #ff9af5 +color6 #00d9df +color14 #00ccd7 +color7 #bbbbbb +color15 #ffffff +selection_foreground #171717 diff --git a/.config/kitty/themes/Nova.conf b/.config/kitty/themes/Nova.conf new file mode 100644 index 0000000..c3f2da1 --- /dev/null +++ b/.config/kitty/themes/Nova.conf @@ -0,0 +1,21 @@ +background #3c4c54 +foreground #8798a3 +cursor #7fc1c9 +color0 #8799a4 +color8 #c4d3dc +color1 #efc08d +color9 #ef8358 +color2 #a6cb91 +color10 #a8ce93 +color3 #d7d690 +color11 #e5e77f +color4 #83afe4 +color12 #69c8ff +color5 #d460da +color13 #d18ec2 +color6 #7fc1b6 +color14 #00e59f +color7 #c4d3dc +color15 #e6eef3 +selection_foreground #3c4c54 +selection_background #7fc1ca diff --git a/.config/kitty/themes/Novel.conf b/.config/kitty/themes/Novel.conf new file mode 100644 index 0000000..03220e3 --- /dev/null +++ b/.config/kitty/themes/Novel.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #dfdbc3 +foreground #3b2322 +cursor #73635a +selection_background #a4a390 +color0 #000000 +color8 #7f7f7f +color1 #cc0000 +color9 #cc0000 +color2 #009600 +color10 #009600 +color3 #d06b00 +color11 #d06b00 +color4 #0000cc +color12 #0000cc +color5 #cc00cc +color13 #cc00cc +color6 #0087cc +color14 #0086cb +color7 #cccccc +color15 #ffffff +selection_foreground #dfdbc3 diff --git a/.config/kitty/themes/Obsidian.conf b/.config/kitty/themes/Obsidian.conf new file mode 100644 index 0000000..7265d44 --- /dev/null +++ b/.config/kitty/themes/Obsidian.conf @@ -0,0 +1,21 @@ +background #273032 +foreground #cccccc +cursor #c0cad0 +selection_background #3d4b4e +color0 #000000 +color8 #545454 +color1 #a50001 +color9 #ff0003 +color2 #00bb00 +color10 #92c763 +color3 #fecc22 +color11 #fef773 +color4 #399bda +color12 #a0d6ff +color5 #bb00bb +color13 #ff55ff +color6 #00bbbb +color14 #55ffff +color7 #bbbbbb +color15 #ffffff +selection_foreground #273032 diff --git a/.config/kitty/themes/Ocean.conf b/.config/kitty/themes/Ocean.conf new file mode 100644 index 0000000..ad6205a --- /dev/null +++ b/.config/kitty/themes/Ocean.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #214fbc +foreground #ffffff +cursor #7f7f7f +selection_background #216dff +color0 #000000 +color8 #666666 +color1 #990000 +color9 #e50000 +color2 #00a600 +color10 #00d900 +color3 #999900 +color11 #e5e500 +color4 #0000b2 +color12 #0000ff +color5 #b200b2 +color13 #e500e5 +color6 #00a6b2 +color14 #00e5e5 +color7 #bebebe +color15 #e5e5e5 +selection_foreground #214fbc diff --git a/.config/kitty/themes/OceanicMaterial.conf b/.config/kitty/themes/OceanicMaterial.conf new file mode 100644 index 0000000..9403518 --- /dev/null +++ b/.config/kitty/themes/OceanicMaterial.conf @@ -0,0 +1,21 @@ +background #1c262b +foreground #c1c8d6 +cursor #b2b8c3 +selection_background #6dc1b8 +color0 #000000 +color8 #767676 +color1 #ee2a29 +color9 #dc5b60 +color2 #3fa33f +color10 #70be71 +color3 #fee92e +color11 #fef063 +color4 #1d80ef +color12 #53a4f3 +color5 #8800a0 +color13 #a94dbb +color6 #16aec9 +color14 #42c6d9 +color7 #a4a4a4 +color15 #fffefe +selection_foreground #1c262b diff --git a/.config/kitty/themes/Ollie.conf b/.config/kitty/themes/Ollie.conf new file mode 100644 index 0000000..66eecf5 --- /dev/null +++ b/.config/kitty/themes/Ollie.conf @@ -0,0 +1,21 @@ +background #212024 +foreground #8a8dae +cursor #5b6da7 +selection_background #1e3965 +color0 #000000 +color8 #5a3625 +color1 #ab2e30 +color9 #ff3d48 +color2 #31ab60 +color10 #3bff99 +color3 #ab4200 +color11 #ff5e1e +color4 #2c56ab +color12 #4487ff +color5 #af8427 +color13 #ffc21c +color6 #1fa5ab +color14 #1efaff +color7 #8a8dab +color15 #5b6da7 +selection_foreground #212024 diff --git a/.config/kitty/themes/Parasio_Dark.conf b/.config/kitty/themes/Parasio_Dark.conf new file mode 100644 index 0000000..4cc1e8d --- /dev/null +++ b/.config/kitty/themes/Parasio_Dark.conf @@ -0,0 +1,21 @@ +background #2f1d2e +foreground #a39d9b +cursor #a39d9b +selection_background #4f414c +color0 #2f1d2e +color8 #776d70 +color1 #ef6154 +color9 #ef6154 +color2 #48b685 +color10 #48b685 +color3 #fec418 +color11 #fec418 +color4 #05b6ef +color12 #05b6ef +color5 #805ba3 +color13 #805ba3 +color6 #5bc4be +color14 #5bc4be +color7 #a39d9b +color15 #e6e9da +selection_foreground #2f1d2e diff --git a/.config/kitty/themes/PaulMillr.conf b/.config/kitty/themes/PaulMillr.conf new file mode 100644 index 0000000..72cc95c --- /dev/null +++ b/.config/kitty/themes/PaulMillr.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #f1f1f1 +cursor #4c4c4c +selection_background #414141 +color0 #2a2a2a +color8 #666666 +color1 #ff0000 +color9 #ff007f +color2 #78ff0e +color10 #66ff66 +color3 #e6be00 +color11 #f3d64d +color4 #396ad6 +color12 #7099ec +color5 #b348bd +color13 #da66e5 +color6 #66ccff +color14 #79def1 +color7 #bababa +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/PencilDark.conf b/.config/kitty/themes/PencilDark.conf new file mode 100644 index 0000000..3926f6c --- /dev/null +++ b/.config/kitty/themes/PencilDark.conf @@ -0,0 +1,21 @@ +background #202020 +foreground #f0f0f0 +cursor #20bafb +selection_background #b6d6fc +color0 #202020 +color8 #414141 +color1 #c30670 +color9 #fb0079 +color2 #10a778 +color10 #5ed6ae +color3 #a79c14 +color11 #f3e42f +color4 #008ec4 +color12 #20bafb +color5 #523b78 +color13 #6854de +color6 #20a4b9 +color14 #4fb8cc +color7 #d9d9d9 +color15 #f0f0f0 +selection_foreground #202020 diff --git a/.config/kitty/themes/PencilLight.conf b/.config/kitty/themes/PencilLight.conf new file mode 100644 index 0000000..4311c70 --- /dev/null +++ b/.config/kitty/themes/PencilLight.conf @@ -0,0 +1,21 @@ +background #f0f0f0 +foreground #414141 +cursor #20bafb +selection_background #b6d6fc +color0 #202020 +color8 #414141 +color1 #c30670 +color9 #fb0079 +color2 #10a778 +color10 #5ed6ae +color3 #a79c14 +color11 #f3e42f +color4 #008ec4 +color12 #20bafb +color5 #523b78 +color13 #6854de +color6 #20a4b9 +color14 #4fb8cc +color7 #d9d9d9 +color15 #f0f0f0 +selection_foreground #f0f0f0 diff --git a/.config/kitty/themes/Piatto_Light.conf b/.config/kitty/themes/Piatto_Light.conf new file mode 100644 index 0000000..401fe91 --- /dev/null +++ b/.config/kitty/themes/Piatto_Light.conf @@ -0,0 +1,21 @@ +background #ffffff +foreground #414141 +cursor #5e76c7 +selection_background #6f6a4e +color0 #414141 +color8 #3e3e3e +color1 #b23670 +color9 #da3365 +color2 #66781d +color10 #829428 +color3 #cc6e33 +color11 #cc6e33 +color4 #3b5ea7 +color12 #3b5ea7 +color5 #a353b2 +color13 #a353b2 +color6 #66781d +color14 #829428 +color7 #ffffff +color15 #f1f1f1 +selection_foreground #ffffff diff --git a/.config/kitty/themes/Pnevma.conf b/.config/kitty/themes/Pnevma.conf new file mode 100644 index 0000000..1dda097 --- /dev/null +++ b/.config/kitty/themes/Pnevma.conf @@ -0,0 +1,21 @@ +background #1c1c1c +foreground #d0d0d0 +cursor #e3c8ae +selection_background #4d4d4d +color0 #2f2e2d +color8 #4a4845 +color1 #a36666 +color9 #d78787 +color2 #90a57d +color10 #afbea2 +color3 #d7af87 +color11 #e4c9af +color4 #7fa5bd +color12 #a1bdce +color5 #c79ec4 +color13 #d7beda +color6 #8adbb4 +color14 #b1e7dd +color7 #d0d0d0 +color15 #efefef +selection_foreground #1c1c1c diff --git a/.config/kitty/themes/Pro.conf b/.config/kitty/themes/Pro.conf new file mode 100644 index 0000000..6ffc047 --- /dev/null +++ b/.config/kitty/themes/Pro.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #000000 +foreground #f2f2f2 +cursor #4d4d4d +selection_background #414141 +color0 #000000 +color8 #666666 +color1 #990000 +color9 #e50000 +color2 #00a600 +color10 #00d900 +color3 #999900 +color11 #e5e500 +color4 #1f08db +color12 #0000ff +color5 #b200b2 +color13 #e500e5 +color6 #00a6b2 +color14 #00e5e5 +color7 #bfbfbf +color15 #e5e5e5 +selection_foreground #000000 diff --git a/.config/kitty/themes/Red_Alert.conf b/.config/kitty/themes/Red_Alert.conf new file mode 100644 index 0000000..020429a --- /dev/null +++ b/.config/kitty/themes/Red_Alert.conf @@ -0,0 +1,21 @@ +background #762423 +foreground #ffffff +cursor #ffffff +selection_background #073642 +color0 #000000 +color8 #262626 +color1 #d52e4d +color9 #e02453 +color2 #71be6b +color10 #aff08b +color3 #beb86b +color11 #dfddb7 +color4 #479bed +color12 #65a9f0 +color5 #e878d6 +color13 #ddb7df +color6 #6bbeb8 +color14 #b7dfdd +color7 #d6d6d6 +color15 #ffffff +selection_foreground #762423 diff --git a/.config/kitty/themes/Red_Sands.conf b/.config/kitty/themes/Red_Sands.conf new file mode 100644 index 0000000..a491f3d --- /dev/null +++ b/.config/kitty/themes/Red_Sands.conf @@ -0,0 +1,23 @@ +# Theme ported from the Mac Terminal application. + +background #79241d +foreground #d6c8a7 +cursor #ffffff +selection_background #a4a390 +color0 #000000 +color8 #545454 +color1 #ff3e00 +color9 #ba0000 +color2 #00ba00 +color10 #00ba00 +color3 #e6af00 +color11 #e6af00 +color4 #0071ff +color12 #0071ae +color5 #ba00ba +color13 #ff54ff +color6 #00baba +color14 #54ffff +color7 #bababa +color15 #ffffff +selection_foreground #79241d diff --git a/.config/kitty/themes/Renault_Style.conf b/.config/kitty/themes/Renault_Style.conf new file mode 100644 index 0000000..856818d --- /dev/null +++ b/.config/kitty/themes/Renault_Style.conf @@ -0,0 +1,22 @@ +background #3a3a3a +foreground #e9cb7b +cursor #7f7f7f +selection_background #958553 + +color0 #000000 +color1 #990000 +color2 #00A600 +color3 #999900 +color4 #0000B2 +color5 #B200B2 +color6 #00A6B2 +color7 #BFBFBF +color8 #666666 +color9 #E50000 +color10 #00d800 +color11 #E5E500 +color12 #0000FF +color13 #E500E5 +color14 #00e5e5 +color15 #E5E5E5 +selection_foreground #3a3a3a diff --git a/.config/kitty/themes/Renault_Style_Light.conf b/.config/kitty/themes/Renault_Style_Light.conf new file mode 100644 index 0000000..e08cd6a --- /dev/null +++ b/.config/kitty/themes/Renault_Style_Light.conf @@ -0,0 +1,21 @@ +background #3a3a3a +foreground #e9cb7b +cursor #7f7f7f +selection_background #958553 +color0 #000000 +color8 #323232 +color1 #da4839 +color9 #ff7b6a +color2 #509f50 +color10 #83d082 +color3 #ffd249 +color11 #ffff7b +color4 #46657d +color12 #9fcef0 +color5 #cfcfff +color13 #ffffff +color6 #87c1f1 +color14 #a4d4f8 +color7 #ffffff +color15 #ffffff +selection_foreground #3a3a3a diff --git a/.config/kitty/themes/Rippedcasts.conf b/.config/kitty/themes/Rippedcasts.conf new file mode 100644 index 0000000..20e9872 --- /dev/null +++ b/.config/kitty/themes/Rippedcasts.conf @@ -0,0 +1,21 @@ +background #2b2b2b +foreground #ffffff +cursor #7f7f7f +selection_background #5a637e +color0 #000000 +color8 #666666 +color1 #ccae95 +color9 #edcbac +color2 #a7ff60 +color10 #bced68 +color3 #beba1f +color11 #e5e500 +color4 #74a4af +color12 #86bdc8 +color5 #ff73fd +color13 #e500e5 +color6 #5a637e +color14 #8b9bc4 +color7 #bebebe +color15 #e5e5e5 +selection_foreground #2b2b2b diff --git a/.config/kitty/themes/Royal.conf b/.config/kitty/themes/Royal.conf new file mode 100644 index 0000000..0ebd236 --- /dev/null +++ b/.config/kitty/themes/Royal.conf @@ -0,0 +1,21 @@ +background #100814 +foreground #504868 +cursor #514965 +selection_background #1e1d2a +color0 #241f2a +color8 #312d3c +color1 #90274b +color9 #d4346c +color2 #23801c +color10 #2cd845 +color3 #b49d27 +color11 #fde83a +color4 #6480af +color12 #8fb9f9 +color5 #664d96 +color13 #a479e2 +color6 #8aaabd +color14 #abd3eb +color7 #514965 +color15 #9d8bbd +selection_foreground #100814 diff --git a/.config/kitty/themes/SeaShells.conf b/.config/kitty/themes/SeaShells.conf new file mode 100644 index 0000000..60a2968 --- /dev/null +++ b/.config/kitty/themes/SeaShells.conf @@ -0,0 +1,21 @@ +background #08131a +foreground #deb88d +cursor #fba02f +selection_background #1e4862 +color0 #17384c +color8 #424b52 +color1 #d05023 +color9 #d38677 +color2 #027b9b +color10 #618c98 +color3 #fba02f +color11 #fdd29e +color4 #1d4850 +color12 #1abcdd +color5 #68d3f0 +color13 #bbe3ee +color6 #50a3b5 +color14 #86abb3 +color7 #deb88d +color15 #fee3cd +selection_foreground #08131a diff --git a/.config/kitty/themes/Seafoam_Pastel.conf b/.config/kitty/themes/Seafoam_Pastel.conf new file mode 100644 index 0000000..c3e95a7 --- /dev/null +++ b/.config/kitty/themes/Seafoam_Pastel.conf @@ -0,0 +1,21 @@ +background #243335 +foreground #d3e6d3 +cursor #576379 +selection_background #ffffff +color0 #747474 +color8 #8a8a8a +color1 #825d4c +color9 #cf9279 +color2 #718b62 +color10 #98d9aa +color3 #aca06d +color11 #fae69c +color4 #4c7b82 +color12 #79c3cf +color5 #8a7166 +color13 #d6b2a0 +color6 #719494 +color14 #acdfdf +color7 #dfdfdf +color15 #dfdfdf +selection_foreground #243335 diff --git a/.config/kitty/themes/Seti.conf b/.config/kitty/themes/Seti.conf new file mode 100644 index 0000000..69c4105 --- /dev/null +++ b/.config/kitty/themes/Seti.conf @@ -0,0 +1,21 @@ +background #111213 +foreground #cacecd +cursor #e2be21 +selection_background #303233 +color0 #323232 +color8 #323232 +color1 #c22832 +color9 #c22832 +color2 #8ec43d +color10 #8ec43d +color3 #e0c64f +color11 #e0c64f +color4 #43a5d5 +color12 #43a5d5 +color5 #8b57b5 +color13 #8b57b5 +color6 #8ec43d +color14 #8ec43d +color7 #eeeeee +color15 #ffffff +selection_foreground #111213 diff --git a/.config/kitty/themes/Shaman.conf b/.config/kitty/themes/Shaman.conf new file mode 100644 index 0000000..a316711 --- /dev/null +++ b/.config/kitty/themes/Shaman.conf @@ -0,0 +1,21 @@ +background #001014 +foreground #405555 +cursor #49fcd5 +selection_background #415554 +color0 #012026 +color8 #374350 +color1 #b12f2c +color9 #ff4242 +color2 #00a940 +color10 #2aea5e +color3 #5d8aa9 +color11 #8dd3fd +color4 #449985 +color12 #61d4b9 +color5 #00599c +color13 #1298ff +color6 #5c7e19 +color14 #98cf28 +color7 #405554 +color15 #58fad6 +selection_foreground #001014 diff --git a/.config/kitty/themes/Slate.conf b/.config/kitty/themes/Slate.conf new file mode 100644 index 0000000..650e4ab --- /dev/null +++ b/.config/kitty/themes/Slate.conf @@ -0,0 +1,21 @@ +background #212121 +foreground #34b0d2 +cursor #87d2c3 +selection_background #0f3754 +color0 #212121 +color8 #ffffff +color1 #e1a7bf +color9 #ffccd8 +color2 #80d778 +color10 #bdffa8 +color3 #c4c9bf +color11 #d0cbc9 +color4 #254a49 +color12 #79afd2 +color5 #a380d3 +color13 #c4a7d8 +color6 #14ab9c +color14 #8bdee0 +color7 #02c4e0 +color15 #e0e0e0 +selection_foreground #212121 diff --git a/.config/kitty/themes/Smyck.conf b/.config/kitty/themes/Smyck.conf new file mode 100644 index 0000000..3c97251 --- /dev/null +++ b/.config/kitty/themes/Smyck.conf @@ -0,0 +1,21 @@ +background #1b1b1b +foreground #f7f7f7 +cursor #bbbbbb +selection_background #207383 +color0 #000000 +color8 #7a7a7a +color1 #b74131 +color9 #d6837b +color2 #7da900 +color10 #c4f036 +color3 #c4a400 +color11 #fee14d +color4 #62a3c4 +color12 #8dcff0 +color5 #b98acc +color13 #f799ff +color6 #207383 +color14 #69d9cf +color7 #a0a0a0 +color15 #f7f7f7 +selection_foreground #1b1b1b diff --git a/.config/kitty/themes/SoftServer.conf b/.config/kitty/themes/SoftServer.conf new file mode 100644 index 0000000..e7eb5fe --- /dev/null +++ b/.config/kitty/themes/SoftServer.conf @@ -0,0 +1,21 @@ +background #242626 +foreground #99a3a2 +cursor #d1dfde +selection_background #7f8786 +color0 #000000 +color8 #666c6b +color1 #a16869 +color9 #dc5b5f +color2 #99a569 +color10 #bfde54 +color3 #a29069 +color11 #deb35f +color4 #6a8fa3 +color12 #62b1df +color5 #6971a3 +color13 #5f6ede +color6 #6ba48f +color14 #64e39c +color7 #99a3a2 +color15 #d1dfde +selection_foreground #242626 diff --git a/.config/kitty/themes/Solarized_Darcula.conf b/.config/kitty/themes/Solarized_Darcula.conf new file mode 100644 index 0000000..0a845d4 --- /dev/null +++ b/.config/kitty/themes/Solarized_Darcula.conf @@ -0,0 +1,21 @@ +background #3d3f41 +foreground #d2d8d9 +cursor #708183 +selection_background #214283 +color0 #25292a +color8 #25292a +color1 #f24840 +color9 #f24840 +color2 #629655 +color10 #629655 +color3 #b68800 +color11 #b68800 +color4 #2074c7 +color12 #2074c7 +color5 #797fd4 +color13 #797fd4 +color6 #15968d +color14 #15968d +color7 #d2d8d9 +color15 #d2d8d9 +selection_foreground #3d3f41 diff --git a/.config/kitty/themes/Solarized_Dark.conf b/.config/kitty/themes/Solarized_Dark.conf new file mode 100644 index 0000000..8419426 --- /dev/null +++ b/.config/kitty/themes/Solarized_Dark.conf @@ -0,0 +1,21 @@ +background #001e26 +foreground #708183 +cursor #708183 +selection_background #002731 +color0 #002731 +color8 #001e26 +color1 #d01b24 +color9 #bd3612 +color2 #728905 +color10 #465a61 +color3 #a57705 +color11 #52676f +color4 #2075c7 +color12 #708183 +color5 #c61b6e +color13 #5856b9 +color6 #259185 +color14 #81908f +color7 #e9e2cb +color15 #fcf4dc +selection_foreground #001e26 diff --git a/.config/kitty/themes/Solarized_Dark_-_Patched.conf b/.config/kitty/themes/Solarized_Dark_-_Patched.conf new file mode 100644 index 0000000..37c3597 --- /dev/null +++ b/.config/kitty/themes/Solarized_Dark_-_Patched.conf @@ -0,0 +1,21 @@ +background #001e26 +foreground #708183 +cursor #708183 +selection_background #002731 +color0 #002731 +color8 #465a61 +color1 #d01b24 +color9 #bd3612 +color2 #728905 +color10 #465a61 +color3 #a57705 +color11 #52676f +color4 #2075c7 +color12 #708183 +color5 #c61b6e +color13 #5856b9 +color6 #259185 +color14 #81908f +color7 #e9e2cb +color15 #fcf4dc +selection_foreground #001e26 diff --git a/.config/kitty/themes/Solarized_Dark_Higher_Contrast.conf b/.config/kitty/themes/Solarized_Dark_Higher_Contrast.conf new file mode 100644 index 0000000..8477ea1 --- /dev/null +++ b/.config/kitty/themes/Solarized_Dark_Higher_Contrast.conf @@ -0,0 +1,21 @@ +background #001e26 +foreground #9bc1c2 +cursor #f34a00 +selection_background #003747 +color0 #002731 +color8 #006388 +color1 #d01b24 +color9 #f4153b +color2 #6bbe6c +color10 #50ee84 +color3 #a57705 +color11 #b17e28 +color4 #2075c7 +color12 #178dc7 +color5 #c61b6e +color13 #e14d8e +color6 #259185 +color14 #00b29e +color7 #e9e2cb +color15 #fcf4dc +selection_foreground #001e26 diff --git a/.config/kitty/themes/Source_Code_X.conf b/.config/kitty/themes/Source_Code_X.conf new file mode 100644 index 0000000..d3aefa3 --- /dev/null +++ b/.config/kitty/themes/Source_Code_X.conf @@ -0,0 +1,21 @@ +foreground #000000 +background #1f1f24 +cursor #7F7F7F +color0 #4e596b +color8 #91a0b1 +color1 #fb695d +color7 #BFBFBF +color9 #fb695d +color2 #74b391 +color10 #aef37c +color3 #fc8e3e +color11 #fc8e3e +color4 #9586f4 +color12 #53a4fb +color5 #fb5ea3 +color13 #fb5ea3 +color6 #79c8b6 +color14 #83d2c0 +color15 #91a0b1 +selection_foreground #1f1f24 +selection_background #000000 diff --git a/.config/kitty/themes/SpaceGray.conf b/.config/kitty/themes/SpaceGray.conf new file mode 100644 index 0000000..ba9afeb --- /dev/null +++ b/.config/kitty/themes/SpaceGray.conf @@ -0,0 +1,21 @@ +background #20232c +foreground #b2b8c2 +cursor #b2b8c2 +selection_background #15171e +color0 #000000 +color8 #000000 +color1 #af4b57 +color9 #af4b57 +color2 #87b279 +color10 #87b279 +color3 #e5c078 +color11 #e5c078 +color4 #7c8fa3 +color12 #7c8fa3 +color5 #a37996 +color13 #a37996 +color6 #84a6a4 +color14 #84a6a4 +color7 #b2b8c2 +color15 #fffefe +selection_foreground #20232c diff --git a/.config/kitty/themes/SpaceGray_Eighties.conf b/.config/kitty/themes/SpaceGray_Eighties.conf new file mode 100644 index 0000000..8249a17 --- /dev/null +++ b/.config/kitty/themes/SpaceGray_Eighties.conf @@ -0,0 +1,21 @@ +background #212121 +foreground #bdb9ae +cursor #bbbbbb +selection_background #262e35 +color0 #15171c +color8 #545454 +color1 #ec5f67 +color9 #ff6973 +color2 #80a763 +color10 #93d393 +color3 #fdc253 +color11 #ffd156 +color4 #5485c0 +color12 #4d83d0 +color5 #bf83c0 +color13 #ff55ff +color6 #57c2c0 +color14 #83e8e4 +color7 #eeece7 +color15 #ffffff +selection_foreground #212121 diff --git a/.config/kitty/themes/SpaceGray_Eighties_Dull.conf b/.config/kitty/themes/SpaceGray_Eighties_Dull.conf new file mode 100644 index 0000000..eabf184 --- /dev/null +++ b/.config/kitty/themes/SpaceGray_Eighties_Dull.conf @@ -0,0 +1,21 @@ +background #212121 +foreground #c8c5bc +cursor #bbbbbb +selection_background #262e36 +color0 #15171c +color8 #545454 +color1 #b14956 +color9 #ec5f67 +color2 #91b377 +color10 #88e985 +color3 #c6725a +color11 #fdc253 +color4 #7b8fa4 +color12 #5485c0 +color5 #a5779e +color13 #bf83c0 +color6 #7fcccb +color14 #58c2c0 +color7 #b2b8c2 +color15 #ffffff +selection_foreground #212121 diff --git a/.config/kitty/themes/Spacedust.conf b/.config/kitty/themes/Spacedust.conf new file mode 100644 index 0000000..08b93c4 --- /dev/null +++ b/.config/kitty/themes/Spacedust.conf @@ -0,0 +1,21 @@ +background #0a1e24 +foreground #ecefc1 +cursor #708183 +selection_background #0a385c +color0 #6e5246 +color8 #674c31 +color1 #e35a00 +color9 #ff8a39 +color2 #5cab96 +color10 #adcab8 +color3 #e3cd7b +color11 #ffc777 +color4 #0e548b +color12 #67a0cd +color5 #e35a00 +color13 #ff8a39 +color6 #06afc7 +color14 #83a6b3 +color7 #f0f1ce +color15 #fefff0 +selection_foreground #0a1e24 diff --git a/.config/kitty/themes/Spiderman.conf b/.config/kitty/themes/Spiderman.conf new file mode 100644 index 0000000..a72bbca --- /dev/null +++ b/.config/kitty/themes/Spiderman.conf @@ -0,0 +1,21 @@ +background #1b1d1e +foreground #e2e2e2 +cursor #2b3fff +selection_background #070e4f +color0 #1b1d1e +color8 #505354 +color1 #e60712 +color9 #ff0325 +color2 #e22828 +color10 #ff3238 +color3 #e24655 +color11 #fe3935 +color4 #2b3fff +color12 #1d4fff +color5 #2435db +color13 #737bff +color6 #3255ff +color14 #6083ff +color7 #fffef6 +color15 #fefff9 +selection_foreground #1b1d1e diff --git a/.config/kitty/themes/Spring.conf b/.config/kitty/themes/Spring.conf new file mode 100644 index 0000000..4df6d1c --- /dev/null +++ b/.config/kitty/themes/Spring.conf @@ -0,0 +1,21 @@ +background #ffffff +foreground #4d4d4c +cursor #4d4d4c +selection_background #d6d6d6 +color0 #000000 +color8 #000000 +color1 #ff4c83 +color9 #ff0021 +color2 #1f8c3a +color10 #1fc231 +color3 #1fc95a +color11 #d4b706 +color4 #1cd2ee +color12 #15a9fd +color5 #8959a8 +color13 #8959a8 +color6 #3e999f +color14 #3e999f +color7 #fffefe +color15 #fffefe +selection_foreground #ffffff diff --git a/.config/kitty/themes/Square.conf b/.config/kitty/themes/Square.conf new file mode 100644 index 0000000..e5457a5 --- /dev/null +++ b/.config/kitty/themes/Square.conf @@ -0,0 +1,21 @@ +background #1a1a1a +foreground #acacab +cursor #fbfacc +selection_background #4d4d4d +color0 #050505 +color8 #141414 +color1 #e9897c +color9 #f99286 +color2 #b6377d +color10 #c3f786 +color3 #ecebbe +color11 #fcfbcc +color4 #a9cdeb +color12 #b6defb +color5 #75507b +color13 #ad7fa8 +color6 #c9caec +color14 #d7d9fc +color7 #f2f2f2 +color15 #e2e2e2 +selection_foreground #1a1a1a diff --git a/.config/kitty/themes/Sundried.conf b/.config/kitty/themes/Sundried.conf new file mode 100644 index 0000000..d5ff99d --- /dev/null +++ b/.config/kitty/themes/Sundried.conf @@ -0,0 +1,21 @@ +background #1a1818 +foreground #c8c8c8 +cursor #fffefe +selection_background #302b2a +color0 #302b2a +color8 #4d4d47 +color1 #a6463d +color9 #aa000c +color2 #577644 +color10 #128c20 +color3 #9c5f2a +color11 #fc6a20 +color4 #485a98 +color12 #7898f7 +color5 #854551 +color13 #fc89a0 +color6 #9c814e +color14 #fad384 +color7 #c8c8c8 +color15 #fffefe +selection_foreground #1a1818 diff --git a/.config/kitty/themes/Symfonic.conf b/.config/kitty/themes/Symfonic.conf new file mode 100644 index 0000000..9b5e0d3 --- /dev/null +++ b/.config/kitty/themes/Symfonic.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #ffffff +cursor #dc322f +selection_background #073642 +color0 #000000 +color8 #1b1d21 +color1 #dc322f +color9 #dc322f +color2 #56db3a +color10 #56db3a +color3 #ff8400 +color11 #ff8400 +color4 #0084d4 +color12 #0084d4 +color5 #b729d9 +color13 #b729d9 +color6 #ccccff +color14 #ccccff +color7 #ffffff +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/Tango_Dark.conf b/.config/kitty/themes/Tango_Dark.conf new file mode 100644 index 0000000..6a4673a --- /dev/null +++ b/.config/kitty/themes/Tango_Dark.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #ffffff +cursor #ffffff +selection_background #b4d5ff +color0 #000000 +color8 #545753 +color1 #cc0000 +color9 #ef2828 +color2 #4e9a05 +color10 #8ae234 +color3 #c4a000 +color11 #fce94e +color4 #3464a4 +color12 #719ecf +color5 #74507a +color13 #ad7ea7 +color6 #05989a +color14 #34e2e2 +color7 #d3d7cf +color15 #ededec +selection_foreground #000000 diff --git a/.config/kitty/themes/Tango_Light.conf b/.config/kitty/themes/Tango_Light.conf new file mode 100644 index 0000000..07f82bf --- /dev/null +++ b/.config/kitty/themes/Tango_Light.conf @@ -0,0 +1,21 @@ +background #ffffff +foreground #000000 +cursor #000000 +selection_background #b4d5ff +color0 #000000 +color8 #545753 +color1 #cc0000 +color9 #ef2828 +color2 #4e9a05 +color10 #8ae234 +color3 #c4a000 +color11 #fce94e +color4 #3464a4 +color12 #719ecf +color5 #74507a +color13 #ad7ea7 +color6 #05989a +color14 #34e2e2 +color7 #d3d7cf +color15 #ededec +selection_foreground #ffffff diff --git a/.config/kitty/themes/Thayer_Bright.conf b/.config/kitty/themes/Thayer_Bright.conf new file mode 100644 index 0000000..b74bc60 --- /dev/null +++ b/.config/kitty/themes/Thayer_Bright.conf @@ -0,0 +1,21 @@ +background #1b1d1e +foreground #f8f8f8 +cursor #fc971e +selection_background #4d4d4d +color0 #1b1d1e +color8 #505354 +color1 #f92672 +color9 #ff5995 +color2 #4df740 +color10 #b6e354 +color3 #f3fd21 +color11 #feed6c +color4 #2656d6 +color12 #3f78ff +color5 #8c54fe +color13 #9e6ffe +color6 #37c8b4 +color14 #23ced4 +color7 #ccccc6 +color15 #f8f8f2 +selection_foreground #1b1d1e diff --git a/.config/kitty/themes/The_Hulk.conf b/.config/kitty/themes/The_Hulk.conf new file mode 100644 index 0000000..81bd962 --- /dev/null +++ b/.config/kitty/themes/The_Hulk.conf @@ -0,0 +1,21 @@ +background #1b1d1e +foreground #b4b4b4 +cursor #15b61a +selection_background #4d4f4c +color0 #1b1d1e +color8 #505354 +color1 #259d1a +color9 #8dff2a +color2 #13ce2f +color10 #48ff76 +color3 #62e456 +color11 #3afe15 +color4 #2424f4 +color12 #4f6a95 +color5 #641e73 +color13 #72579d +color6 #378ca9 +color14 #3f85a5 +color7 #d8d8d0 +color15 #e5e5e0 +selection_foreground #1b1d1e diff --git a/.config/kitty/themes/Tomorrow.conf b/.config/kitty/themes/Tomorrow.conf new file mode 100644 index 0000000..23a8dfc --- /dev/null +++ b/.config/kitty/themes/Tomorrow.conf @@ -0,0 +1,21 @@ +background #ffffff +foreground #4c4c4c +cursor #4c4c4c +selection_background #d6d6d6 +color0 #000000 +color8 #000000 +color1 #c82828 +color9 #c82828 +color2 #708b00 +color10 #708b00 +color3 #e9b600 +color11 #e9b600 +color4 #4170ae +color12 #4170ae +color5 #8958a7 +color13 #8958a7 +color6 #3d999f +color14 #3d999f +color7 #fffefe +color15 #fffefe +selection_foreground #ffffff diff --git a/.config/kitty/themes/Tomorrow_Night.conf b/.config/kitty/themes/Tomorrow_Night.conf new file mode 100644 index 0000000..0bf3cf7 --- /dev/null +++ b/.config/kitty/themes/Tomorrow_Night.conf @@ -0,0 +1,21 @@ +background #1d1f21 +foreground #c4c8c5 +cursor #c4c8c5 +selection_background #363a41 +color0 #000000 +color8 #000000 +color1 #cc6666 +color9 #cc6666 +color2 #b5bd68 +color10 #b5bd68 +color3 #f0c574 +color11 #f0c574 +color4 #80a1bd +color12 #80a1bd +color5 #b294ba +color13 #b294ba +color6 #8abdb6 +color14 #8abdb6 +color7 #fffefe +color15 #fffefe +selection_foreground #1d1f21 diff --git a/.config/kitty/themes/Tomorrow_Night_Blue.conf b/.config/kitty/themes/Tomorrow_Night_Blue.conf new file mode 100644 index 0000000..b32cbfd --- /dev/null +++ b/.config/kitty/themes/Tomorrow_Night_Blue.conf @@ -0,0 +1,21 @@ +background #002450 +foreground #fffefe +cursor #fffefe +selection_background #003e8e +color0 #000000 +color8 #000000 +color1 #ff9ca3 +color9 #ff9ca3 +color2 #d0f0a8 +color10 #d0f0a8 +color3 #ffedac +color11 #ffedac +color4 #badaff +color12 #badaff +color5 #ebbaff +color13 #ebbaff +color6 #99ffff +color14 #99ffff +color7 #fffefe +color15 #fffefe +selection_foreground #002450 diff --git a/.config/kitty/themes/Tomorrow_Night_Bright.conf b/.config/kitty/themes/Tomorrow_Night_Bright.conf new file mode 100644 index 0000000..346f3dc --- /dev/null +++ b/.config/kitty/themes/Tomorrow_Night_Bright.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #e9e9e9 +cursor #e9e9e9 +selection_background #424242 +color0 #000000 +color8 #000000 +color1 #d44d53 +color9 #d44d53 +color2 #b9c949 +color10 #b9c949 +color3 #e6c446 +color11 #e6c446 +color4 #79a6da +color12 #79a6da +color5 #c396d7 +color13 #c396d7 +color6 #70c0b1 +color14 #70c0b1 +color7 #fffefe +color15 #fffefe +selection_foreground #000000 diff --git a/.config/kitty/themes/ToyChest.conf b/.config/kitty/themes/ToyChest.conf new file mode 100644 index 0000000..040cb8d --- /dev/null +++ b/.config/kitty/themes/ToyChest.conf @@ -0,0 +1,21 @@ +background #23364a +foreground #30cf7b +cursor #d4d4d4 +selection_background #5f207a +color0 #2c3f57 +color8 #326889 +color1 #be2d26 +color9 #dd5943 +color2 #199171 +color10 #30cf7b +color3 #da8e26 +color11 #e7d74b +color4 #325d96 +color12 #33a5d9 +color5 #8a5ddb +color13 #ad6bdc +color6 #35a08f +color14 #41c3ad +color7 #23d082 +color15 #d4d4d4 +selection_foreground #23364a diff --git a/.config/kitty/themes/Treehouse.conf b/.config/kitty/themes/Treehouse.conf new file mode 100644 index 0000000..940751e --- /dev/null +++ b/.config/kitty/themes/Treehouse.conf @@ -0,0 +1,21 @@ +background #191919 +foreground #776b53 +cursor #fac814 +selection_background #776b53 +color0 #321200 +color8 #423625 +color1 #b1270e +color9 #ed5c20 +color2 #44a900 +color10 #55f237 +color3 #a9810b +color11 #f1b731 +color4 #578499 +color12 #85cfec +color5 #96363c +color13 #e04b5a +color6 #b2591d +color14 #f07c14 +color7 #776b53 +color15 #ffc800 +selection_foreground #191919 diff --git a/.config/kitty/themes/Twilight.conf b/.config/kitty/themes/Twilight.conf new file mode 100644 index 0000000..452a4d2 --- /dev/null +++ b/.config/kitty/themes/Twilight.conf @@ -0,0 +1,21 @@ +background #141414 +foreground #feffd3 +cursor #ffffff +selection_background #303030 +color0 #141414 +color8 #262626 +color1 #c06c43 +color9 #dd7c4c +color2 #afb979 +color10 #cbd88c +color3 #c2a86c +color11 #e1c47d +color4 #444649 +color12 #5a5d61 +color5 #b4be7b +color13 #d0db8e +color6 #778284 +color14 #8a989a +color7 #feffd3 +color15 #feffd3 +selection_foreground #141414 diff --git a/.config/kitty/themes/Ubuntu.conf b/.config/kitty/themes/Ubuntu.conf new file mode 100644 index 0000000..96e9d09 --- /dev/null +++ b/.config/kitty/themes/Ubuntu.conf @@ -0,0 +1,21 @@ +background #300a24 +foreground #eeeeec +cursor #bbbbbb +selection_background #b4d5ff +color0 #2e3436 +color8 #555753 +color1 #cc0000 +color9 #ef2929 +color2 #4e9a06 +color10 #8ae234 +color3 #c4a000 +color11 #fce94f +color4 #3465a4 +color12 #729fcf +color5 #75507b +color13 #ad7fa8 +color6 #06989a +color14 #34e2e2 +color7 #d3d7cf +color15 #eeeeec +selection_foreground #300a24 diff --git a/.config/kitty/themes/Urple.conf b/.config/kitty/themes/Urple.conf new file mode 100644 index 0000000..a29dcad --- /dev/null +++ b/.config/kitty/themes/Urple.conf @@ -0,0 +1,21 @@ +background #1b1b23 +foreground #86799a +cursor #a062ea +selection_background #a062ea +color0 #000000 +color8 #5c3125 +color1 #af425b +color9 #ff6387 +color2 #37a315 +color10 #28e51f +color3 #ac5b41 +color11 #f08061 +color4 #554d9a +color12 #8579ed +color5 #6c3ba1 +color13 #a05dee +color6 #808080 +color14 #eaeaea +color7 #87799c +color15 #bfa3ff +selection_foreground #1b1b23 diff --git a/.config/kitty/themes/Vaughn.conf b/.config/kitty/themes/Vaughn.conf new file mode 100644 index 0000000..26d1885 --- /dev/null +++ b/.config/kitty/themes/Vaughn.conf @@ -0,0 +1,21 @@ +background #25234e +foreground #dcdccc +cursor #ff5555 +selection_background #b5d5ff +color0 #24234f +color8 #709080 +color1 #705050 +color9 #dca3a3 +color2 #60b48a +color10 #60b48a +color3 #dfaf8f +color11 #f0dfaf +color4 #5454ff +color12 #5454ff +color5 #f08cc3 +color13 #ec93d3 +color6 #8cd0d3 +color14 #93e0e3 +color7 #709080 +color15 #ffffff +selection_foreground #25234e diff --git a/.config/kitty/themes/VibrantInk.conf b/.config/kitty/themes/VibrantInk.conf new file mode 100644 index 0000000..5fbd281 --- /dev/null +++ b/.config/kitty/themes/VibrantInk.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #ffffff +cursor #ffffff +selection_background #b4d5ff +color0 #868686 +color8 #545454 +color1 #ff6600 +color9 #ff0000 +color2 #ccff04 +color10 #00ff00 +color3 #ffcc00 +color11 #ffff00 +color4 #44b3cc +color12 #0000ff +color5 #9933cc +color13 #ff00ff +color6 #44b3cc +color14 #00ffff +color7 #f4f4f4 +color15 #e5e5e5 +selection_foreground #000000 diff --git a/.config/kitty/themes/WarmNeon.conf b/.config/kitty/themes/WarmNeon.conf new file mode 100644 index 0000000..3256f5d --- /dev/null +++ b/.config/kitty/themes/WarmNeon.conf @@ -0,0 +1,21 @@ +background #3f3f3f +foreground #afdab6 +cursor #2fff24 +selection_background #b0ad21 +color0 #000000 +color8 #fdfcfc +color1 #e24345 +color9 #e86f71 +color2 #38b139 +color10 #9bc08f +color3 #dae145 +color11 #ddd979 +color4 #4260c5 +color12 #7a90d5 +color5 #f81ffb +color13 #f674b9 +color6 #29bad3 +color14 #5ed1e4 +color7 #d0b8a3 +color15 #d8c8bb +selection_foreground #3f3f3f diff --git a/.config/kitty/themes/Wez.conf b/.config/kitty/themes/Wez.conf new file mode 100644 index 0000000..11706ab --- /dev/null +++ b/.config/kitty/themes/Wez.conf @@ -0,0 +1,21 @@ +background #000000 +foreground #b3b3b3 +cursor #52ad70 +selection_background #4c52f8 +color0 #000000 +color8 #555555 +color1 #cc5555 +color9 #ff5555 +color2 #55cc55 +color10 #55ff55 +color3 #cdcd55 +color11 #ffff55 +color4 #5455cb +color12 #5555ff +color5 #cc55cc +color13 #ff55ff +color6 #7acaca +color14 #55ffff +color7 #cccccc +color15 #ffffff +selection_foreground #000000 diff --git a/.config/kitty/themes/WildCherry.conf b/.config/kitty/themes/WildCherry.conf new file mode 100644 index 0000000..a4bfa47 --- /dev/null +++ b/.config/kitty/themes/WildCherry.conf @@ -0,0 +1,21 @@ +background #1f1626 +foreground #d9faff +cursor #dd00ff +selection_background #002731 +color0 #000506 +color8 #009cc9 +color1 #d94085 +color9 #da6bab +color2 #2ab250 +color10 #f4dba5 +color3 #ffd06e +color11 #eac066 +color4 #873bdb +color12 #2f8bb9 +color5 #ececec +color13 #ae636b +color6 #c1b8b6 +color14 #ff919d +color7 #fff8dd +color15 #e4838d +selection_foreground #1f1626 diff --git a/.config/kitty/themes/Wryan.conf b/.config/kitty/themes/Wryan.conf new file mode 100644 index 0000000..73d758d --- /dev/null +++ b/.config/kitty/themes/Wryan.conf @@ -0,0 +1,21 @@ +background #101010 +foreground #999993 +cursor #9d9eca +selection_background #4d4d4d +color0 #333333 +color8 #3d3d3d +color1 #8c4665 +color9 #bf4d80 +color2 #287373 +color10 #53a6a6 +color3 #7c7c99 +color11 #9e9ecb +color4 #395573 +color12 #477ab3 +color5 #5e468c +color13 #7e62b3 +color6 #31658c +color14 #6096bf +color7 #899ca1 +color15 #c0c0c0 +selection_foreground #101010 diff --git a/.config/kitty/themes/Zenburn.conf b/.config/kitty/themes/Zenburn.conf new file mode 100644 index 0000000..032b99b --- /dev/null +++ b/.config/kitty/themes/Zenburn.conf @@ -0,0 +1,25 @@ +# Zenburn by jnurmine, https://github.com/jnurmine/Zenburn +# This work is licensed under the terms of the GNU GPL license. +# For a copy, see http://www.gnu.org/licenses/gpl.html. + +background #3f3f3f +foreground #dcdccc +cursor #73635a +selection_background #21322f +color0 #4d4d4d +color8 #709080 +color1 #705050 +color9 #dca3a3 +color2 #60b48a +color10 #c3bf9f +color3 #f0deae +color11 #dfcf9f +color4 #506070 +color12 #94bff3 +color5 #dc8cc3 +color13 #ec93d3 +color6 #8cd0d3 +color14 #93e0e3 +color7 #dcdccc +color15 #ffffff +selection_foreground #3f3f3f diff --git a/.config/kitty/themes/ayu.conf b/.config/kitty/themes/ayu.conf new file mode 100644 index 0000000..8030263 --- /dev/null +++ b/.config/kitty/themes/ayu.conf @@ -0,0 +1,21 @@ +background #0e1419 +foreground #e5e1cf +cursor #f19618 +selection_background #243340 +color0 #000000 +color8 #323232 +color1 #ff3333 +color9 #ff6565 +color2 #b8cc52 +color10 #e9fe83 +color3 #e6c446 +color11 #fff778 +color4 #36a3d9 +color12 #68d4ff +color5 #f07078 +color13 #ffa3aa +color6 #95e5cb +color14 #c7fffc +color7 #ffffff +color15 #ffffff +selection_foreground #0e1419 diff --git a/.config/kitty/themes/ayu_light.conf b/.config/kitty/themes/ayu_light.conf new file mode 100644 index 0000000..35c532c --- /dev/null +++ b/.config/kitty/themes/ayu_light.conf @@ -0,0 +1,21 @@ +background #fafafa +foreground #5b6673 +cursor #ff6900 +selection_background #f0ede4 +color0 #000000 +color8 #323232 +color1 #ff3333 +color9 #ff6565 +color2 #86b200 +color10 #b8e532 +color3 #f19618 +color11 #ffc849 +color4 #41a6d9 +color12 #73d7ff +color5 #f07078 +color13 #ffa3aa +color6 #4cbe99 +color14 #7ff0cb +color7 #ffffff +color15 #ffffff +selection_foreground #fafafa diff --git a/.config/kitty/themes/gruvbox_light.conf b/.config/kitty/themes/gruvbox_light.conf new file mode 100644 index 0000000..6d8b89b --- /dev/null +++ b/.config/kitty/themes/gruvbox_light.conf @@ -0,0 +1,49 @@ +# gruvbox light by morhetz, https://github.com/morhetz/gruvbox +# This work is licensed under the terms of the MIT license. +# For a copy, see https://opensource.org/licenses/MIT. + +background #fbf1c7 +foreground #3c3836 + +cursor #928374 + +selection_foreground #3c3836 +selection_background #928374 + +color0 #fbf1c7 +color8 #282828 + +# red +color1 #cc241d +# light red +color9 #9d0006 + +# green +color2 #98971a +# light green +color10 #79740e + +# yellow +color3 #d79921 +# light yellow +color11 #b57614 + +# blue +color4 #458588 +# light blue +color12 #076678 + +# magenta +color5 #b16286 +# light magenta +color13 #8f3f71 + +# cyan +color6 #689d6a +# lighy cyan +color14 #427b58 + +# light gray +color7 #7c6f64 +# dark gray +color15 #928374 diff --git a/.config/kitty/themes/idleToes.conf b/.config/kitty/themes/idleToes.conf new file mode 100644 index 0000000..941d4b2 --- /dev/null +++ b/.config/kitty/themes/idleToes.conf @@ -0,0 +1,21 @@ +background #323232 +foreground #ffffff +cursor #d6d6d6 +selection_background #5b5b5b +color0 #323232 +color8 #535353 +color1 #d25252 +color9 #f07070 +color2 #7fe173 +color10 #9dff90 +color3 #ffc66d +color11 #ffe48b +color4 #4098ff +color12 #5eb7f7 +color5 #f57fff +color13 #ff9dff +color6 #bed6ff +color14 #dcf4ff +color7 #eeeeec +color15 #ffffff +selection_foreground #323232 diff --git a/.config/kitty/themes/preferred/Afterglow.conf b/.config/kitty/themes/preferred/Afterglow.conf new file mode 100644 index 0000000..2df3efd --- /dev/null +++ b/.config/kitty/themes/preferred/Afterglow.conf @@ -0,0 +1,21 @@ +background #202020 +foreground #d0d0d0 +cursor #d0d0d0 +selection_background #303030 +color0 #151515 +color8 #505050 +color1 #ac4142 +color9 #ac4142 +color2 #7e8d50 +color10 #7e8d50 +color3 #e5b566 +color11 #e5b566 +color4 #6c99ba +color12 #6c99ba +color5 #9e4e85 +color13 #9e4e85 +color6 #7dd5cf +color14 #7dd5cf +color7 #d0d0d0 +color15 #f5f5f5 +selection_foreground #202020 diff --git a/.config/kitty/themes/preferred/Atom.conf b/.config/kitty/themes/preferred/Atom.conf new file mode 100644 index 0000000..091c683 --- /dev/null +++ b/.config/kitty/themes/preferred/Atom.conf @@ -0,0 +1,21 @@ +background #161718 +foreground #c4c8c5 +cursor #d0d0d0 +selection_background #444444 +color0 #000000 +color8 #000000 +color1 #fc5ef0 +color9 #fc5ef0 +color2 #86c38a +color10 #94f936 +color3 #ffd6b1 +color11 #f5ffa7 +color4 #85befd +color12 #95cbfe +color5 #b9b5fc +color13 #b9b5fc +color6 #85befd +color14 #85befd +color7 #dfdfdf +color15 #dfdfdf +selection_foreground #161718 diff --git a/.config/kitty/themes/preferred/CLRS.conf b/.config/kitty/themes/preferred/CLRS.conf new file mode 100644 index 0000000..ddcb324 --- /dev/null +++ b/.config/kitty/themes/preferred/CLRS.conf @@ -0,0 +1,21 @@ +background #ffffff +foreground #262626 +cursor #6fd2fc +selection_background #6fd2fc +color0 #000000 +color8 #545753 +color1 #f72729 +color9 #fb0416 +color2 #32895c +color10 #2cc631 +color3 #f96f1c +color11 #fcd627 +color4 #125ccf +color12 #156ffe +color5 #9f00bc +color13 #e800b0 +color6 #32c2c0 +color14 #39d5ce +color7 #b2b2b2 +color15 #ededec +selection_foreground #ffffff diff --git a/.config/kitty/themes/preferred/Darkside.conf b/.config/kitty/themes/preferred/Darkside.conf new file mode 100644 index 0000000..10238d1 --- /dev/null +++ b/.config/kitty/themes/preferred/Darkside.conf @@ -0,0 +1,21 @@ +background #212324 +foreground #b9b9b9 +cursor #bbbbbb +selection_background #2f3333 +color0 #000000 +color8 #000000 +color1 #e8331c +color9 #df5a4f +color2 #68c156 +color10 #76b768 +color3 #f1d32b +color11 #eed64a +color4 #1c98e8 +color12 #387bd2 +color5 #8e69c8 +color13 #957bbd +color6 #1c98e8 +color14 #3d96e2 +color7 #b9b9b9 +color15 #b9b9b9 +selection_foreground #212324 diff --git a/.config/kitty/themes/preferred/Flatland.conf b/.config/kitty/themes/preferred/Flatland.conf new file mode 100644 index 0000000..637b72d --- /dev/null +++ b/.config/kitty/themes/preferred/Flatland.conf @@ -0,0 +1,21 @@ +background #1c1e20 +foreground #b8daee +cursor #708183 +selection_background #2a2a24 +color0 #1c1d19 +color8 #1c1d19 +color1 #f18238 +color9 #d12a24 +color2 #9ed264 +color10 #a7d32c +color3 #f3ef6d +color11 #ff8948 +color4 #4f96be +color12 #61b8d0 +color5 #695abb +color13 #695abb +color6 #d53864 +color14 #d53864 +color7 #fefffe +color15 #fefffe +selection_foreground #1c1e20 diff --git a/.config/kitty/themes/preferred/Monokai_Classic.conf b/.config/kitty/themes/preferred/Monokai_Classic.conf new file mode 100644 index 0000000..9c74f40 --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Classic.conf @@ -0,0 +1,47 @@ +background #3b3c35 +foreground #fdfff1 + +cursor #fdfff1 +cursor_text_color #000000 +selection_foreground #3b3c35 +selection_background #fdfff1 + +# dull black +color0 #3b3c35 +# light black +color8 #6e7066 + +# dull red +color1 #f82570 +# light red +color9 #f82570 + +# dull green +color2 #a6e12d +# light green +color10 #a6e12d + +# yellow +color3 #e4db73 +# light yellow +color11 #e4db73 + +# blue +color4 #fc961f +# light blue +color12 #fc961f + +# magenta +color5 #ae81ff +# light magenta +color13 #ae81ff + +# cyan +color6 #66d9ee +# light cyan +color14 #66d9ee + +# dull white +color7 #fdfff1 +# bright white +color15 #fdfff1 diff --git a/.config/kitty/themes/preferred/Monokai_Pro.conf b/.config/kitty/themes/preferred/Monokai_Pro.conf new file mode 100644 index 0000000..f5a2e8c --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Pro.conf @@ -0,0 +1,47 @@ +background #403e41 +foreground #fcfcfa + +cursor #fcfcfa +cursor_text_color #000000 +selection_foreground #403e41 +selection_background #fcfcfa + +# dull black +color0 #403e41 +# light black +color8 #727072 + +# dull red +color1 #ff6188 +# light red +color9 #ff6188 + +# dull green +color2 #a9dc76 +# light green +color10 #a9dc76 + +# yellow +color3 #ffd866 +# light yellow +color11 #ffd866 + +# blue +color4 #fc9867 +# light blue +color12 #fc9867 + +# magenta +color5 #ab9df2 +# light magenta +color13 #ab9df2 + +# cyan +color6 #78dce8 +# light cyan +color14 #78dce8 + +# dull white +color7 #fcfcfa +# bright white +color15 #fcfcfa diff --git a/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Machine).conf b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Machine).conf new file mode 100644 index 0000000..b46e1d3 --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Machine).conf @@ -0,0 +1,47 @@ +background #3a4449 +foreground #f2fffc + +cursor #f2fffc +cursor_text_color #000000 +selection_foreground #3a4449 +selection_background #f2fffc + +# dull black +color0 #3a4449 +# light black +color8 #6b7678 + +# dull red +color1 #ff6d7e +# light red +color9 #ff6d7e + +# dull green +color2 #a2e57b +# light green +color10 #a2e57b + +# yellow +color3 #ffed72 +# light yellow +color11 #ffed72 + +# blue +color4 #ffb270 +# light blue +color12 #ffb270 + +# magenta +color5 #baa0f8 +# light magenta +color13 #baa0f8 + +# cyan +color6 #7cd5f1 +# light cyan +color14 #7cd5f1 + +# dull white +color7 #f2fffc +# bright white +color15 #f2fffc diff --git a/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Octagon).conf b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Octagon).conf new file mode 100644 index 0000000..3aee34a --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Octagon).conf @@ -0,0 +1,47 @@ +background #3a3d4b +foreground #eaf2f1 + +cursor #eaf2f1 +cursor_text_color #000000 +selection_foreground #3a3d4b +selection_background #eaf2f1 + +# dull black +color0 #3a3d4b +# light black +color8 #696d77 + +# dull red +color1 #ff657a +# light red +color9 #ff657a + +# dull green +color2 #bad761 +# light green +color10 #bad761 + +# yellow +color3 #ffd76d +# light yellow +color11 #ffd76d + +# blue +color4 #ff9b5e +# light blue +color12 #ff9b5e + +# magenta +color5 #c39ac9 +# light magenta +color13 #c39ac9 + +# cyan +color6 #9cd1bb +# light cyan +color14 #9cd1bb + +# dull white +color7 #eaf2f1 +# bright white +color15 #eaf2f1 diff --git a/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Ristretto).conf b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Ristretto).conf new file mode 100644 index 0000000..599b0e1 --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Ristretto).conf @@ -0,0 +1,47 @@ +background #403838 +foreground #fff1f3 + +cursor #fff1f3 +cursor_text_color #000000 +selection_foreground #403838 +selection_background #fff1f3 + +# dull black +color0 #403838 +# light black +color8 #72696a + +# dull red +color1 #fd6883 +# light red +color9 #fd6883 + +# dull green +color2 #adda78 +# light green +color10 #adda78 + +# yellow +color3 #f9cc6c +# light yellow +color11 #f9cc6c + +# blue +color4 #f38d70 +# light blue +color12 #f38d70 + +# magenta +color5 #a8a9eb +# light magenta +color13 #a8a9eb + +# cyan +color6 #85dacc +# light cyan +color14 #85dacc + +# dull white +color7 #fff1f3 +# bright white +color15 #fff1f3 diff --git a/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Spectrum).conf b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Spectrum).conf new file mode 100644 index 0000000..5617a6d --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Pro_(Filter_Spectrum).conf @@ -0,0 +1,47 @@ +background #363537 +foreground #f7f1ff + +cursor #f7f1ff +cursor_text_color #000000 +selection_foreground #363537 +selection_background #f7f1ff + +# dull black +color0 #363537 +# light black +color8 #69676c + +# dull red +color1 #fc618d +# light red +color9 #fc618d + +# dull green +color2 #7bd88f +# light green +color10 #7bd88f + +# yellow +color3 #fce566 +# light yellow +color11 #fce566 + +# blue +color4 #fd9353 +# light blue +color12 #fd9353 + +# magenta +color5 #948ae3 +# light magenta +color13 #948ae3 + +# cyan +color6 #5ad4e6 +# light cyan +color14 #5ad4e6 + +# dull white +color7 #f7f1ff +# bright white +color15 #f7f1ff diff --git a/.config/kitty/themes/preferred/Monokai_Soda.conf b/.config/kitty/themes/preferred/Monokai_Soda.conf new file mode 100644 index 0000000..eb7a24d --- /dev/null +++ b/.config/kitty/themes/preferred/Monokai_Soda.conf @@ -0,0 +1,21 @@ +background #191919 +foreground #c4c4b5 +cursor #f6f6ec +selection_background #343434 +color0 #191919 +color8 #615e4b +color1 #f3005f +color9 #f3005f +color2 #97e023 +color10 #97e023 +color3 #fa8419 +color11 #dfd561 +color4 #9c64fe +color12 #9c64fe +color5 #f3005f +color13 #f3005f +color6 #57d1ea +color14 #57d1ea +color7 #c4c4b5 +color15 #f6f6ee +selection_foreground #191919 diff --git a/.config/kitty/themes/preferred/OneDark.conf b/.config/kitty/themes/preferred/OneDark.conf new file mode 100644 index 0000000..ad6cb4e --- /dev/null +++ b/.config/kitty/themes/preferred/OneDark.conf @@ -0,0 +1,25 @@ +# One Dark by Giuseppe Cesarano, https://github.com/GiuseppeCesarano +# This work is licensed under the terms of the GPL-2.0 license. +# For a copy, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html. + +foreground #979eab +background #282c34 +cursor #cccccc +color0 #282c34 +color1 #e06c75 +color2 #98c379 +color3 #e5c07b +color4 #61afef +color5 #be5046 +color6 #56b6c2 +color7 #979eab +color8 #393e48 +color9 #d19a66 +color10 #56b6c2 +color11 #e5c07b +color12 #61afef +color13 #be5046 +color14 #56b6c2 +color15 #abb2bf +selection_foreground #282c34 +selection_background #979eab diff --git a/.config/kitty/themes/preferred/Relaxed_Afterglow.conf b/.config/kitty/themes/preferred/Relaxed_Afterglow.conf new file mode 100644 index 0000000..5988777 --- /dev/null +++ b/.config/kitty/themes/preferred/Relaxed_Afterglow.conf @@ -0,0 +1,25 @@ +# Relaxed Afterglow by Michael Kühnel , https://github.com/Relaxed-Theme/relaxed-terminal-themes +# This work is licensed under the terms of the MIT license. +# For a copy, see https://opensource.org/licenses/MIT. + +background #353a44 +foreground #d9d9d9 +cursor #d9d9d9 +selection_foreground #d8d8d8 +selection_background #6a7984 +color0 #151515 +color1 #bc5653 +color2 #909d63 +color3 #ebc17a +color4 #6a8799 +color5 #b06698 +color6 #c9dfff +color7 #d9d9d9 +color8 #636363 +color9 #bc5653 +color10 #a0ac77 +color11 #ebc17a +color12 #7eaac7 +color13 #b06698 +color14 #acbbd0 +color15 #f7f7f7 diff --git a/.config/kitty/themes/preferred/Solarized_Light.conf b/.config/kitty/themes/preferred/Solarized_Light.conf new file mode 100644 index 0000000..36e101b --- /dev/null +++ b/.config/kitty/themes/preferred/Solarized_Light.conf @@ -0,0 +1,21 @@ +background #fdf6e3 +foreground #52676f +cursor #52676f +selection_background #e9e2cb +color0 #e4e4e4 +color8 #ffffd7 +color1 #d70000 +color9 #d75f00 +color2 #5f8700 +color10 #585858 +color3 #af8700 +color11 #626262 +color4 #0087ff +color12 #808080 +color5 #af005f +color13 #5f5faf +color6 #00afaf +color14 #8a8a8a +color7 #262626 +color15 #1c1c1c +selection_foreground #fcf4dc diff --git a/.config/kitty/themes/preferred/Teerb.conf b/.config/kitty/themes/preferred/Teerb.conf new file mode 100644 index 0000000..9e9cab7 --- /dev/null +++ b/.config/kitty/themes/preferred/Teerb.conf @@ -0,0 +1,21 @@ +background #262626 +foreground #d0d0d0 +cursor #e3c8ae +selection_background #4d4d4d +color0 #1c1c1c +color8 #1c1c1c +color1 #d68686 +color9 #d68686 +color2 #aed686 +color10 #aed686 +color3 #d7af87 +color11 #e4c9af +color4 #86aed6 +color12 #86aed6 +color5 #d6aed6 +color13 #d6aed6 +color6 #8adbb4 +color14 #b1e7dd +color7 #d0d0d0 +color15 #efefef +selection_foreground #262626 diff --git a/.config/kitty/themes/preferred/Tomorrow_Night_Eighties.conf b/.config/kitty/themes/preferred/Tomorrow_Night_Eighties.conf new file mode 100644 index 0000000..404efc7 --- /dev/null +++ b/.config/kitty/themes/preferred/Tomorrow_Night_Eighties.conf @@ -0,0 +1,21 @@ +background #2c2c2c +foreground #cccccc +cursor #cccccc +selection_background #505050 +color0 #000000 +color8 #000000 +color1 #f17779 +color9 #f17779 +color2 #99cc99 +color10 #99cc99 +color3 #ffcc66 +color11 #ffcc66 +color4 #6699cc +color12 #6699cc +color5 #cc99cc +color13 #cc99cc +color6 #66cccc +color14 #66cccc +color7 #fffefe +color15 #fffefe +selection_foreground #2c2c2c diff --git a/.config/kitty/themes/preferred/Wombat.conf b/.config/kitty/themes/preferred/Wombat.conf new file mode 100644 index 0000000..d4616fc --- /dev/null +++ b/.config/kitty/themes/preferred/Wombat.conf @@ -0,0 +1,21 @@ +background #171717 +foreground #ded9ce +cursor #bbbbbb +selection_background #453a39 +color0 #000000 +color8 #313131 +color1 #ff605a +color9 #f58b7f +color2 #b1e869 +color10 #dcf88f +color3 #ead89c +color11 #eee5b2 +color4 #5da9f6 +color12 #a5c7ff +color5 #e86aff +color13 #ddaaff +color6 #82fff6 +color14 #b6fff9 +color7 #ded9ce +color15 #fefffe +selection_foreground #171717 diff --git a/.config/kitty/themes/preferred/ayu_mirage.conf b/.config/kitty/themes/preferred/ayu_mirage.conf new file mode 100644 index 0000000..19d2e40 --- /dev/null +++ b/.config/kitty/themes/preferred/ayu_mirage.conf @@ -0,0 +1,21 @@ +background #212733 +foreground #d9d7ce +cursor #ffcc66 +selection_background #343f4c +color0 #191e2a +color8 #686868 +color1 #ed8274 +color9 #f28779 +color2 #a6cc70 +color10 #bae67e +color3 #fad07b +color11 #ffd580 +color4 #6dcbfa +color12 #73d0ff +color5 #cfbafa +color13 #d4bfff +color6 #90e1c6 +color14 #95e6cb +color7 #c7c7c7 +color15 #ffffff +selection_foreground #212733 diff --git a/.config/kitty/themes/preferred/gruvbox_dark.conf b/.config/kitty/themes/preferred/gruvbox_dark.conf new file mode 100644 index 0000000..369da8d --- /dev/null +++ b/.config/kitty/themes/preferred/gruvbox_dark.conf @@ -0,0 +1,49 @@ +# gruvbox dark by morhetz, https://github.com/morhetz/gruvbox +# This work is licensed under the terms of the MIT license. +# For a copy, see https://opensource.org/licenses/MIT. + +background #282828 +foreground #ebdbb2 + +cursor #928374 + +selection_foreground #928374 +selection_background #3c3836 + +color0 #282828 +color8 #928374 + +# red +color1 #cc241d +# light red +color9 #fb4934 + +# green +color2 #98971a +# light green +color10 #b8bb26 + +# yellow +color3 #d79921 +# light yellow +color11 #fabd2d + +# blue +color4 #458588 +# light blue +color12 #83a598 + +# magenta +color5 #b16286 +# light magenta +color13 #d3869b + +# cyan +color6 #689d6a +# lighy cyan +color14 #8ec07c + +# light gray +color7 #a89984 +# dark gray +color15 #928374 diff --git a/.config/kitty/themes/snazzy.conf b/.config/kitty/themes/snazzy.conf new file mode 100644 index 0000000..2ed5ff5 --- /dev/null +++ b/.config/kitty/themes/snazzy.conf @@ -0,0 +1,46 @@ +# snazzy by Connor Holyday (holyday.me) +# This work is licensed under the terms of the MIT license. +# For a copy, see https://opensource.org/licenses/MIT. + +# Snazzy Colorscheme for Kitty +# Based on https://github.com/sindresorhus/hyper-snazzy + +foreground #eff0eb +background #282a36 +selection_foreground #000000 +selection_background #FFFACD +url_color #0087BD +cursor #97979B +cursor_text_color #282A36 + +# black +color0 #282a36 +color8 #686868 + +# red +color1 #FF5C57 +color9 #FF5C57 + +# green +color2 #5AF78E +color10 #5AF78E + +# yellow +color3 #F3F99D +color11 #F3F99D + +# blue +color4 #57C7FF +color12 #57C7FF + +# magenta +color5 #FF6AC1 +color13 #FF6AC1 + +# cyan +color6 #9AEDFE +color14 #9AEDFE + +# white +color7 #F1F1F0 +color15 #EFF0EB diff --git a/.config/lf/preview b/.config/lf/preview new file mode 100755 index 0000000..a22a98b --- /dev/null +++ b/.config/lf/preview @@ -0,0 +1,25 @@ +#!/bin/bash +# Preview script built for use with lf and fzf +LINES=30 +filename=$( echo "$1" | tr -s '[:upper:]' '[:lower:]' ) +case $filename in + *.png|*.jpg|*.jpeg|*.mkv|*.mp4) mediainfo "$1";; + *.md) glow -s dark "$1";; + *.pdf) pdftotext "$1" -;; + *.zip) zipinfo "$1";; + *.deb) dpkg -c "$1";; + *.tar.gz) tar -ztvf "$1";; + *.tar.bz2) tar -jtvf "$1";; + *.tar) tar -tvf "$1";; + *.rar) unrar l "$1";; + *.7z) 7z.exe l "$1";; + *.html|*.xml) w3m -dump "$1";; + *) if file -L "$1" | grep -iq "text" + then + #highlight "$1" -O ansi --force + unset COLORTERM + bat --color=always --style=plain "$1" + else + exiftool "$1" + fi;; +esac diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..6ff6fd2 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,205 @@ +call plug#begin(stdpath('data') . '/plugged') + +" Themes +Plug 'morhetz/gruvbox' + +"Timmy Popester +Plug 'tpope/vim-surround' +Plug 'tpope/vim-repeat' +Plug 'tpope/vim-commentary' +Plug 'tpope/vim-fugitive' +Plug 'jiangmiao/auto-pairs' + +" Nav +Plug 'rhysd/clever-f.vim' +Plug 'easymotion/vim-easymotion' + +" Utilities +" Plug 'Yggdroot/LeaderF', { 'do': ':LeaderfInstallCExtension' } +Plug 'mhinz/vim-startify' +Plug 'mbbill/undotree' +Plug 'junegunn/vim-easy-align' +Plug 'famiu/nvim-reload' +Plug 'kyazdani42/nvim-web-devicons' +Plug 'nvim-lua/plenary.nvim' +Plug 'nvim-lua/popup.nvim' +Plug 'nvim-telescope/telescope.nvim' + +" Languages +Plug 'dag/vim-fish', { 'for' : 'fish' } + +" Stuff to maybe install later + +Plug 'airblade/vim-gitgutter' " This one is going to depend on whether vim still remains snappy + +" Plug 'ionide/Ionide-vim', { " Are we really going to try and develop on vim? +" \ 'do': 'make fsautocomplete', +" \} +" Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } + + +call plug#end() + +color gruvbox + +set number +set relativenumber +set autochdir +set splitbelow +set splitright +set tabstop=4 +set shiftwidth=4 +set expandtab +set softtabstop=4 +set nowrap +set ignorecase +set smartcase +set noswapfile +set nobackup +set hidden +set wildmenu +set clipboard=unnamedplus + +if exists('g:fvim_loaded') + nnoremap :set guifont=+ + nnoremap :set guifont=- + FVimCursorSmoothMove v:false + FVimCursorSmoothBlink v:true + FVimFontAutoSnap v:true +endif + + +let mapleader = " " + +nnoremap Y y$ +nnoremap vv ^vg_ +noremap \ q +noremap $ g_ +nnoremap ' ` +nnoremap ` ' +nnoremap - :Ex +map , (easymotion-prefix) + +nnoremap / :nohlsearch +nnoremap w :w +nnoremap rl :so $MYVIMRC:echo 'init.vim Reloaded!' +nnoremap ei :e $MYVIMRC +nnoremap k :bd +nnoremap bb :b# +nnoremap q :call DeleteBuffer() +nnoremap o :call MaximizeToggle() + +nnoremap :e term://fish +nnoremap v :vsplit term://fish +nnoremap s :split term://fish +nnoremap t :tabnew term://fish +tnoremap +tnoremap h +tnoremap j +tnoremap k +tnoremap l +inoremap h +inoremap j +inoremap k +inoremap l +nnoremap h +nnoremap j +nnoremap k +nnoremap l + +noremap :tabprev +noremap :tabnext +tnoremap :tabprev +tnoremap :tabnext +inoremap :tabprev +inoremap :tabnext +noremap :tabm -1 +noremap :tabm +1 +noremap :vert resize -3 +noremap :vert resize +3 +noremap :resize +3 +noremap :resize -3 + +nnoremap n :tabnew +nnoremap k :tabclose + +nnoremap pi :w:so $MYVIMRC:PlugInstall +nnoremap pc :w:so $MYVIMRC:PlugClean + +augroup terminal_settings +autocmd! + +autocmd BufWinEnter,WinEnter term://* startinsert | setlocal norelativenumber nonumber nocursorcolumn nocursorline +autocmd BufLeave term://* stopinsert + +" Ignore various filetypes as those will close terminal automatically +" Ignore fzf, ranger, coc +autocmd TermClose term://* + \ if (expand('') !~ "fzf") && (expand('') !~ "ranger") && (expand('') !~ "coc") | + \ call nvim_input('') | + \ endif +augroup END + +" Plugins + +" Clever-F +let g:clever_f_fix_key_direction = 1 + +" EasyMotion +let g:EasyMotion_startofline = 0 +let g:EasyMotion_keys = 'asdfjklhgwueiroxnmvczqp' + +" LeaderF +let g:Lf_ShortcutF = '' +let g:Lf_ShortcutB = '' +let g:Lf_WindowPosition = 'popup' +let g:Lf_PreviewInPopup = 1 + +noremap ;f :Leaderf file +noremap ;b :Leaderf buffer +noremap ;m :Leaderf mru +noremap ;c :Leaderf command +noremap ;h :Leaderf help +noremap ;l :Leaderf line +noremap ;w :Leaderf window +noremap ;a :Leaderf self + +" Easy Align +xmap ga (EasyAlign) +nmap ga (EasyAlign) + +" Custom Functions + +function! MaximizeToggle() + if exists("s:maximize_session") + exec "source " . s:maximize_session + call delete(s:maximize_session) + unlet s:maximize_session + let &hidden=s:maximize_hidden_save + unlet s:maximize_hidden_save + else + let s:maximize_hidden_save = &hidden + let s:maximize_session = tempname() + set hidden + exec "mksession! " . s:maximize_session + only + endif +endfunction + +function! DeleteBuffer() + let l:buflisted = getbufinfo({'buflisted': 1}) + let [l:cur_winnr, l:cur_bufnr] = [winnr(), bufnr()] + " There's a bug where if it's a help window, it'll kill everything, so + " remove this for now +" if len(l:buflisted) < 2 | confirm qall | return | endif + for l:winid in getbufinfo(l:cur_bufnr)[0].windows + execute(win_id2win(l:winid) . 'wincmd w') + if l:cur_bufnr == l:buflisted[-1].bufnr | bp | else | bn | endif + endfor + execute(l:cur_winnr . 'wincmd w') + let l:is_terminal = getbufvar(l:cur_bufnr, '&buftype') == 'terminal' + if l:is_terminal | bd! # | else | silent! confirm bd # | endif +endfunction + + + diff --git a/.config/ranger/commands.py b/.config/ranger/commands.py new file mode 100644 index 0000000..97b7909 --- /dev/null +++ b/.config/ranger/commands.py @@ -0,0 +1,62 @@ +# This is a sample commands.py. You can add your own commands here. +# +# Please refer to commands_full.py for all the default commands and a complete +# documentation. Do NOT add them all here, or you may end up with defunct +# commands when upgrading ranger. + +# A simple command for demonstration purposes follows. +# ----------------------------------------------------------------------------- + +from __future__ import (absolute_import, division, print_function) + +# You can import any python module as needed. +import os + +# You always need to import ranger.api.commands here to get the Command class: +from ranger.api.commands import Command + + +# Any class that is a subclass of "Command" will be integrated into ranger as a +# command. Try typing ":my_edit" in ranger! +class my_edit(Command): + # The so-called doc-string of the class will be visible in the built-in + # help that is accessible by typing "?c" inside ranger. + """:my_edit + + A sample command for demonstration purposes that opens a file in an editor. + """ + + # The execute method is called when you run this command in ranger. + def execute(self): + # self.arg(1) is the first (space-separated) argument to the function. + # This way you can write ":my_edit somefilename". + if self.arg(1): + # self.rest(1) contains self.arg(1) and everything that follows + target_filename = self.rest(1) + else: + # self.fm is a ranger.core.filemanager.FileManager object and gives + # you access to internals of ranger. + # self.fm.thisfile is a ranger.container.file.File object and is a + # reference to the currently selected file. + target_filename = self.fm.thisfile.path + + # This is a generic function to print text in ranger. + self.fm.notify("Let's edit the file " + target_filename + "!") + + # Using bad=True in fm.notify allows you to print error messages: + if not os.path.exists(target_filename): + self.fm.notify("The given file does not exist!", bad=True) + return + + # This executes a function from ranger.core.acitons, a module with a + # variety of subroutines that can help you construct commands. + # Check out the source, or run "pydoc ranger.core.actions" for a list. + self.fm.edit_file(target_filename) + + # The tab method is called when you press tab, and should return a list of + # suggestions that the user will tab through. + # tabnum is 1 for and -1 for by default + def tab(self, tabnum): + # This is a generic tab-completion function that iterates through the + # content of the current directory. + return self._tab_directory_content() diff --git a/.config/ranger/commands_full.py b/.config/ranger/commands_full.py new file mode 100644 index 0000000..5defa67 --- /dev/null +++ b/.config/ranger/commands_full.py @@ -0,0 +1,1993 @@ +# -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# This configuration file is licensed under the same terms as ranger. +# =================================================================== +# +# NOTE: If you copied this file to /etc/ranger/commands_full.py or +# ~/.config/ranger/commands_full.py, then it will NOT be loaded by ranger, +# and only serve as a reference. +# +# =================================================================== +# This file contains ranger's commands. +# It's all in python; lines beginning with # are comments. +# +# Note that additional commands are automatically generated from the methods +# of the class ranger.core.actions.Actions. +# +# You can customize commands in the files /etc/ranger/commands.py (system-wide) +# and ~/.config/ranger/commands.py (per user). +# They have the same syntax as this file. In fact, you can just copy this +# file to ~/.config/ranger/commands_full.py with +# `ranger --copy-config=commands_full' and make your modifications, don't +# forget to rename it to commands.py. You can also use +# `ranger --copy-config=commands' to copy a short sample commands.py that +# has everything you need to get started. +# But make sure you update your configs when you update ranger. +# +# =================================================================== +# Every class defined here which is a subclass of `Command' will be used as a +# command in ranger. Several methods are defined to interface with ranger: +# execute(): called when the command is executed. +# cancel(): called when closing the console. +# tab(tabnum): called when is pressed. +# quick(): called after each keypress. +# +# tab() argument tabnum is 1 for and -1 for by default +# +# The return values for tab() can be either: +# None: There is no tab completion +# A string: Change the console to this string +# A list/tuple/generator: cycle through every item in it +# +# The return value for quick() can be: +# False: Nothing happens +# True: Execute the command afterwards +# +# The return value for execute() and cancel() doesn't matter. +# +# =================================================================== +# Commands have certain attributes and methods that facilitate parsing of +# the arguments: +# +# self.line: The whole line that was written in the console. +# self.args: A list of all (space-separated) arguments to the command. +# self.quantifier: If this command was mapped to the key "X" and +# the user pressed 6X, self.quantifier will be 6. +# self.arg(n): The n-th argument, or an empty string if it doesn't exist. +# self.rest(n): The n-th argument plus everything that followed. For example, +# if the command was "search foo bar a b c", rest(2) will be "bar a b c" +# self.start(n): Anything before the n-th argument. For example, if the +# command was "search foo bar a b c", start(2) will be "search foo" +# +# =================================================================== +# And this is a little reference for common ranger functions and objects: +# +# self.fm: A reference to the "fm" object which contains most information +# about ranger. +# self.fm.notify(string): Print the given string on the screen. +# self.fm.notify(string, bad=True): Print the given string in RED. +# self.fm.reload_cwd(): Reload the current working directory. +# self.fm.thisdir: The current working directory. (A File object.) +# self.fm.thisfile: The current file. (A File object too.) +# self.fm.thistab.get_selection(): A list of all selected files. +# self.fm.execute_console(string): Execute the string as a ranger command. +# self.fm.open_console(string): Open the console with the given string +# already typed in for you. +# self.fm.move(direction): Moves the cursor in the given direction, which +# can be something like down=3, up=5, right=1, left=1, to=6, ... +# +# File objects (for example self.fm.thisfile) have these useful attributes and +# methods: +# +# tfile.path: The path to the file. +# tfile.basename: The base name only. +# tfile.load_content(): Force a loading of the directories content (which +# obviously works with directories only) +# tfile.is_directory: True/False depending on whether it's a directory. +# +# For advanced commands it is unavoidable to dive a bit into the source code +# of ranger. +# =================================================================== + +from __future__ import (absolute_import, division, print_function) + +from collections import deque +import os +import re + +from ranger.api.commands import Command + + +class alias(Command): + """:alias + + Copies the oldcommand as newcommand. + """ + + context = 'browser' + resolve_macros = False + + def execute(self): + if not self.arg(1) or not self.arg(2): + self.fm.notify('Syntax: alias ', bad=True) + return + + self.fm.commands.alias(self.arg(1), self.rest(2)) + + +class echo(Command): + """:echo + + Display the text in the statusbar. + """ + + def execute(self): + self.fm.notify(self.rest(1)) + + +class cd(Command): + """:cd [-r] + + The cd command changes the directory. + If the path is a file, selects that file. + The command 'cd -' is equivalent to typing ``. + Using the option "-r" will get you to the real path. + """ + + def execute(self): + if self.arg(1) == '-r': + self.shift() + destination = os.path.realpath(self.rest(1)) + if os.path.isfile(destination): + self.fm.select_file(destination) + return + else: + destination = self.rest(1) + + if not destination: + destination = '~' + + if destination == '-': + self.fm.enter_bookmark('`') + else: + self.fm.cd(destination) + + def _tab_args(self): + # dest must be rest because path could contain spaces + if self.arg(1) == '-r': + start = self.start(2) + dest = self.rest(2) + else: + start = self.start(1) + dest = self.rest(1) + + if dest: + head, tail = os.path.split(os.path.expanduser(dest)) + if head: + dest_exp = os.path.join(os.path.normpath(head), tail) + else: + dest_exp = tail + else: + dest_exp = '' + return (start, dest_exp, os.path.join(self.fm.thisdir.path, dest_exp), + dest.endswith(os.path.sep)) + + @staticmethod + def _tab_paths(dest, dest_abs, ends_with_sep): + if not dest: + try: + return next(os.walk(dest_abs))[1], dest_abs + except (OSError, StopIteration): + return [], '' + + if ends_with_sep: + try: + return [os.path.join(dest, path) for path in next(os.walk(dest_abs))[1]], '' + except (OSError, StopIteration): + return [], '' + + return None, None + + def _tab_match(self, path_user, path_file): + if self.fm.settings.cd_tab_case == 'insensitive': + path_user = path_user.lower() + path_file = path_file.lower() + elif self.fm.settings.cd_tab_case == 'smart' and path_user.islower(): + path_file = path_file.lower() + return path_file.startswith(path_user) + + def _tab_normal(self, dest, dest_abs): + dest_dir = os.path.dirname(dest) + dest_base = os.path.basename(dest) + + try: + dirnames = next(os.walk(os.path.dirname(dest_abs)))[1] + except (OSError, StopIteration): + return [], '' + + return [os.path.join(dest_dir, d) for d in dirnames if self._tab_match(dest_base, d)], '' + + def _tab_fuzzy_match(self, basepath, tokens): + """ Find directories matching tokens recursively """ + if not tokens: + tokens = [''] + paths = [basepath] + while True: + token = tokens.pop() + matches = [] + for path in paths: + try: + directories = next(os.walk(path))[1] + except (OSError, StopIteration): + continue + matches += [os.path.join(path, d) for d in directories + if self._tab_match(token, d)] + if not tokens or not matches: + return matches + paths = matches + + return None + + def _tab_fuzzy(self, dest, dest_abs): + tokens = [] + basepath = dest_abs + while True: + basepath_old = basepath + basepath, token = os.path.split(basepath) + if basepath == basepath_old: + break + if os.path.isdir(basepath_old) and not token.startswith('.'): + basepath = basepath_old + break + tokens.append(token) + + paths = self._tab_fuzzy_match(basepath, tokens) + if not os.path.isabs(dest): + paths_rel = self.fm.thisdir.path + paths = [os.path.relpath(os.path.join(basepath, path), paths_rel) + for path in paths] + else: + paths_rel = '' + return paths, paths_rel + + def tab(self, tabnum): + from os.path import sep + + start, dest, dest_abs, ends_with_sep = self._tab_args() + + paths, paths_rel = self._tab_paths(dest, dest_abs, ends_with_sep) + if paths is None: + if self.fm.settings.cd_tab_fuzzy: + paths, paths_rel = self._tab_fuzzy(dest, dest_abs) + else: + paths, paths_rel = self._tab_normal(dest, dest_abs) + + paths.sort() + + if self.fm.settings.cd_bookmarks: + paths[0:0] = [ + os.path.relpath(v.path, paths_rel) if paths_rel else v.path + for v in self.fm.bookmarks.dct.values() for path in paths + if v.path.startswith(os.path.join(paths_rel, path) + sep) + ] + + if not paths: + return None + if len(paths) == 1: + return start + paths[0] + sep + return [start + dirname + sep for dirname in paths] + + +class chain(Command): + """:chain ; ; ... + + Calls multiple commands at once, separated by semicolons. + """ + resolve_macros = False + + def execute(self): + if not self.rest(1).strip(): + self.fm.notify('Syntax: chain ; ; ...', bad=True) + return + for command in [s.strip() for s in self.rest(1).split(";")]: + self.fm.execute_console(command) + + +class shell(Command): + escape_macros_for_shell = True + + def execute(self): + if self.arg(1) and self.arg(1)[0] == '-': + flags = self.arg(1)[1:] + command = self.rest(2) + else: + flags = '' + command = self.rest(1) + + if command: + self.fm.execute_command(command, flags=flags) + + def tab(self, tabnum): + from ranger.ext.get_executables import get_executables + if self.arg(1) and self.arg(1)[0] == '-': + command = self.rest(2) + else: + command = self.rest(1) + start = self.line[0:len(self.line) - len(command)] + + try: + position_of_last_space = command.rindex(" ") + except ValueError: + return (start + program + ' ' for program + in get_executables() if program.startswith(command)) + if position_of_last_space == len(command) - 1: + selection = self.fm.thistab.get_selection() + if len(selection) == 1: + return self.line + selection[0].shell_escaped_basename + ' ' + return self.line + '%s ' + + before_word, start_of_word = self.line.rsplit(' ', 1) + return (before_word + ' ' + file.shell_escaped_basename + for file in self.fm.thisdir.files or [] + if file.shell_escaped_basename.startswith(start_of_word)) + + +class open_with(Command): + + def execute(self): + app, flags, mode = self._get_app_flags_mode(self.rest(1)) + self.fm.execute_file( + files=[f for f in self.fm.thistab.get_selection()], + app=app, + flags=flags, + mode=mode) + + def tab(self, tabnum): + return self._tab_through_executables() + + def _get_app_flags_mode(self, string): # pylint: disable=too-many-branches,too-many-statements + """Extracts the application, flags and mode from a string. + + examples: + "mplayer f 1" => ("mplayer", "f", 1) + "atool 4" => ("atool", "", 4) + "p" => ("", "p", 0) + "" => None + """ + + app = '' + flags = '' + mode = 0 + split = string.split() + + if len(split) == 1: + part = split[0] + if self._is_app(part): + app = part + elif self._is_flags(part): + flags = part + elif self._is_mode(part): + mode = part + + elif len(split) == 2: + part0 = split[0] + part1 = split[1] + + if self._is_app(part0): + app = part0 + if self._is_flags(part1): + flags = part1 + elif self._is_mode(part1): + mode = part1 + elif self._is_flags(part0): + flags = part0 + if self._is_mode(part1): + mode = part1 + elif self._is_mode(part0): + mode = part0 + if self._is_flags(part1): + flags = part1 + + elif len(split) >= 3: + part0 = split[0] + part1 = split[1] + part2 = split[2] + + if self._is_app(part0): + app = part0 + if self._is_flags(part1): + flags = part1 + if self._is_mode(part2): + mode = part2 + elif self._is_mode(part1): + mode = part1 + if self._is_flags(part2): + flags = part2 + elif self._is_flags(part0): + flags = part0 + if self._is_mode(part1): + mode = part1 + elif self._is_mode(part0): + mode = part0 + if self._is_flags(part1): + flags = part1 + + return app, flags, int(mode) + + def _is_app(self, arg): + return not self._is_flags(arg) and not arg.isdigit() + + @staticmethod + def _is_flags(arg): + from ranger.core.runner import ALLOWED_FLAGS + return all(x in ALLOWED_FLAGS for x in arg) + + @staticmethod + def _is_mode(arg): + return all(x in '0123456789' for x in arg) + + +class set_(Command): + """:set