Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Add gt, gT keybindings to switch tabs - #59

Merged
mcolyer merged 1 commit into
atom:masterfrom
JosephKu:master
Feb 28, 2014
Merged

mcolyer merged 1 commit into
atom:masterfrom
JosephKu:master

Conversation

@JosephKu

Copy link
Copy Markdown
Contributor

No description provided.

@rogeriopvl

Copy link
Copy Markdown

👍

1 similar comment
@aliou

aliou commented Feb 28, 2014

Copy link
Copy Markdown

👍

@colevoss

Copy link
Copy Markdown

Does anyone have a good idea as to how to implement key bindings like gt or zz (letter letter)? I'm working on one and settling for modifier-letter.

@bashcoder

Copy link
Copy Markdown

@colevoss - If I understand your question correctly, I think this very pull request shows a good example of how to do it: JosephKu@26f607b

@colevoss

Copy link
Copy Markdown

Ah. Good call @bashcoder
Thanks

@mcolyer

mcolyer commented Feb 28, 2014

Copy link
Copy Markdown
Contributor

@colevoss @bashcoder there are limits to using multiple characters keybindings in Atom currently.

If you were to define g t as well as g, currently g will always be called as soon as you press g. I wrote up a bit more about it here

@mcolyer

mcolyer commented Feb 28, 2014

Copy link
Copy Markdown
Contributor

@JosephKu I'd be happy to merge this if you can rebase onto vim-mode master and also add a quick note about the new commands to docs/motions.md.

@JosephKu

Copy link
Copy Markdown
Contributor Author

@mcolyer I've rebased and updated the document. Thanks!

mcolyer added a commit that referenced this pull request Feb 28, 2014
Add gt, gT keybindings to switch tabs
@mcolyer
mcolyer merged commit 4948c16 into atom:master Feb 28, 2014
mcolyer pushed a commit that referenced this pull request Feb 28, 2014
chadkouse added a commit to chadkouse/vim-mode that referenced this pull request Mar 2, 2014
* master: (27 commits)
  Tiny fix for CHANGELOG
  Tiny fix for README
  Revert pull request atom#94
  Bump Atom dependency to latest (0.62)
  Prepare 0.7.2 release
  Mark changelog as 0.7.2
  Add spec for selection behavior in command-mode
  Remove extra whitespace
  Add changelog notes for atom#81 & atom#84
  Revert pull request atom#92
  Add changelog note for atom#59
  Add changelog notes for atom#76
  Fix a test failure on 0.62
  Add gt, gT keybindings to switch tabs
  motion: added { for movement to previous paragraph
  Update changelog for atom#71
  Document existing commands
  Add documentation for atom#49
  Add a changelog note for atom#48
  Move left after exiting insert mode
  ...
MarkusSN pushed a commit to MarkusSN/vim-mode that referenced this pull request May 28, 2015
Add gt, gT keybindings to switch tabs
MarkusSN pushed a commit to MarkusSN/vim-mode that referenced this pull request May 28, 2015
MarkusSN pushed a commit to MarkusSN/vim-mode that referenced this pull request May 28, 2015
* master: (27 commits)
  Tiny fix for CHANGELOG
  Tiny fix for README
  Revert pull request atom#94
  Bump Atom dependency to latest (0.62)
  Prepare 0.7.2 release
  Mark changelog as 0.7.2
  Add spec for selection behavior in command-mode
  Remove extra whitespace
  Add changelog notes for atom#81 & atom#84
  Revert pull request atom#92
  Add changelog note for atom#59
  Add changelog notes for atom#76
  Fix a test failure on 0.62
  Add gt, gT keybindings to switch tabs
  motion: added { for movement to previous paragraph
  Update changelog for atom#71
  Document existing commands
  Add documentation for atom#49
  Add a changelog note for atom#48
  Move left after exiting insert mode
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants