aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-24 19:31:03 +0200
committerOmar Polo <op@omarpolo.com>2021-06-24 19:31:03 +0200
commit157d4810b513780bc757ce4b096f17b896483010 (patch)
tree180cb575dcc3aa90db1ff92c19834eb60246fb5e
parent6ba9e5a881b55a289e7a286d873b65a909a336de (diff)
downloadtelescope-157d4810b513780bc757ce4b096f17b896483010.tar.gz
telescope-157d4810b513780bc757ce4b096f17b896483010.tar.bz2
bind > to load-url
-rw-r--r--ChangeLog2
-rw-r--r--telescope.12
-rw-r--r--ui.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e61536..6aa7db1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2021-06-24 Omar Polo <op@omarpolo.com>
+ * ui.c (load_default_keys): bind > to load-url
+
* defaults.c: enable olivetti-mode by default and set fill-mode to 80
2021-06-23 Omar Polo <op@omarpolo.com>
diff --git a/telescope.1 b/telescope.1
index 750aea1..837944f 100644
--- a/telescope.1
+++ b/telescope.1
@@ -168,6 +168,8 @@ kill-telescope
clear-minibuf
.It M-x
execute-extended-command
+.It >
+load-url
.It C-x C-f
load-url
.It C-x M-f
diff --git a/ui.c b/ui.c
index 9435dbb..fd9b8a7 100644
--- a/ui.c
+++ b/ui.c
@@ -179,6 +179,8 @@ load_default_keys(void)
global_set_key("C-g", cmd_clear_minibuf);
global_set_key("M-x", cmd_execute_extended_command);
+
+ global_set_key(">", cmd_load_url);
global_set_key("C-x C-f", cmd_load_url);
global_set_key("C-x M-f", cmd_load_current_url);