diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-21 21:15:27 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-21 21:15:27 +0200 |
commit | 73dfcb6c632ecde7780e5e9bb53536b65bb0463b (patch) | |
tree | 6f154ecab7feea79dfb4f70746cffe9aee31861a /config.h | |
parent | e2bd46bb34507f563c7befcc80be62e26625d254 (diff) |
support for some default settings so that uzbl is more uzbl by default (without config file)
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..f954736 --- /dev/null +++ b/config.h @@ -0,0 +1,30 @@ +const struct { + char *command; +} default_config[] = { +{ "bind j = scroll_vert 20"}, +{ "bind k = scroll_vert -20"}, +{ "bind h = scroll_horz -20"}, +{ "bind l = scroll_horz 20"}, +{ "bind << = scroll_begin"}, +{ "bind >> = scroll_end"}, +{ "bind b = back"}, +{ "bind m = forward"}, +{ "bind s = stop "}, +{ "bind r = reload"}, +{ "bind R = reload_ign_cache"}, +{ "bind + = zoom_in"}, +{ "bind - = zoom_out"}, +{ "bind t = toggle_status"}, +{ "bind /* = search %s"}, +{ "bind ?* = search_reverse %s"}, +{ "bind n = search"}, +{ "bind N = search_reverse"}, +{ "bind o _ = uri %s"}, +{ "bind i = toggle_insert_mode"}, +{ "bind ZZ = exit"}, +{ "set reset_command_mode = 1"}, +{ "set status_format = <span background=\"darkblue\" foreground=\"white\"> MODE </span> <span background=\"red\" foreground=\"white\">KEYCMD</span> (LOAD_PROGRESS%) <b>TITLE</b> - Uzbl browser"}, +{ "set title_format_long = KEYCMD MODE TITLE - Uzbl browser <NAME> > SELECTED_URI"}, +{ "set title_format_short = TITLE - Uzbl browser <NAME>"}, +{ NULL } +}; |