Update tmux keybinds
This commit is contained in:
parent
23a9f5227f
commit
6e3afc33b8
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue