mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 02:36:19 +00:00
sioyek: nixify and use qwerty
This commit is contained in:
parent
00c2b721dd
commit
44faec0e2a
8 changed files with 93 additions and 19 deletions
56
nixcfgs/users/js0ny/programs/sioyek.nix
Normal file
56
nixcfgs/users/js0ny/programs/sioyek.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{...}: {
|
||||
programs.sioyek = {
|
||||
enable = true;
|
||||
# prefs_user.config
|
||||
config = {
|
||||
default_dark_mode = "1";
|
||||
font_size = "14";
|
||||
case_sensitive_search = "0";
|
||||
super_fast_search = "1";
|
||||
search_url_d = "https://duckduckgo.com/?q=";
|
||||
};
|
||||
bindings = {
|
||||
## Movement
|
||||
"screen_down" = "J";
|
||||
"screen_up" = "K";
|
||||
|
||||
"move_up_smooth" = "k";
|
||||
"move_down_smooth" = "j";
|
||||
"move_left_smooth" = "h";
|
||||
"move_right_smooth" = "l";
|
||||
## Zoom
|
||||
|
||||
"zoom_in" = "=";
|
||||
|
||||
## Highlight
|
||||
"add_highlight" = "H";
|
||||
|
||||
### Toggles
|
||||
"toggle_dark_mode" = ["i" ",D"];
|
||||
"toggle_fullscreen" = ",f";
|
||||
"toggle_custom_color" = ",d";
|
||||
# toggle_dark_mode D
|
||||
## SyncTeX for LaTeX
|
||||
"toggle_synctex" = ",s";
|
||||
|
||||
# Mark
|
||||
"goto_mark" = "'";
|
||||
|
||||
### Misc
|
||||
"quit" = "Q";
|
||||
|
||||
"copy" = "y";
|
||||
|
||||
"goto_toc" = "<tab>";
|
||||
|
||||
## Smart Jump, Portals
|
||||
|
||||
"overview_link" = "<C-p>";
|
||||
|
||||
## Muscle Memory Bindings
|
||||
|
||||
"command" = "<A-x>";
|
||||
"search" = "<C-f>";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue