Skip to content

Instantly share code, notes, and snippets.

@ryrych
Last active November 22, 2015 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryrych/e95ba23a5f71c93cfda4 to your computer and use it in GitHub Desktop.
Save ryrych/e95ba23a5f71c93cfda4 to your computer and use it in GitHub Desktop.
vim-ctrlspace: Grouping files
$ vim

# Open Ember project
[CTRL]+[SPACE]
[B]
>ember<
[Enter]

# Search for `README.md` and open it in the current tab without closing the plugin window
[O]
>readme<
[enter][space]

# Open 3 files in a separate tab (note the `+3` indicator)
[/]
[CTRL]+[U]
>computed<

# Select each file with:
[SHIFT]+[T]

# Clear search term
[/]
[CTRL]+[U]
[/]

# Open list of tabs
[l]

# Give second tab custom label
[j]
[=]
>Computed feature + spec<
[Enter]
[ESC]
[qa]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment