Commit Graph

697 Commits

Author SHA1 Message Date
Dickby c5b270fb34 Create evil-collection-lsp-ui-imenu.el 2018-04-21 11:18:24 -07:00
William Carroll 3026a3831c Support additional keybindings
Instead of using hooks to ensure keybindings, use `evil-define-minor-mode-key`,
which combine `evil-define-key` and `evil-normalize-keymaps` to ensure that
bindings take effect for minor modes.

Per PR feedback, additional functionality is supported. Also, the require
statement is more defensive for those users that don't have `git-timemachine`
installed as a dependency.
2018-04-20 20:10:15 -07:00
William Carroll 799866e90e Add licensing information
Adds licensing copy, which was taken from another module in this repository.
2018-04-20 20:10:15 -07:00
William Carroll 9298988cc4 Support git-timemachine
Supports evil bindings for git-timemachine. On my machine, git-timemachine
starts with evil in normal mode, which is problematic when trying to access the
keybindings "n" and "p", which navigate to the next and previous revisions.
Additionally, normal mode eclispses "q", which exits the mode.

I tried using `(evil-set-initial-state 'git-timemachine-mode 'motion)`, but that
didn't work. I assume this is because `git-timemachine` is a minor-mode. To work
around this, I used `add-hook` to ensure motion mode was the initial state.

Once motion mode is the initial state, "p" and "q" become available.
Unfortunately, "n" is still not. To get around this, I used a buffer-local
binding in the local motion state map to map "n" appropriately. One known
shortcoming of this approach is that there is no cleanup done after exiting the
mode.

Any suggestions are eagerly welcomed. Forgive any crude techniques that I used
to get this functioning. I just wanted to broach the discussion with some of the
other maintainers to get some insights and hopefully augment my implementation
as needed.
2018-04-20 20:10:15 -07:00
Pierre Neidhardt aca031a7f3 eww: Free common Evil keys and bind "P" to -bookmark-yank 2018-04-16 14:16:01 +05:30
noctuid 502def36c0 Optionally provide modes to evil-collection-init 2018-04-15 10:04:42 -07:00
Dickby 0d3c3b7bc3 Update evil-collection-dired.el 2018-04-15 16:22:44 +00:00
Pierre Neidhardt 49cd031a28 Guix: Bind "gz" to guix-switch-to-repl 2018-04-11 13:40:38 +05:30
Pierre Neidhardt 464d35fec0 Geiser: Bind "tab"/"S-tab" to forward / backward button 2018-04-11 13:39:06 +05:30
Pierre Neidhardt 32a47d66cc Geiser: Bind "gj/gk", etc. to prompt navigation commands 2018-04-11 11:41:15 +05:30
Pierre Neidhardt 7afd9e5cfc Emms: Bind "<tab>" to emms-browser-toggle-subitems
This reflects Org mode.

