Commit Graph

30 Commits

Author SHA1 Message Date
Pierre Neidhardt 66ae22f276 Update ambrevar's email address 2018-08-27 10:42:28 +02:00
Pierre Neidhardt ae69bcb1b8 pdf: Fix pdf-view-kill-ring-save "y" binding 2018-07-28 12:31:19 +02:00
Ilja Kocken 3386f1af9e change zz to z0 2018-07-20 14:26:20 +02:00
Ilja Kocken bb8ba41668 add zi, zo, zz zoom keyboard shortcuts
similiar to vim vixen
2018-07-20 14:26:20 +02:00
Justin Burkett 2d4ebf596e Convert evil-collection-inhibit-insert-state to function
Move to evil-collection.el. Make requires consistent across all package
files. Delete evil-collection-util.el.
2018-06-30 10:05:52 -07:00
James Nguyen 1177456348 Require evil-collection instead of evil
Remove declare-function workaround.
2018-06-19 18:14:50 -07:00
James Nguyen 04268dcadc Remove .el in declare-function 2018-06-08 10:32:02 -07:00
James Nguyen d44ced31bc Add some declare-functions 2018-06-08 10:23:27 -07:00
James Nguyen 36f56362cc Add declare-functions for evil-collection-define-key
Adding for byte compiling.

TODO: Should look into doing an import instead since we shouldn't need
to declare a function that our library should know about.

I think there was some circular dependency around evil-collection-*
requiring evil-collection.el so I went with the quick and dirty
approach of doing a declare-function. If someone has a better idea,
feel free to change this!
2018-06-08 10:18:17 -07:00
Justin Burkett 29759c9419 Remove package arg from evil-collection-define-key
Implement version of evil-define-key instead. The bindings are made immediately
if the map is available. Otherwise, there are lazily made in the same way that
evil-define-key makes them.
2018-06-08 09:52:15 -07:00
Justin Burkett 0e7698dd1a Add support for {white,black}lists and binding records
Add and use evil-collection-define-key, which is a custom keybinding function
that checks evil-collection-key-{white,black}list before binding each key and
stores a record of the keybindings in evil-collection-bindings-record.

Modify evil-collection-util-inhibit-insert-state to conform to
evil-collection-define-key.
2018-06-08 09:52:15 -07:00
Pierre Neidhardt 92e01bdbc7 pdf: Bind "o" to 'pdf-outline 2018-06-06 12:39:59 +02:00
Kawin Nikomborirak 2915bd05c1 add TODO to find a root cause 2018-06-06 01:10:39 -07:00
Kawin Nikomborirak b84075fa58 add a count to pdf-tool's next-line-or-next-page
Though `pdf-view-next-line-or-next-page` and the `previous` version
both have number arguments, vi-style number arguments do not seem to
work. Even more strangely, if I remove the `dotimes` and change the
number arguments from `1` to `2` the pdf is still only scrolled
once. In `evil-emacs-state`, `M-2 <down>` works just fine in the
original version.
2018-06-06 01:10:39 -07:00
Kawin Nikomborirak 9ef4a4037b Revert "add a count to pdf-tool's next-line-or-next-page"
This reverts commit b29e7470c8.
2018-06-04 18:13:21 -07:00
Kawin Nikomborirak 63b0feda98 add a count to pdf-tool's next-line-or-next-page
Though `pdf-view-next-line-or-next-page` and the `previous` version
both have number arguments, vi-style number arguments do not seem to
work. Even more strangely, if I remove the `dotimes` and change the
number arguments from `1` to `2` the pdf is still only scrolled
once. In `evil-emacs-state`, `M-2 <down>` works just fine in the
original version.
2018-06-04 18:13:21 -07:00
Jay Kamat 0b05e784ec Go to top/bottom of image for pdf files 2018-05-19 09:50:55 +02:00
Jay Kamat 37e03ec0cd Force isearch on for pdf files
Normal search does not do anything at all in pdf files, so force
isearch to be used (which is overridden in pdf tools)
2018-05-19 09:50:55 +02:00
noctuid 1853b53a8d Add key translation functionality
Also add evil-collection-setup-hook. Fixes #5 and #98.
2018-03-23 14:22:06 +05:30
James Nguyen 9fc1a19807 Match package prefix 2018-03-06 18:06:04 -08:00
James Nguyen 24088eddcb Move macro to util file 2018-03-06 17:58:57 -08:00
James Nguyen 6ddfc3f7ff Change url 2018-03-01 17:22:38 -08:00
Pierre Neidhardt a5303b07ee Silence compiler warnings 2018-02-27 09:20:57 +01:00
Pierre Neidhardt 114b2ae5fc Normalize mark bindings 2018-02-27 09:19:36 +01:00
James Nguyen 5b2da79e7e Fix linting errors 2018-02-24 17:14:05 -08:00
Pierre Neidhardt 636171c8da pdf: Require pdf-tools 2018-02-24 20:54:06 +01:00
Pierre Neidhardt 3b40848734 PDF: Use normal state 2018-02-22 18:25:35 +01:00
Pierre Neidhardt 8633ddb97a ...And use declare-function instead 2017-12-07 22:02:46 +01:00
Pierre Neidhardt e1d71de24f Remove useless 'with-no-warnings' 2017-12-07 21:40:33 +01:00
James Nguyen 9eb7d3db0d Change namespace to evil-collection 2017-12-06 17:50:37 -08:00