Update tmux keybinds

This commit is contained in:
Akemi Izuko 2022-11-10 00:01:06 -07:00
parent 46a10a698d
commit a362534ffb
No known key found for this signature in database
GPG key ID: 905D444F6A5E4BE4
5 changed files with 15 additions and 5 deletions

View file

@ -56,8 +56,10 @@ case "$(echo "$1" | awk '{print tolower($0)}')" in
echo "Switching to standard layout :: SUPER | ALT | SPACE"
;;
*)
if [[ -n "$1" ]]; then
print_help
exit 0
fi
;;
esac

View file

@ -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
```

View file

@ -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"
}

View file

@ -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

View file

@ -155,6 +155,7 @@ nmap <leader>wz <Plug>(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 <leader>f :exe "SlimeSend1 " . g:slime_studio_command3<CR>
nnoremap <leader><leader>f
\ :let g:slime_studio_command3 =
\ input("Slime Studio (3): ", g:slime_studio_command3)<CR>
endfunction
call SlimeStudio()
" Gitgutter ==============================================
" Disables git diff by default