Commit Graph

64 Commits

Author SHA1 Message Date
Moritz Lipp
0e472ee74d Bindings for special keys
This commit makes it possible to define and use special keys
like <Space> on their own or in combination with a modifier:
<C-<Space>>.

In addition the evaluation of the keypress has been changed, so
that the order of the bindings do not matter any longer.
2010-06-18 12:58:20 +02:00
Moritz Lipp
37b591905b Set adjust_open and map zoom command 2010-06-18 11:03:11 +02:00
Moritz Lipp
58d42bf329 Arguments and mode for mappings
It is now possible to define an argument and an additional
mode for the mapping.
2010-06-17 00:37:43 +02:00
Moritz Lipp
c6a9d72f36 Simple map function without any parsing 2010-06-16 23:13:25 +02:00
Moritz Lipp
ac0461d357 Introduce a shortcut list
This commit introduces a shortcut list that is used
now to check given keybindgins: On the contrary to
the static shortcut array it can be easily modified
and extended.

In addition some malloc-checks have been introduced
and a named shortcut list that will be used to evaluate
the cmd_map parameters.
2010-06-16 22:46:02 +02:00
Moritz Lipp
dff4535c35 Added blank map function 2010-06-16 21:50:28 +02:00
Moritz Lipp
4b62f58b31 More options available in zathurarc
This commit makes much more settings available in the
zathurarc file.
2010-06-15 12:50:43 +02:00
Moritz Lipp
a27d31d9b5 Introduced zathurarc 2010-06-14 21:52:19 +02:00
Moritz Lipp
766097ff92 Define colors and fonts with the set function
With this changes it is possible to set the colors
with the :set function.
2010-06-14 21:06:26 +02:00
Moritz Lipp
a61192c314 Introduced page-wise scrolling
It is now possible to scroll one page or an half page up or down.
2010-06-14 17:16:10 +02:00
Moritz Lipp
52b3bb458c URI fix
This fix makes it possible to open URIs containing
multiple arguments.

Thanks to Dennis Felsing
2010-06-12 14:19:20 +02:00
Moritz Lipp
81d5a6e2a3 Added reload shortcut 2010-06-03 18:12:45 +02:00
Moritz Lipp
036a3c83e1 Fixed page-list in print command 2010-06-02 10:59:44 +02:00
Moritz Lipp
fab51efea3 Enter password dialog
If the user tries to open an encrypted file, zathura aks for the password
in form of a dialog.
2010-05-24 21:26:40 +02:00
Moritz Lipp
9936e31095 Added fullscreen mode for special shortcuts 2010-05-24 11:41:08 +02:00
Moritz Lipp
ecfe451807 Fullscreen
It is now possible to enable a fullscreen mode.
2010-05-24 09:38:54 +02:00
Moritz Lipp
b33e33fd36 Custom selection style 2010-05-18 00:59:50 +02:00
Moritz Lipp
6e0616d35b Draw marked area
This commit draws an rectangle in the marked area.
2010-05-18 00:58:25 +02:00
Moritz Lipp
742c9770a2 Implemented scrolling 2010-05-18 00:57:37 +02:00
Moritz Lipp
63c0312b57 Optional page offset mode
This commit is build on the idea of Renato Florentino to be able to
correct the page offset that some documents have. His patch, where
most of the code has been adapted to this commit ( thanks! ), made
it able to correct the current page and automatically calculate the
correct page offset. Now this patch will introduce a third mode to
the bcmd_goto command: You are now able to set the page directly,
calculate it over the offset or search the labels for it.
2010-05-05 20:05:06 +02:00
Moritz Lipp
52b4eb464f Added page labels
With this commit it is possible to show and use the labels of a page,
which makes it possible to use a page offset. E.g.: Sometimes the page
numbers written on the page in the document differ from the order in the
file, which can be annoying by e.g. trying to go to the page number >20<
that is instead page number >24< in the document.
2010-05-05 12:36:14 +02:00
Moritz Lipp
e4f80b864b Keyboard navigation for the index
This patch provides the functionality to browse through the index
via the keyboard hence the mouse is not needed anymore. The original
author of this patch is int3 <jezreel@gmail.com>, in addition there
has been introduced a fix solving problems with named destinations.
2010-04-27 16:07:49 +02:00
Moritz Lipp
273ba0c642 Updated key bindings
This commit fixes a typo concerning the scrolling command and adds
additional bindings for the spacebar, the arrow keys and two keys
you find on thinkpad keyboards.
2010-04-27 11:28:17 +02:00
Moritz Lipp
f28700ea46 Activate incremental search
This commit reactivates the incremental search and defines
that special commands that are set get called all the time
an input occurs are not evaluated in the activate section.
2010-04-12 19:59:55 +02:00
Moritz Lipp
e31857a082 Automatically recolor document on startup
This commit adds an additional setting that is used
to control the recoloring of the document on startup.
2010-04-12 09:36:14 +02:00
Moritz Lipp
a2309feacf Follow internal links or upen URI in browser
This commit finishes the follow command by adding the functionality
of follow links / or open them with a web browser.
2010-04-11 14:18:49 +02:00
Moritz Lipp
fbbd4bb3a6 Introduced sc_follow command
This command scans the current page for links, highlightes and
numerates them.
2010-04-11 12:00:27 +02:00
Moritz Lipp
f928221f30 Recolor the page instead of inverting the colors
This patch makes it possible to define two colors
that are used for recoloring the document pages instead
of the classic color reverting.