Also bind "^" to emms-browser-move-up-level.
2018-04-10 09:15:05 +05:30
Pierre Neidhardt f1f68cb5b2 Emms: Bind "C-j" / "C-k" in browser and reverse "gj" / "gk" 2018-04-08 18:03:24 +05:30
Pierre Neidhardt 935e895cdf elfeed: Scroll with "SPC" 2018-04-05 19:02:23 +05:30
Pierre Neidhardt 5d25e08f94 Add guix 2018-04-03 16:15:35 +05:30
James Nguyen 2ebc7a93c6 Readme: Remove extra line 2018-03-31 10:22:50 -07:00
James Nguyen af8dfc4f7f Format readme with indent-region 2018-03-31 10:21:56 -07:00
James Nguyen 2b4e0d40b4 Tweak comments 2018-03-31 10:20:51 -07:00
James Nguyen 709391e121 Correct spelling 2018-03-31 10:20:51 -07:00
James Nguyen 3e6077f5ed Add wdired bindings (#106) 2018-03-31 10:20:51 -07:00
James Nguyen 2331fd54e2 Add bindings for modes that don't use insert state (#106) 2018-03-31 10:20:51 -07:00
Simon Gomizelj b6acf98bb6 Expose the tag-all helper to the notmuch-search-mode map
Its exposed in the default mapping but not exposed in the evil mode
remapping.
2018-03-31 10:19:57 -07:00
James Nguyen 1d195fbbe7 Update link 2018-03-30 19:20:57 -07:00
James Nguyen 93b73fe463 Add a temporary workaround for (#108) 2018-03-30 19:11:15 -07:00
James Nguyen 64fb57b539 Move and rebind ert 2018-03-30 19:11:13 -07:00
James Nguyen ae0d4c6d68 Helm: Fix another warning
I think with-helm-buffer is a macro so this might be the best way to
cover the warning.
2018-03-30 19:11:11 -07:00
James Nguyen fcc4a4d246 Helm: Fix warning 2018-03-30 19:11:09 -07:00
Simon Gomizelj 08a3946653 Add binding to trigger notmuch-show-part-map 2018-03-30 19:05:41 -07:00
Andrej Lamov b5491fe276 Fix typo in README 2018-03-29 09:06:28 +00:00
James Nguyen 82c1bc0cdf Python: Remove internal function (#105) 2018-03-24 12:19:51 -07:00
Pierre Neidhardt f3551fe847 readme: Fix typos and formatting
GitHub has some issues with Org processing:

- It cannot change the starting number of enumerated lists.
- #+LINK tags cannot contain hyphens.
- Sometimes '=' has to be used instead of '~'.
2018-03-24 09:00:08 +05:30
Pierre Neidhardt ddad9909fd Helm: Rid prompt setup from Helm macros
Third-party macros are problematic because they yield compilation errors on
systems where the third-party package is not installed.
2018-03-23 18:49:07 +05:30
noctuid 1853b53a8d Add key translation functionality
Also add evil-collection-setup-hook. Fixes #5 and #98.
2018-03-23 14:22:06 +05:30
Jay Kamat 488b3d8fe7 Add binding to refresh daemon-mode output
In daemon-output-mode however, it seems to not work (complains with an
error), so I'm leaving this off for now.

Also, add ZZ and ZQ binding to quit-window
2018-03-18 01:37:33 -07:00
Jay Kamat 0425de4861 Add daemons.el support 2018-03-18 01:37:33 -07:00
James Nguyen 4d3f755884 Add an option for term sync state
Changed default term sync state.
2018-03-13 17:59:03 -07:00
James Nguyen 9e62471333 Remove declare-function for macro
This is gonna throw a build warning/error now but it's better to fix
some workflows broken as a result of declaring this as a function.
2018-03-12 17:05:11 -07:00
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 8c6eaebb44 Make evil-collection-inhibit-insert-state a macro (#97) 2018-03-05 17:41:54 -08:00
Pierre Neidhardt 621a48f97b Add view-mode 2018-03-03 16:52:16 +01:00
Pierre Neidhardt e663b74a81 info: Restore "b" to evil-backward-word-begin 2018-03-03 08:55:06 +01:00
Linus Marton be7765758c Fix typo in ruby-mode file 2018-03-02 19:10:10 -08:00
James Nguyen 6ddfc3f7ff Change url 2018-03-01 17:22:38 -08:00
Pierre Neidhardt 8ca2da95b7 info: Bind "yu" to Info-copy-current-node-name 2018-03-01 08:50:43 +01:00
Pierre Neidhardt a5303b07ee Silence compiler warnings 2018-02-27 09:20:57 +01:00
Pierre Neidhardt 09fade374c readme: Finalize marking rationale 2018-02-27 09:19:36 +01:00
Pierre Neidhardt 114b2ae5fc Normalize mark bindings 2018-02-27 09:19:36 +01:00
Pierre Neidhardt 355cb778e0 info: Rebind "m" to Info-menu 2018-02-26 19:00:19 +01:00
James Nguyen 7adf05cf25 Rtags: Remove s binding 2018-02-26 00:21:48 -08:00
James Nguyen 7fd2f6e174 Remove TODOs
Kept bindings.
2018-02-26 00:21:33 -08:00