Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings of t, T, o, O #13

Open
jxy opened this issue Oct 10, 2014 · 6 comments
Open

Bindings of t, T, o, O #13

jxy opened this issue Oct 10, 2014 · 6 comments

Comments

@jxy
Copy link

jxy commented Oct 10, 2014

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.

@kalafut
Copy link

kalafut commented Dec 13, 2014

My two cents: o and O seem fairly natural. They're not exactly the same behavior as Vim, but close. t and T are nothing like Vim but I think they work, at least for me, since the "todo" concept is occurring to so often.

jcf pushed a commit to jcf/emacs.d that referenced this issue Jan 3, 2015
It messes with standard Vim bindings that I use too frequently to lose.

edwtjo/evil-org-mode#13
@pesterhazy
Copy link

Trying out evil-org-mode, I was also confused by the behavior of O. In vim, O inserts a line before the current line. The new behavior inserts a line after the current line, so it's the opposite of what you'd expect.

Fortunately I don't use t much, but I imagine people who use it will be confused by this change as well.

@edwtjo
Copy link
Owner

edwtjo commented May 13, 2015

I added these as a matter of convenience for my work flow, but perhaps they should be redone.

@sooheon
Copy link

sooheon commented Jun 10, 2015

I actually like o, but I agree with O being strange. It's the only binding I've removed.

@casimir
Copy link

casimir commented Dec 1, 2015

The only thing preventing me for using this mode is these binding. No kidding those are 2 things I use massively in vi-mode. Would it be possible to add an option tu use alternate bindings as suggested @jxy?

@Somelauw
Copy link

Somelauw commented Dec 24, 2016

I use the following work-around:

(evil-define-key 'normal evil-org-mode-map
    (kbd "t") 'evil-find-char-to
    (kbd "T") 'evil-find-char-to-backward
    (kbd "C-t") 'org-todo
    (kbd "O") 'evil-open-above
    (kbd "H") 'org-shiftleft
    (kbd "L") 'org-shiftright)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants