From d002dba0fbc1fa5f49a4e1108d18537dc8060f6a Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 6 Oct 2023 23:10:39 +0200 Subject: Change git linux config to use delta as a diff tool aswell --- config/git/config.linux | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/git/config.linux b/config/git/config.linux index a7b8baa..1e93196 100644 --- a/config/git/config.linux +++ b/config/git/config.linux @@ -26,9 +26,17 @@ [difftool] prompt = false [diff] - tool = bat + colorMoved = default [core] editor = "VIMINIT='' nvim" + pager = delta +[interactive] + diffFilter = delta --color-only --syntax-theme gruvbox-dark +[delta] + syntax-theme = gruvbox-dark + # side-by-side = true + navigate = true # use n and N to move between diff sections + line-numbers = true [safe] directory = * [push] -- cgit From 7b785f7e3f0710513938e055d0a201d8da50c394 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 16 Oct 2023 12:32:49 +0200 Subject: Add cargo/bin to PATH, Change tmux config to use fish on linux --- config/fish/config.fish | 1 + config/mimeapps.list | 1 + config/tmux/tmux.conf | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config/fish/config.fish b/config/fish/config.fish index a58cb12..44a7d42 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -11,6 +11,7 @@ else if [ "$(uname)" = 'Darwin' ] end set -gx PATH "$PATH:$HOME/.local/share/go/bin" +set -gx PATH "$PATH:$HOME/.local/share/cargo/bin" set -gx PATH "$PATH:$HOME/.local/bin" # applications diff --git a/config/mimeapps.list b/config/mimeapps.list index 2f7ada6..9198139 100644 --- a/config/mimeapps.list +++ b/config/mimeapps.list @@ -30,6 +30,7 @@ x-scheme-handler/https=qutebrowser.desktop text/html=qutebrowser.desktop application/xhtml_xml=qutebrowser.desktop image/webp=qutebrowser.desktop +x-scheme-handler/webcal=brave-browser.desktop [Added Associations] text/html=qutebrowser.desktop diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 5e72d64..8e10065 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -28,7 +28,12 @@ bind 'c' new-window -c "#{pane_current_path}" bind R source-file ~/.config/tmux/tmux.conf set -g status-right-length 100 -set -g default-shell /usr/local/bin/fish +if-shell -b '[ "$(uname)" = Darwin ]' { + set -g default-shell /usr/local/bin/fish +} +if-shell -b '[ "$(uname)" = Linux ]' { + set -g default-shell /usr/bin/fish +} set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'egel/tmux-gruvbox' -- cgit