Minor fixes

This commit is contained in:
js0ny 2025-04-16 20:33:09 +01:00
parent 94461cdebb
commit 78400e4a6a
8 changed files with 12 additions and 11 deletions

View file

@ -345,7 +345,7 @@ unmap("yma")
unmap("ymc")
unmap("ymv")
map("ym", "yank link as markdown", function () {
mapkey("ym", "yank link as markdown", function () {
const url = new URL(window.location.href);
const title = document.title;
Clipboard.write(`[${title}](${url.origin + url.pathname})`);

View file

@ -60,8 +60,7 @@ abbr --add ipy ipython
abbr --add g lazygit
abbr --add doomrc "emacsclient -t ~/.config/doom/"
abbr --add aic "aichat -s"
# lsd - modern ls
if command -v lsd > /dev/null

View file

@ -2,13 +2,13 @@ switch (uname)
case "Linux"
set SYSTEM_COLOR_SCHEME (gsettings get org.gnome.desktop.interface color-scheme)
if test $SYSTEM_COLOR_SCHEME = "'prefer-dark'"
set -g fish_config_theme "Catppuccin Mocha"
fish_config theme choose "Catppuccin Mocha"
else
set -g fish_config_theme "Catppuccin Latte"
fish_config theme choose "Catppuccin Latte"
end
case "Darwin"
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
echo "[TODO] Check if dark mode is enabled in macOS"
case '*'
set -g fish_config_theme "Catppuccin Mocha"
fish_config theme choose "Catppuccin Mocha"
end

View file

@ -23,7 +23,7 @@ return {
{ "<leader>cs", "<cmd>FzfLua treesitter<CR>", desc = "Search symbols" },
{ "<leader>cS", "<cmd>FzfLua grep_string<CR>", desc = "Search current symbol" },
{ "<leader>bB", "<cmd>FzfLua buffers<CR>", desc = "List Buffers" },
{ "<leader>fl", ":FzfLua filetypes", desc = "Set Filetype/Lang to ..." },
{ "<leader>fl", "<cmd>FzfLua filetypes<CR>", desc = "Set Filetype/Lang to ..." },
{ "<leader>R", "<cmd>FzfLua resume<CR>", desc = "Resume FzfLua" },
},
opts = {},