Coder Social home page Coder Social logo

evil-org-mode's Introduction

Hai! ๐Ÿ‘‹

You can find me on other places, such as codeberg

evil-org-mode's People

Contributors

adrianstaniec avatar adrieankhisbe avatar avendael avatar behaghel avatar edwtjo avatar fwilk avatar swaroopch avatar wsdookadr avatar xfq avatar yukihr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

evil-org-mode's Issues

clever-insert-item in insert mode

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.

broken evil-org-open-links ?

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.

Bindings of t, T, o, O

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.

evil-org.el problem in evil-org-eol-call

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).

evil-org-open-links stuck in infinite loop

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.

Not working when in agenda-view

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

evil-leader/set-key-for-mode shadows normal bindings.

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

("J" 'org-shiftdown) conflicts with (evil-join)

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?

Evil-org not on MELPA?

Hi, thanks for sharing this package! Could this perhaps be listed on MELPA?

Thanks in advance!

Debugger entered--Lisp error: (void-function evil-leader/set-key-for-mode)

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)

o and O don't respect folded headings

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.

Using 'o' for always-insert-item seems like a bad choice

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.