You can find me on other places, such as codeberg
edwtjo / evil-org-mode Goto Github PK
View Code? Open in Web Editor NEWSupplemental evil-mode keybindings to emacs org-mode
Supplemental evil-mode keybindings to emacs org-mode
You can find me on other places, such as codeberg
Gitorious.org will stay online until the end of May 2015 to give
people time to migrate their repositories
Gitorious is being acquired by GitLab and the evil clone url will no longer be valid. I think the evil clone url needs to be updated.
Not sure if evil has been transferred to GitLab yet. gitlab.com/evil/evil shows a 404 (even when logged in)
Seems like they haven't decided yet on where they will be hosting it next.
Evil is also hosted here
Hi @edwtjo, are you're still supporting this repository and accepting PRs?
I get Invalid function: (org-insert-todo-heading)
when trying to use the T
hotkey.
Unless I got the package name wrong, I'm surprised this isn't already in those.
Go through all functions in http://orgmode.org/manual/ and add/revise evil-org-mode-map
If I press o
while on a folded heading, I would like to the new line to be added after body of the heading, not before. As an example, where |
indicates cursor position, start with:
* |heading this is the body
Fold the heading:
* |heading...
Press o
. Expected behavior:
* heading...
|
Observed behavior:
* heading
|...
Is the observed behavior what you intended? Is there some reason why that's better?
If not, I think it can be fixed by making clever-insert-item
use evil-open-below
instead of insert
.
The following code which set-key-for-mode for org-mode completely shadows my other preferred bindings, is there a way to disalbe this default way? in other words i would rather prefer m a as org-agenda as I have a for other bindings which I would like to retain even while i am in org-mode. thanks for help.
(evil-leader/set-key-for-mode 'org-mode
"t" 'org-show-todo-tree "t" 'org-show-todo-tree
"a" 'org-agenda "a" 'org-agenda
"x" 'org-archive-subtree "x" 'org-archive-subtree
Currently you have:
(defun evil-org-eol-call (fun)
"Go to end of line and call provided function. FUN function callback"
(end-of-line)
(funcall fun)
(evil-append nil)
)
This works better if the call to #'end-of-line is changed to call #'org-end-of-line (otherwise pressing 'o' on a folded category does not correctly insert a clean line, it ends up stuck in the nested text).
It would be great to use TAB
in normal state for org-cycle
.
John MacFarlane achieves this with his
customization
Maybe you can merge in some of his customization.
I just updated evil-org-mode for the first time in a year or so and was displeased to see the usual behavior of an unbound 'o' (simply starting a new line) would rebound to always add a dash.
My typical workflow is to have collapsed headings/sub-headings, however with this change if I hit 'o' on a heading to start a new line (where I plan to insert a same level heading) I instead have a dash dropped in front of my cursor position.
Maybe if the #'org-in-item-p check fails, you should not do an (insert "\n -") but the standard evil-mode newline call?
It seems "J" 'org-shiftdown
was introduced recently, I did not have a conflict with evil-join
before.
I tried to unset this with :config (define-key evil-org-mode-map "J" nil)
in use-package
but no luck. Any idea how to unset this in an elegant way, without diving into the package's code?
Hi! This might be me, but when I open my agenda view (week or day or month) and press j to navigate down to other tasks/appointments, emacs thinks I'm trying to reschedule the apointment!
Kind regards
It only really matters in insert mode (typing down a list, hitting enter should insert the next list item).
;; insert state shortcuts
(evil-define-key 'insert evil-org-mode-map
"RET" 'clever-insert-item)
seems to be shadowed by org.el
, and Iโm not enough of an emacs-coder to know why.
The shortcut for easy template
in org mode should be <. However it seems that what this key does in evil-org-mode
is to jump words?
The keys, t
, T
, o
, O
, behave rather unexpected, considering they have rather standard usage in vi/vim. Perhaps you want to leave them to evil-leader
, or at least let people choose whether to enable them or not.
A couple times when I have triggered evil-org-open-links
it has crashed Emacs. One failure mode I've noticed is it opens a single link in an infinite loop until eventually crashing, and the other is it logs messages in an infinite loop without opening any links.
I think the root cause is on line 87, if org-next-link
can't find a link, or finds the same link under (point)
over and over again.
In particular, Backspace in insert state and x in normal state; otherwise, table alignment gets screwed up until something repairs it.
Hi,
I downloaded evil-org-mode from Melpa repository,
I'm pretty happy with it, so before anything else, thank you.
I still have some difficulties to use the "evil-org-open-links" function bound to l.
It work fine on external links (such as URL or files) but not with simple headings references ("[[Heading_name]]" that should lead me to the coresponding heading, for example), where emacs freeze (messages buffer displaying "Position saved to mark ring, go back with C-c &. [3028 times]")
I use "org-open-at-point" instead for now, but i'm sure there is a more elegant way to solve this problem.
Hi, thanks for sharing this package! Could this perhaps be listed on MELPA?
Thanks in advance!
When I try to eval-buffer
evil-org.el
I get this error:
Debugger entered--Lisp error: (void-function evil-leader/set-key-for-mode)
(evil-leader/set-key-for-mode (quote org-mode) "t" (quote org-show-todo-tree) "a" (quote org-agenda) "c" (quote org-archive-subtree) "l" (quote evil-org-open-links) "o" (quote evil-org-recompute-clocks))
eval-buffer() ; Reading at buffer position 5095
call-interactively(eval-buffer record nil)
command-execute(eval-buffer record)
execute-extended-command(nil "eval-buffer")
smex-read-and-run(("toggle-debug-on-error" "eval-buffer" "auto-complete-mode" "apri-url-con-macosx-browser" "calendar" "helm-themes" "helm-w3m-bookmarks" "eshell" "customize-group" "mml-attach-file" "password-store-copy" "toggle-frame-fullscreen" "make-frame" "customize-variable" "ebib" "notmuch-unread-mode" "bug-hunter-init-file" "flycheck-mode" "password-store-edit" "graphviz-dot-preview" "password-store-generate" "quickrun" "elpy-mode" "ebib-import" "notmuch-hello" "maximize-frame" "bbdb" "delete-frame" "org-mobile-push" "iedit-mode" "artist-mode" "python-mode" "auto-complete" "server-start" "auto-fill-mode" "kivy-mode" "run-python" "helm-colors" "recover-file" "maximize-window" "pdf-tools-install" "dklrt-AppendRecurring" "sunshine-toggle-icons" "esup" "malyon" "sx-answer" "bbdb-snarf" "helm-bibtex" "flyspell-mode" "restore-frame" ...))
smex()
call-interactively(smex nil nil)
command-execute(smex)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.