tweak: add normal browser controls
In particular, ctrl+e instead of ctrl+l was killing me. Also, replace tabs with spaces.
This commit is contained in:
parent
4dffbbae14
commit
4b2b46149c
|
@ -24,7 +24,7 @@ Rose is released under own license, which grants the following permissions:
|
|||
### To do
|
||||
|
||||
- [ ] String substitution on uri in order to redirect to better frontends.
|
||||
- [ ] Present "standard" browser keybindings as an alternative.
|
||||
- [ ] Fix zoom in new tab
|
||||
- [x] Present "standard" browser keybindings as an alternative.
|
||||
- [x] Fix zoom in new tab
|
||||
- [ ] Make tab bar slightly prettier.
|
||||
|
||||
|
|
28
config.def.h
28
config.def.h
|
@ -77,11 +77,25 @@ static struct {
|
|||
{ CTRL | SFT, KEY(N), finder_prev }
|
||||
};
|
||||
|
||||
/*
|
||||
Default browser controls:
|
||||
- Ctrl+L: Go to searchbar
|
||||
- Ctrl+T: New Tab
|
||||
- Ctrl+Page up: Go to next tab
|
||||
- Ctrl+Page down: Go to previous tab
|
||||
|
||||
/* For controls more akin to normal browsers, use:
|
||||
{
|
||||
{ CTRL, KEY(h), goback },
|
||||
{ CTRL, KEY(j), goforward },
|
||||
{ CTRL, KEY(r), refresh },
|
||||
{ CTRL | SFT, KEY(R), refresh_force },
|
||||
{ CTRL | SFT, KEY(H), back_to_home },
|
||||
{ CTRL, KEY(equal), zoomin },
|
||||
{ CTRL, KEY(minus), zoomout },
|
||||
{ CTRL, KEY(0), zoom_reset },
|
||||
{ CTRL, KEY(Page_Down), prev_tab },
|
||||
{ CTRL, KEY(Page_Up), next_tab },
|
||||
{ CTRL, KEY(w), close_tab },
|
||||
{ 0x0, KEY(F11), toggle_fullscreen },
|
||||
{ CTRL, KEY(l), show_searchbar },
|
||||
{ CTRL, KEY(f), show_finder },
|
||||
{ CTRL, KEY(n), finder_next },
|
||||
{ CTRL | SFT, KEY(N), finder_prev }
|
||||
};
|
||||
*/
|
||||
/* Reference for the key shorthand:
|
||||
* <https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/gdkkeysyms.h> */
|
||||
|
|
Loading…
Reference in New Issue
Block a user