diff --git a/bin/switch_keyboards.sh b/bin/switch_keyboards.sh index e77ebf4..b4b0272 100755 --- a/bin/switch_keyboards.sh +++ b/bin/switch_keyboards.sh @@ -56,8 +56,10 @@ case "$(echo "$1" | awk '{print tolower($0)}')" in echo "Switching to standard layout :: SUPER | ALT | SPACE" ;; *) - print_help - exit 0 + if [[ -n "$1" ]]; then + print_help + exit 0 + fi ;; esac diff --git a/notes/shell/git_ssh.md b/notes/shell/git_ssh.md index 4f2113f..d8d6104 100644 --- a/notes/shell/git_ssh.md +++ b/notes/shell/git_ssh.md @@ -77,7 +77,8 @@ You can list your remotes and add new ones ```bash git remote -v -git remote add berg ssh://codeberg.org:22/akemi/dotfiles.git +git remote add ice 'ssh://git@codeberg.org:22/akemi/dotfiles.git' +git remote set-url ice 'ssh://git@codeberg.org:22/akemi/dotfiles.git' git remote rename berg ice ``` diff --git a/sway/config b/sway/config index 8806e5e..3cacdbf 100644 --- a/sway/config +++ b/sway/config @@ -374,7 +374,7 @@ mode "mpv_global" { bindsym return mode "default" bindsym Ctrl+k mode "default" - bindsym Shift+End mode "default" # In Browsers + bindsym Shift+End mode "default" bindsym Escape mode "default" } diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 331c2f2..a032600 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -72,7 +72,7 @@ bind-key H swap-pane -s '{left-of}' # Split panes like vim bind v split-window -h -c '#{pane_current_path}' bind s split-window -v -c '#{pane_current_path}' -bind T new-window -c "#{pane_current_path}" +bind t new-window -c "#{pane_current_path}" # Move current pane between windows bind-key g command-prompt -p "grab pane from:" "join-pane -s '%%'" @@ -84,6 +84,9 @@ bind-key p break-pane -t : # Toggle pane synchronization bind-key C-s setw synchronize-panes + # Show the time +bind T clock-mode + # Switch sessions with ( ) bind-key -n M-0 switch-client -n bind-key -n M-9 switch-client -p diff --git a/vim/.vim/init_scripts/external_plugins.vim b/vim/.vim/init_scripts/external_plugins.vim index ace0da4..e3efaa2 100644 --- a/vim/.vim/init_scripts/external_plugins.vim +++ b/vim/.vim/init_scripts/external_plugins.vim @@ -155,6 +155,7 @@ nmap wz (zoom-toggle) let g:catppuccin_flavour = "mocha" " Slime ================================================== +function! SlimeStudio() let g:slime_target = "tmux" let g:slime_paste_file = "$HOME/.slime_paste" let g:slime_python_ipython = 1 @@ -184,6 +185,9 @@ nnoremap f :exe "SlimeSend1 " . g:slime_studio_command3 nnoremap f \ :let g:slime_studio_command3 = \ input("Slime Studio (3): ", g:slime_studio_command3) +endfunction + +call SlimeStudio() " Gitgutter ============================================== " Disables git diff by default