mntn
fd8f122ec0
Adds support for custom commands ( #265 )
...
* Adds support for custom commands
Supports up to 10 custom commands, defined in the configuration file.
The current or selected URL can be passed to the command by placing
${url} in the command string.
Default hotkeys are Alt-1 through Alt-0 for triggering the command
with the selected link URL as a parameter, or Alt-Shift-1 through
Alt-Shift-0 for triggering the command with the current page URL
as a parameter. This follows the convention set by the copy page
URL (C) and copy selected URL (c) defaults.
Custom commands must be available in the $PATH or use absolute
paths. Relative paths are not supported, neither are pipes or
shell redirections.
* Fix linting issues
* Fix typo
* Further clarify comment
* Use goroutines for Error/Info calls
* Run go fmt to fix issue from merge
---------
Co-authored-by: makeworld <makeworld@protonmail.com>
2024-12-19 17:51:11 -05:00
Robin Schubert
509d7892fc
adding tabModeSearch to search in page ( #240 )
...
* adding tabModeSearch to search in page
* skipping tag regions in text search
* formatted and fixed linter errors
* fixed non-exhaustive switch case
* adding keybindings to default-config.toml and help.go
* change search keybindings to vim/less defaults
* updated tag regex and compiled it once globally
* use existing bottomBar for search
* adding resetSearch helper function
* remove redundant bool
* go fmt
---------
Co-authored-by: Robin Schubert <robin.schubert@ghi-muenster.de>
Co-authored-by: makeworld <makeworld@protonmail.com>
2024-12-18 19:32:22 -05:00
makeworld
99fbd021a6
Escape file/folder name in tab for #202
2022-04-25 20:14:32 -04:00
makeworld
00d90cbd7a
Paging up or down scrolls by 50% instead of 75%, to match less
( #303 )
2022-04-12 20:18:38 -04:00
makeworld
33bf9603b5
Keybinding to open URL with URL handler instead of proxy
...
Fixes #143
2021-12-28 17:35:08 -05:00
makeworld
1aa13f2408
Tabs have labels of the URL domain instead of numbers
...
Fixes #202
2021-12-28 16:39:42 -05:00
makeworld
03c4d3e286
Selected link and scroll position stays for non-cached pages
...
Fixes #122
2021-12-26 16:22:29 -05:00
mooff
baebc86c09
Modal fixes ( #281 ) ( #284 )
2021-12-22 17:09:47 -05:00
makeworld
ac1303f342
Linting: remove unneeded lines
2021-06-27 14:37:19 -04:00
makeworld
6ec7ed1668
Custom impl. of scrollTo & scrollToHighlight for #196
...
https://github.com/makeworld-the-better-one/amfora/issues/197#issuecomment-869200677
2021-06-27 14:21:40 -04:00
makeworld
d4aec14f63
Fix lint and changelog for prev commit
2021-05-14 18:18:03 -04:00
makeworld
ed36eee83c
🐛 Capture all scrolling keys
2021-05-14 18:09:04 -04:00
Anas Mohamed
a3713075dd
Added ability to save about:
pages. ( #236 )
...
Co-authored-by: makeworld
2021-05-13 16:38:53 -04:00
Himanshu
9337f63ed2
Add option for custom keybinds for navigation ( #222 )
...
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
2021-04-21 21:59:05 -04:00
lostleonardo
40e9d2106a
Adding bindings to yank the current URL and the selected URL ( #225 )
2021-04-20 17:00:34 -04:00
makeworld
f622a96696
🎨 go fmt
2021-04-07 12:56:32 -04:00
makeworld
7dba1b257d
⬆️ Update cview location
2021-04-07 12:52:22 -04:00
makeworld
3316b68ade
⬆️ Update cview to latest
2021-04-02 11:36:33 -04:00
makeworld
0685127b72
⬆️ Switch back to original cview
...
My PR was merged: https://gitlab.com/tslocum/cview/-/merge_requests/14
2021-03-31 10:37:32 -04:00
makeworld
a655ce0eac
✨ Works now!
2021-02-27 21:18:03 -05:00
makeworld
8e7300726d
🚧 Initial work
2021-02-27 18:17:49 -05:00
makeworld
9198572f34
cview update ( #107 )
...
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
Co-authored-by: Stephen Robinson <stephen@drsudo.net>
Co-authored-by: Trevor Slocum <trevor@rocketnine.space>
Co-authored-by: Stephen Robinson <sudobash1@users.noreply.github.com>
2021-02-17 14:17:13 -05:00
makeworld
1a2fba92c2
Add subscription manager, fix corrupt read/write & short URI panic
...
More info on corrupt reads and writes:
https://github.com/makeworld-the-better-one/amfora/issues/61#issuecomment-735042805
The panic was occuring due to lines like:
if u[:6] == "about:"
These would cause panics for URIs that were shorter than 6, like "docs/".
strings.HasPrefix was used instead to fix this.
2020-12-05 20:35:15 -05:00
makeworld
2357e25b07
🚨 Fix lint issues
2020-08-28 12:18:30 -04:00
makeworld
13163352b3
🚨 More linting fixes
...
Source: https://github.com/makeworld-the-better-one/amfora/actions/runs/224468383
2020-08-25 21:03:21 -04:00
makeworld
de41930d0a
🚨 Fix linting errors and switch to disable-all model
...
Lint errors source: https://github.com/makeworld-the-better-one/amfora/actions/runs/224352889
2020-08-25 19:17:06 -04:00
makeworld
56a56896c9
✨ Themeing support
2020-07-28 16:58:32 -04:00
makeworld
aa4edc4344
✨ Tab can enter link selecting mode - fixes #48
2020-07-19 11:09:33 -04:00
makeworld
7d71af116d
🐛 Can't change links while page is loading
2020-07-10 19:49:17 -04:00
makeworld
543d15abfc
🔀 Refactor to use tab struct
...
Squashed commit of the following:
commit 72f36afc9e
Author: makeworld <colecmac@protonmail.com>
Date: Tue Jul 7 16:15:45 2020 -0400
🚧 Scroll is applied correctly when navigating around
commit 4b8982723f
Author: makeworld <colecmac@protonmail.com>
Date: Tue Jul 7 15:34:45 2020 -0400
🚧 Fix bottomBar code
Make sure it always resets to a selected link if one was selected before
commit be09ffcf91
Author: makeworld <colecmac@protonmail.com>
Date: Mon Jul 6 20:30:54 2020 -0400
🚧 Switch to using tab pointers instead of ints
Almost finished overall work.
commit ef8ab3da39
Author: makeworld <colecmac@protonmail.com>
Date: Mon Jul 6 12:10:50 2020 -0400
🚧 Fixed some bugs, major ones remain
commit d3d47a344d
Author: makeworld <colecmac@protonmail.com>
Date: Sat Jul 4 20:58:46 2020 -0400
🚧 Everything uses tab struct, no compile errors, untested
commit 44bf54c12f
Author: makeworld <colecmac@protonmail.com>
Date: Sat Jul 4 13:24:49 2020 -0400
🚧 Initial work on tab struct
2020-07-07 21:13:45 -04:00