Tweaks
- Add `pw` wrapper that uses `sk` to make it easier to get passwords - Enable spellcheck in markdown files in kakoune
This commit is contained in:
parent
ffd48fa9ea
commit
b8257363d3
2 changed files with 22 additions and 0 deletions
|
@ -196,6 +196,16 @@ in pkgs.writeTextFile (rec {
|
||||||
face global InlayDiagnosticHint rgb:4d965a+f
|
face global InlayDiagnosticHint rgb:4d965a+f
|
||||||
face global InlayDiagnosticInfo rgb:4d965a+f
|
face global InlayDiagnosticInfo rgb:4d965a+f
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=markdown %{
|
||||||
|
hook window -group spellck BufReload .* spell
|
||||||
|
hook window -group spellck NormalIdle .* spell
|
||||||
|
hook window -group spellck InsertIdle .* spell
|
||||||
|
|
||||||
|
hook -once -always window WinSetOption filetype=.* %{
|
||||||
|
remove-hooks window spellck
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
${keybinds}
|
${keybinds}
|
||||||
|
|
||||||
${typescript-config}
|
${typescript-config}
|
||||||
|
|
12
scripts/bitwarden.nix
Normal file
12
scripts/bitwarden.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs, ... }: with pkgs; {
|
||||||
|
|
||||||
|
# Get a password entry from the list
|
||||||
|
pw = (writeShellApplication {
|
||||||
|
name = "pw";
|
||||||
|
runtimeInputs = [ rbw skim ];
|
||||||
|
text = ''
|
||||||
|
x=$(rbw list | sk) && rbw "$@" "$x"
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue