From ed5dc684ed524f01c6dfd3396bed8c5054cbcdba Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 17 Jul 2013 00:06:52 +0200 Subject: [PATCH] Added change bookmark file format to README. --- README.md | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea5e491..07b57b4 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,39 @@ paradigms from dwb and hopefully a cleaner code base. The goal of Vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience with low memory and cpu usage. -More informatio and some screenshots of vimb browser in action can be found on +More information and some screenshots of vimb browser in action can be found on the [vimb project page][vimb]. +## changedd bookmark and history file format +The history file and bookmarks file will now holds also the page titles to +serve them in the completion list. This changed the file format and will break +previous bookmark files. The history file will still be usable also with the +latest changes, but the bookmark file must be adapted to the new file format. + +``` +// old format +http://very-long.uri/path.html tag1 tag2 +http://very-long.uri/path-no-tags.html +``` + +``` +// new format +http://very-long.uri/path.htmltitle of the pagetag1 tag2 +http://very-long.uri/path-no-title.htmltag1 tag2 +http://very-long.uri/path-no-title-and-no-tags.html +``` + +The parts of the history and bookmark file are now separated by `` or +`\t` char like the cookie file. Following `sed` command can be used to apply +the required changes to the bookmark file. **Don't forget to backup the file +before running the command** + +``` +// replace the first space in earch line of file to \t\t +// if the line haven't already a \t in it. +sed -i -e '/\t/!{s/ /\t\t/}' bookmark +``` + ## features - vim-like modal - vim-like keybindings @@ -32,7 +62,7 @@ the [vimb project page][vimb]. - ssl validation against ca-certificate file - custom configuration files - tagged bookmarks -- open input or teaxteaeas with configurable external editor +- open input or textarea with configurable external editor - user defined URL-shortcuts with placeholders ## dependencies -- 2.20.1