adds keybinding for sessionizer
This commit is contained in:
parent
d030d7bca9
commit
88b8e9a350
3 changed files with 17 additions and 3 deletions
|
|
@ -51,6 +51,10 @@
|
|||
|
||||
command fzf
|
||||
'';
|
||||
sessionizer = ''
|
||||
set -l selected (fd . ~/dev/-t d -d 1 | fzf)
|
||||
zellij attach --create $selected
|
||||
'';
|
||||
nn = ''
|
||||
# Require a title argument
|
||||
if test (count $argv) -lt 1
|
||||
|
|
@ -122,6 +126,7 @@
|
|||
set fish_cursor_default block blink
|
||||
|
||||
fish_vi_key_bindings insert
|
||||
bind ctrl-s sessionizer
|
||||
|
||||
# Custom Colorscheme
|
||||
set --universal fish_color_autosuggestion brblack # autosuggestions
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
enableFishIntegration = true;
|
||||
package = null;
|
||||
settings = {
|
||||
font-size = 16;
|
||||
font-size = 17;
|
||||
font-family = "Victor Mono";
|
||||
font-style = "SemiBold";
|
||||
background-opacity = 0.945;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,16 @@ keybinds clear-defaults=true {
|
|||
bind "r" { SwitchToMode "Resize"; }
|
||||
bind "m" { SwitchToMode "Move"; }
|
||||
bind "t" { SwitchToMode "Tab"; }
|
||||
bind "s" { SwitchToMode "Scroll"; }
|
||||
bind "/" { SwitchToMode "Scroll"; }
|
||||
|
||||
// Plugins
|
||||
bind "s" {
|
||||
LaunchOrFocusPlugin "session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
|
||||
// Global keybindings
|
||||
bind "c" { NewTab; SwitchToMode "Locked"; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue