adds keybinding for sessionizer
This commit is contained in:
parent
d030d7bca9
commit
88b8e9a350
3 changed files with 17 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
enable = true;
|
||||
|
||||
functions = {
|
||||
dbui = /*fish */ ''
|
||||
dbui = /* fish */ ''
|
||||
nvim +"DBUI"
|
||||
'';
|
||||
ff = ''
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue