All Projects → gadenbuie → Shrtcts

gadenbuie / Shrtcts

Licence: other
Make Anything an RStudio Shortcut

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Shrtcts

Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+7174.65%)
Mutual labels:  keyboard-shortcuts, shortcuts
use-keyboard-shortcut
A custom hook that allows adding keyboard shortcuts to React applications
Stars: ✭ 41 (-42.25%)
Mutual labels:  shortcuts, keyboard-shortcuts
Xcactionbar
"Alfred for Xcode" plugin
Stars: ✭ 1,217 (+1614.08%)
Mutual labels:  keyboard-shortcuts, shortcuts
Shortcutmapper
A visual keyboard shortcuts explorer for popular applications.
Stars: ✭ 657 (+825.35%)
Mutual labels:  keyboard-shortcuts, shortcuts
Viewxl
'RStudio' addin to open data.frame(s) in Excel
Stars: ✭ 35 (-50.7%)
Mutual labels:  rstudio
Gata
Bookmarks made better
Stars: ✭ 17 (-76.06%)
Mutual labels:  shortcuts
Repeat
Cross-platform mouse/keyboard record/replay and automation hotkeys/macros creation, and more advanced automation features.
Stars: ✭ 763 (+974.65%)
Mutual labels:  keyboard-shortcuts
Combokeys
Web browser keyboard shortcuts. CommonJS, NPM.
Stars: ✭ 675 (+850.7%)
Mutual labels:  keyboard-shortcuts
Xaringan
Presentation Ninja 幻灯忍者 · 写轮眼
Stars: ✭ 1,129 (+1490.14%)
Mutual labels:  rstudio
Awesome Osx
📦 Awesome stuff for OSX
Stars: ✭ 54 (-23.94%)
Mutual labels:  keyboard-shortcuts
Rstudioconf tweets
🖥 A repository for tracking tweets about rstudio::conf
Stars: ✭ 32 (-54.93%)
Mutual labels:  rstudio
Emacs Anywhere
Configurable automation + hooks called with application information
Stars: ✭ 917 (+1191.55%)
Mutual labels:  keyboard-shortcuts
Shortcuts
Super performant and feature rich shortcuts management library.
Stars: ✭ 40 (-43.66%)
Mutual labels:  shortcuts
Nanny
A tidyverse suite for (pre-) machine-learning: cluster, PCA, permute, impute, rotate, redundancy, triangular, smart-subset, abundant and variable features.
Stars: ✭ 17 (-76.06%)
Mutual labels:  rstudio
Manaflux
The app needs a rewrite. It might not work anymore. An assistant that can choose your runes, summoner spells, and item sets for League of Legends.
Stars: ✭ 57 (-19.72%)
Mutual labels:  shortcuts
Shinydashboard
Shiny Dashboarding framework
Stars: ✭ 718 (+911.27%)
Mutual labels:  rstudio
Better Chrome Native Video
Add keyboard support to Chrome's native HTML5 video player.
Stars: ✭ 31 (-56.34%)
Mutual labels:  shortcuts
Paredit Cheatsheet
A new, scalable source document for the Paredit Cheatsheet available as a png on the Emacs wiki
Stars: ✭ 48 (-32.39%)
Mutual labels:  keyboard-shortcuts
R Dataviz Ggplot2
"Basic data viz" & "Advancing with data viz in R using ggplot2" for Boston University's "Data+Narrative" workshop
Stars: ✭ 21 (-70.42%)
Mutual labels:  rstudio
Sketch Toggle Constrain Proportions
Toggle the constrain proportions setting with your own configurable keyboard shortcut.
Stars: ✭ 9 (-87.32%)
Mutual labels:  keyboard-shortcuts

shrtcts

shrtcts lets you make anything an RStudio shortcut!

Installation

You can install shrtcts from GitHub with:

# install.packages("remotes")
remotes::install_github("gadenbuie/shrtcts")

Quick Intro

Store your shortcuts in ~/.config/.shrtcts.R or ~/.shrtcts.R. Each shortcut should look something like the example below, but you can include any R code you want as the shortcut, as long as it’s a function.

#' Say Something Nice
#'
#' A demo of cool things.
#'
#' @interactive
#' @shortcut Ctrl+Alt+P
praise::praise

Then add the following lines to your ~/.Rprofile , which you can find quickly with usethis::edit_r_profile(). (Or you can skip this step and run add_rstudio_shortcuts() whenever you update your shortcuts.)

# ~/.Rprofile
if (interactive() && requireNamespace("shrtcts", quietly = TRUE)) {
  shrtcts::add_rstudio_shortcuts()
}

You can also tell shrtcts to automatically update the keyboard shortcuts assignments.

# ~/.Rprofile
if (interactive() && requireNamespace("shrtcts", quietly = TRUE)) {
  shrtcts::add_rstudio_shortcuts(set_keyboard_shortcuts = TRUE)
}

After restarting your R session, you’ll find your new shortcut Say Something Nice in your RStudio Addins menu!

If you enabled keyboard shortcut management, you’ll also be able to run your new shortcut by pressing Ctrl + Alt + P. But note that whenever your keyboard shortcuts update, you’ll need to completely restart RStudio — hint: try usethis:::restart_rstudio() — for RStudio to pick up the new keybindings.

If you store your .shrtcts.R file in your home directory, you could also just run shrtcts::add_rstudio_shortcuts() whenever you update the shrtcts file instead of adding the above code to your ~/.Rprofile.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].