find_shortcuts: Find Keyboard Shortcuts

Description Usage Arguments Details Value Examples

Description

This function returns all keyboard shortcuts that match the keyword, category, and operating system(s) specified.

Usage

1
2
3
4
find_shortcuts(keyword = "*", category = c("Build", "Console", "Debug",
  "Execute", "Files", "Other", "Panes", "Profile", "Source Control",
  "Source Editor", "Source Navigation", "Tabs", "Terminal"),
  os = get_os())

Arguments

keyword

character; a case-insensitive regex pattern identifying rows to filter. If nothing is specified then all shortcuts are returned via the "*" regex pattern

category

character; one or more of ten categorizations of shortcuts based on behavior

os

character; a string vector specifying "windows", "mac", or both to return shortcuts that work on the user's operating system or the specified operating system(s)

Details

The ten different categories are as follows:

Value

A tbl_df of all shortcuts matching the keyword, category, and operating system(s)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# return all shortcuts
all_shortcuts <- find_shortcuts()

# return all the shortcuts regarding "move"
move_shortcuts <- find_shortcuts(keyword = "move")

# return just the "move" shortcuts regarding
# the "Console" for Mac OSX
move_console_shortcuts <- find_shortcuts(keyword = "move",
                                        category = "Console",
                                        os = "mac")

jeffboichuk/CrossR documentation built on May 23, 2019, 9:50 a.m.