Changing my mind yet again on these mac keybindings in linux. adding this Desktop device to syncthing

master
Dustin Swan 2 days ago
parent 1f391e6747
commit 81db7e0703
Signed by: dustinswan
GPG Key ID: 30D46587E2100467

@ -62,28 +62,28 @@
# Emacs bindings (Dvorak physical positions) # Emacs bindings (Dvorak physical positions)
# Use Alt-Backspace for delete-word (works everywhere natively) # Use Alt-Backspace for delete-word (works everywhere natively)
control = { # control = {
a = "home"; # C-a → Home # # a = "home"; # C-a → Home
d = "end"; # C-e → End (dvorak 'e' = qwerty 'd') # d = "end"; # C-e → End (dvorak 'e' = qwerty 'd')
r = "up"; # C-p → Up (dvorak 'p' = qwerty 'r') # r = "up"; # C-p → Up (dvorak 'p' = qwerty 'r')
l = "down"; # C-n → Down (dvorak 'n' = qwerty 'l') # l = "down"; # C-n → Down (dvorak 'n' = qwerty 'l')
j = "backspace"; # C-h → Backspace (dvorak 'h' = qwerty 'j') # j = "backspace"; # C-h → Backspace (dvorak 'h' = qwerty 'j')
m = "enter"; # C-m → Enter # m = "enter"; # C-m → Enter
}; # };
# macOS-style Super/Cmd shortcuts (Dvorak physical positions) # # macOS-style Super/Cmd shortcuts (Dvorak physical positions)
meta = { # meta = {
# a = "C-a"; # Cmd+a → select all # # a = "C-a"; # Cmd+a → select all
i = "C-i"; # Cmd+c → copy (dvorak 'c' = qwerty 'i') # i = "C-i"; # Cmd+c → copy (dvorak 'c' = qwerty 'i')
k = "C-k"; # Cmd+t → new tab (dvorak 't' = qwerty 'k') # k = "C-k"; # Cmd+t → new tab (dvorak 't' = qwerty 'k')
l = "C-l"; # Cmd+n → new window (dvorak 'n' = qwerty 'l') # l = "C-l"; # Cmd+n → new window (dvorak 'n' = qwerty 'l')
comma = "C-comma"; # Cmd+w → close tab (dvorak 'w' = qwerty ',') # comma = "C-comma"; # Cmd+w → close tab (dvorak 'w' = qwerty ',')
period = "C-period"; # Cmd+v → paste (dvorak 'v' = qwerty '.') # period = "C-period"; # Cmd+v → paste (dvorak 'v' = qwerty '.')
semicolon = "C-semicolon"; # Cmd+s → save (dvorak 's' = qwerty ';') # semicolon = "C-semicolon"; # Cmd+s → save (dvorak 's' = qwerty ';')
slash = "C-slash"; # Cmd+z → undo (dvorak 'z' = qwerty '/') # slash = "C-slash"; # Cmd+z → undo (dvorak 'z' = qwerty '/')
x = "C-x"; # Cmd+q → quit (dvorak 'q' = qwerty 'x') # x = "C-x"; # Cmd+q → quit (dvorak 'q' = qwerty 'x')
b = "C-b"; # Cmd+x → cut (dvorak 'x' = qwerty 'b') # b = "C-b"; # Cmd+x → cut (dvorak 'x' = qwerty 'b')
}; # };
}; };
}; };
}; };

@ -69,11 +69,13 @@ in
enable = true; enable = true;
settings = { settings = {
devices = { devices = {
"Desktop" = { id = secrets.syncthing.desktop; };
"Laptop" = { id = secrets.syncthing.laptop; }; "Laptop" = { id = secrets.syncthing.laptop; };
"Phone" = { id = secrets.syncthing.phone; }; "Phone" = { id = secrets.syncthing.phone; };
}; };
folders = { folders = {
"Camera" = { "Camera" = {
id = "sm-n950u-photos";
path = "~/Camera"; path = "~/Camera";
devices = [ "Laptop" "Phone" ]; devices = [ "Laptop" "Phone" ];
}; };
@ -83,7 +85,7 @@ in
}; };
"Passwords" = { "Passwords" = {
path = "~/.password-store"; path = "~/.password-store";
devices = [ "Laptop" ]; # just Mac, not phone devices = [ "Laptop" ];
}; };
}; };
}; };

Loading…
Cancel
Save