mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Minor fixes
This commit is contained in:
parent
94461cdebb
commit
78400e4a6a
8 changed files with 12 additions and 11 deletions
|
|
@ -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})`);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue