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

Commands to add #1

Open
13 of 32 tasks
Nodd opened this issue Jun 8, 2016 · 9 comments
Open
13 of 32 tasks

Commands to add #1

Nodd opened this issue Jun 8, 2016 · 9 comments

Comments

@Nodd
Copy link
Contributor

Nodd commented Jun 8, 2016

(See also https://github.com/spyder-ide/spyder-vim/wiki/Commands)
List from spyder-ide/spyder#669 (comment):

  • %
  • {
  • }
  • gg
  • G
  • $
  • 0
  • :$
  • :^
  • :r [!]
  • yy
  • p
  • m
  • "
  • Shift+V
  • Ctrl+V
  • A (capital) and I (capital)
  • A (capital) and I (capital) in *+V modes
  • :s
  • &
  • q / "macro" bindings
  • gU
  • gu
  • ga
  • dd
  • f
  • F
  • *
  • /
  • I
  • :hls
  • "folding" bindings (Note: folding is not possible in spyder right now)
@Nodd
Copy link
Contributor Author

Nodd commented Jul 7, 2016

I added a few more. This is going to be a looong process...
And I'm sure I didn't get all the details and corner cases right (exact cursor position after the action, word definition, before or after whitespace...)

@mannyglover
Copy link

mannyglover commented Dec 1, 2016

  • w [go to next word]
  • b [go to beginning of previous word]
  • e [go to end of current word (or next word if cursor is currently on whitespace)]
  • B [go to beginning of previous "word," where word is defined as, I believe, any string of consecutive non-whitespace characters.]
  • E [E:e::B:b <- standardized test analogy explanation]

@sacherus
Copy link

sacherus commented Dec 8, 2016

  • d$ [delete till end]
  • ^ [go to the beginning of the blank line]

@mvds314
Copy link

mvds314 commented Apr 28, 2023

Combinations of commands and motions would be very convenient:

  • ciw
  • caw
  • same for d(elete) instead of c(hange)
  • same for v(isually select) instead of c(hange)
  • same for " instead of w(word)
  • same for ' instead of w(word)
  • same for [ instead of w(word)
  • same for { instead of w(word)
  • same for ( instead of w(word)
  • same for W(ord) instead of w(word)

@mvds314
Copy link

mvds314 commented Jun 30, 2023

If I can make the time, I can try to implement a few of those commands. Not sure who's in charge of this project. Can I just make a PR?

@ccordoba12
Copy link
Member

ccordoba12 commented Jul 10, 2023

@mvds314, yes, please do! @ok97465 helps us to maintain it but we can also review any PR you want to contribute.

@ok97465
Copy link
Collaborator

ok97465 commented Jul 10, 2023

If I can make the time, I can try to implement a few of those commands. Not sure who's in charge of this project. Can I just make a PR?

Sorry for the late response. Notification for this repository was turned off.
Please submit a PR at your convenience.

@luis-j
Copy link

luis-j commented Aug 25, 2023

One of the first (if not the first) command I would wish is the dot command to repeat the last action. I'm afraid my knowledge of Python is extremely limited, and I wouldn't be able to contribute code.

@Masterhigure
Copy link

Masterhigure commented Sep 29, 2023

Several replies here with sensible suggestions. Maybe it would be an idea to edit the original / top comment to contain those as well? So that all the desired commands are gathered in one post rather than spread out over a thread?

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

No branches or pull requests