User Guide - Keyboard Shortcut#
This document describes the keyboard shortcuts in the terminal UI.
aws_resource_search uses readchar to capture Keyboard event. It may behave differently on different OS and terminal. The following keyboard shortcuts are tested on Windows, MacOS and Linux. If you find any issue, please report it to GitHub Issues.
Query Editing and Search
⬆️: tap
Ctrl + EorUPto move item selection up.⏫: tap
Ctrl + Rto scroll item selection up. this is very helpful when you have a long list of search result.⬇️: tap
Ctrl + DorDOWNto move item selection down.⏬: tap
Ctrl + Fto scroll item selection down. this is very helpful when you have a long list of search result.⬅️: tap
LEFTto move query input cursor to the left.➡️: tap
RIGHTto move query input cursor to the right.⬅️: tap
LEFTto move query input cursor to the left.➡️: tap
RIGHTto move query input cursor to the right.⏪: tap
Alt + LEFTto move query input cursor to the previous word.⏩: tap
Alt + Rightto move query input cursor to the next word.⏮️: tap
HOMEto move query input cursor to the beginning of the line.⏭️: tap
RIGHTto move query input cursor to the end of the line.🗑️⏪: tap
Ctrl + Kto delete the previous word.🗑⏩: tap
Ctrl + Lto delete the next word.↩️: tap
Ctrl + Xto clear the query input. this is very helpful when you want to start over.🗑⬅: tap
BACKSPACEto delete query input backward.🗑️➡: tap
DELETEto delete query input forward.🔴: tap
Ctrl + Cto quit the app.
User defined action
🌐: tap
Enterto open AWS console url in web browser. this action is available in most of AWS resource search result and detail view.📋: tap
Ctrl + Ato copy ARN (AWS Resource Name) to clipboard. in detail view, it will copy the value of the detail.🚀: tap
Ctrl + Wto perform custom user action. this is an not implemented action reserved for future extension.🔗: tap
Ctrl + Uto copy AWS console url to clipboard. this action is useful when the app environment doesn’t have a web browser.👀: tap
Ctrl + Pto view more details about this resource.⏪: tap
Ctrl + Bto clear the query of the current AWS resource type, so you can enter another query without typnig the resource type name.🚪: tap
F1to quit the the “viewing details” sub session.
Special action
🔁: enter
!~anytime to refresh the query cache.👀: enter
!?anytime to view current AWS account info.📌: enter
!@anytime to view select another AWS profile.🛠: enter
!{anytime to view edit the${HOME}/.aws_resource_search/config.jsonfile.