For the old behaviour set recolor_darkcolor to "#FFFFFF"
and recolor_lightcolor to "#000000".

All credit of this commit belongs to fedcer (fedcer@gmail.com).
2010-04-11 10:47:09 +02:00
Moritz Lipp
f84f6a42f8 Updated search function
Incremental search is disabled now by default
2010-03-08 21:49:52 +01:00
Moritz Lipp
c3b3403a24 Updates search function
Do not use pthread_cancel to stop the search thread
2010-03-08 21:10:39 +01:00
Moritz Lipp
480469dcd6 Updated manpage 2010-02-15 02:33:53 +01:00
Moritz Lipp
8c7892c263 Updated print command 2010-02-02 17:08:02 +01:00
Moritz Lipp
2b072aa896 Fixed opening files containing spaces
Now it is possible to open files even if the contain white spaces. If
they do need a password, you can set it with the command: ":set password"
or specify it on startup: "./zathura file password".
2010-02-02 15:27:37 +01:00
Moritz Lipp
0c5f0dfb0c Delete bookmark 2010-01-31 21:24:33 +01:00
Moritz Lipp
db76477a18 Add, save and open bookmarks
It is now possible to save bookmarks with a specific names for a
document, so you can jump easily to important sections of the pdf
later on.
2010-01-31 21:07:27 +01:00
Moritz Lipp
539331a084 Save last viewed page in bookmark file 2010-01-31 12:35:49 +01:00
Moritz Lipp
31672cd0ba Create zathura directory 2010-01-31 02:03:28 +01:00
Moritz Lipp
8d449e3ff7 Added support for markers
It is now possible to add markers by using "m" followed by the id key
that should identify the marker. To jump back to the page that is
represented by the marker "'" is used. To toggle between the latest
positions the command "''" is used.
2010-01-30 23:48:36 +01:00
Moritz Lipp
acf114b2ec Delete last character of the buffer
It is now possible to delete the last character of the buffer using the
backspace key
2010-01-29 13:42:24 +01:00
Moritz Lipp
7b17a793c7 Scroll buffer command
Added a buffer command to move to a specific percental
value of the alighment of the view window. E.g.: 25%
2010-01-29 13:18:25 +01:00
Moritz Lipp
c7ae813201 Autoadjust size on startup 2010-01-28 14:14:01 +01:00
Moritz Lipp
e0f8bdc3b4 Added zoom buffer command
Now you can adjust the zoom level by typing commands like
"25Z" etc.
2010-01-28 13:57:54 +01:00
Moritz Lipp
8521a5a99d Added export function and export completion 2010-01-03 16:25:51 +01:00
Moritz Lipp
47905807ca Began highlighting search results 2010-01-02 14:23:49 +01:00
Moritz Lipp
2aef3f259c Show document information 2010-01-02 02:04:43 +01:00
Moritz Lipp
77d23a847f Implemented cmd_print 2010-01-02 00:36:32 +01:00
Moritz Lipp
6d1d3901c6 cc_print
List all printers, not the best way
2010-01-02 00:25:18 +01:00
Moritz Lipp
c55ca998d3 Show index if possible 2010-01-01 22:52:45 +01:00
Moritz Lipp
50b1c1b4c8 Close command 2010-01-01 20:46:07 +01:00
Moritz Lipp
7661efbe47 Fix cc_set 2010-01-01 20:00:56 +01:00