Compare commits
2 Commits
ab6dadd113
...
b1546b5ee8
| Author | SHA1 | Date | |
|---|---|---|---|
|
b1546b5ee8
|
|||
|
52261371c0
|
28
flake.lock
generated
28
flake.lock
generated
@@ -1006,20 +1006,19 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763650592,
|
"lastModified": 1764623294,
|
||||||
"narHash": "sha256-+GdNB847SdkWyOwk/QH7/x+TTjA6RrJRgsJnA9Xt8sQ=",
|
"narHash": "sha256-h94W20ZYS2HF1tSV7ZfZQf4Tsj9/0wofkBiRlepG/io=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "c50776eeee89273a93a288cc1ea8914e263e3bb2",
|
"rev": "30f11dc05202b85b390547ed194ef64f149b97f0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"ref": "v3.2.0",
|
"ref": "v3.5.0",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -1166,7 +1165,7 @@
|
|||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_3",
|
"systems": "systems_2",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
@@ -1217,21 +1216,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-foot": {
|
"tinted-foot": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
zen.inputs.nixpkgs.follows = "nixpkgs";
|
zen.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
noctalia = {
|
noctalia = {
|
||||||
url = "github:noctalia-dev/noctalia-shell/v3.2.0";
|
url = "github:noctalia-dev/noctalia-shell/v3.5.0";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,45 @@ lib.my.makeSwitch {
|
|||||||
'';
|
'';
|
||||||
functions = {
|
functions = {
|
||||||
fish_greeting = "";
|
fish_greeting = "";
|
||||||
|
yank_to_clipboard = {
|
||||||
|
description = "Insert latest killring entry into the system clipboard";
|
||||||
|
body = ''printf "%s" "$fish_killring[1]" | fish_clipboard_copy'';
|
||||||
|
};
|
||||||
|
fish_user_key_bindings = ''
|
||||||
|
# make vi mode yanks copy to clipboard
|
||||||
|
bind yy kill-whole-line yank_to_clipboard yank
|
||||||
|
bind Y kill-whole-line yank_to_clipboard yank
|
||||||
|
bind y,\$ kill-line yank_to_clipboard yank
|
||||||
|
bind y,\^ backward-kill-line yank_to_clipboard yank
|
||||||
|
bind y,0 backward-kill-line yank_to_clipboard yank
|
||||||
|
bind y,w kill-word yank_to_clipboard yank
|
||||||
|
bind y,W kill-bigword yank_to_clipboard yank
|
||||||
|
bind y,i,w forward-single-char forward-single-char backward-word kill-word yank_to_clipboard yank
|
||||||
|
bind y,i,W forward-single-char forward-single-char backward-bigword kill-bigword yank_to_clipboard yank
|
||||||
|
bind y,a,w forward-single-char forward-single-char backward-word kill-word yank_to_clipboard yank
|
||||||
|
bind y,a,W forward-single-char forward-single-char backward-bigword kill-bigword yank_to_clipboard yank
|
||||||
|
bind y,e kill-word yank_to_clipboard yank
|
||||||
|
bind y,E kill-bigword yank_to_clipboard yank
|
||||||
|
bind y,b backward-kill-word yank_to_clipboard yank
|
||||||
|
bind y,B backward-kill-bigword yank_to_clipboard yank
|
||||||
|
bind y,g,e backward-kill-word yank_to_clipboard yank
|
||||||
|
bind y,g,E backward-kill-bigword yank_to_clipboard yank
|
||||||
|
bind y,f begin-selection forward-jump kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,t begin-selection forward-jump-till kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,F begin-selection backward-jump kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,T begin-selection backward-jump-till kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,h backward-char begin-selection kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,l begin-selection kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,i,b jump-till-matching-bracket and jump-till-matching-bracket and begin-selection jump-till-matching-bracket kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,a,b jump-to-matching-bracket and jump-to-matching-bracket and begin-selection jump-to-matching-bracket kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,i backward-jump-till and repeat-jump-reverse and begin-selection repeat-jump kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind y,a backward-jump and repeat-jump-reverse and begin-selection repeat-jump kill-selection yank_to_clipboard yank end-selection
|
||||||
|
bind -M visual -m default y kill-selection yank_to_clipboard yank end-selection repaint-mode
|
||||||
|
|
||||||
|
# use system clipboard for vi mode pastes
|
||||||
|
bind -s p 'set -g fish_cursor_end_mode exclusive' forward-char 'set -g fish_cursor_end_mode inclusive' fish_clipboard_paste
|
||||||
|
bind -s P fish_clipboard_paste
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user