diff --git a/README.md b/README.md
index eabc77ea5a6dd0f73bd908fa5a52b03fd53ddcce..d68381569be5736bac9887345b5c053e69393b5a 100644
--- a/README.md
+++ b/README.md
@@ -11,15 +11,22 @@ - Page history
- Regex searches
- Bookmarks
+## Non-Features:
+
+- no inlinig of any link type
+- no caching of page content
+- no persistent history across sessions
+
### Modifications compared to upstream
This project is of fork of https://git.sr.ht/~sircmpwn/gmni
It includes the following modifications:
+- colored headings & links
- default 4 char indenting
+- k command to remove the bookmark for the current page
- e[N] command to open a link in default external program (requires `xdg-open`)
- t[N] command to download the content behind a link to a temporary file
-- colored headings & links
The actual colors used depend on your terminal palette:
- heading 1: light red
@@ -36,7 +43,7 @@ ## Dependencies:
- A POSIX-like system and a C11 compiler
- OpenSSL
-- [scdoc](https://sr.ht/~sircmpwn/scdoc/) (optional)
+- [scdoc](https://sr.ht/~sircmpwn/scdoc/) (optional, build only)
## Compiling
diff --git a/src/gmnlm.c b/src/gmnlm.c
index 4cd601913caa3fb307de28cfbe861689f933eaf5..cc429cdfe6d482e549afee2bd9b05520985e92f9 100644
--- a/src/gmnlm.c
+++ b/src/gmnlm.c
@@ -81,15 +81,15 @@ "The following commands are available:\n\n"
"<Enter>\t\tread more lines (if available)\n"
"<url>\t\tgo to url\n"
"[N]\t\tFollow Nth link (where N is a number)\n"
- "u[N]\t\tShow URL of Nth link (where N is a number)\n"
+ "p[N]\t\tPrint URL of Nth link (where N is a number)\n"
"e[N]\t\tSend URL of Nth link in external default program\n"
"t[N]\t\tDownload content of Nth link to a temporary file\n"
"b\t\tBack (in the page history)\n"
"f\t\tForward (in the page history)\n"
"H\t\tView all page history\n"
- "a\t\tSave bookmark\n"
- "s\t\tRemove bookmark for current URL\n"
- "B\t\tBrowse bookmarks\n"
+ "m\t\tSave bookmark\n"
+ "M\t\tBrowse bookmarks\n"
+ "k\t\tRemove bookmark for current page\n"
"r\t\tReload the page\n"
"/<text>\t\tsearch for text (POSIX regular expression)\n"
"n\t\tjump to next search match\n"
@@ -603,17 +603,17 @@ cur = cur->next;
}
result = PROMPT_AGAIN;
goto exit;
- case 'a':
+ case 'm':
if (in[1]) break;
save_bookmark(browser);
result = PROMPT_AGAIN;
goto exit;
- case 's':
+ case 'k':
if (in[1]) break;
remove_bookmark(browser);
result = PROMPT_AGAIN;
goto exit;
- case 'B':
+ case 'M':
if (in[1]) break;
open_bookmarks(browser);
result = PROMPT_ANSWERED;
@@ -642,7 +642,7 @@ result = PROMPT_AGAIN;
goto exit;
}
case 'e':
- case 'u':
+ case 'p':
case 't':
if (!in[1]) break;
linksel = (int)strtol(in+1, &endptr, 10);