From ace00b17d40c65ae27b07b7b91929d66a0a5aa25 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 9 Jan 2023 22:42:16 +0200 Subject: Add ranger cheatsheet --- cheatsheets/ranger.md | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 cheatsheets/ranger.md diff --git a/cheatsheets/ranger.md b/cheatsheets/ranger.md new file mode 100644 index 0000000..71e61ec --- /dev/null +++ b/cheatsheets/ranger.md @@ -0,0 +1,148 @@ + +# Ranger Cheatsheet + +## General +Shortcut | Description +---|--- +`ranger` | Start Ranger +`Q` | Quit Ranger +`R` | Reload current directory +`?` | Ranger Manpages / Shortcuts + + +## Movement +Shortcut | Description +---|--- +`k` | up +`j` | down +`h` | parent directory +`l`| subdirectory +`gg` | go to top of list +`G` | go t bottom of list +`J` | half page down +`K` | half page up +`H` | History Back +`L` | History Forward +`~` | Switch the view + +## File Operations +Shortcut | Description +---|--- +`` | Open +`r` | open file with +`z` | toggle settings +`o` | change sort order +`zh` | view hidden files +`cw` | rename current file +`yy` | yank / copy +`dd` | cut +`pp` | paste +`/` | search for files `:search` +`n` | next match +`N` | prev match +`` | Delete + + +## Commands +Shortcut | Description +---|--- +`:` | Execute Range Command +`!` | Execute Shell Command +`chmod` | Change file Permissions +`du` | Disk Usage Current Directory +`S` | Run the terminal in your current ranger window (exit to go back to ranger) + +## Tabs +Shortcut | Description +---|--- +`C-n` | Create new tab +`C-w` | Close current tab +tab | Next tab +shift + tab | Previous tab +alt + [n] | goto / create [n] tab + +## File substituting +Shortcut | Description +---|--- +`%f` | Substitute highlighted file +`%d` | Substitute current directory +`%s` | Substitute currently selected files +`%t` | Substitute currently tagged files + +### Example for substitution +`:bulkrename %s` + +## Marker +Shortcut | Description +---|--- +`m + ` | Create Marker +`um + ` | Delete Marker +`' + ` | Go to Marker +`t` | tag a file with an * +`t"` | tag a file with your desired mark + +_thx to the comments section for additional shortcuts! post your suggestions there!_ + + + + +Move around: +up or k ____________ to go up +ctrl-b or pageup ___ to go up a page +ctrl-u or K ________ to go up half page + +down or j __________ to go down +ctrl-f or pagedown _ to go down a page +ctrl-d or J ________ to go down half page + +left or h __________ to go left +right or l _________ to go right + +home _______________ to move to top +end ________________ to move to bottom + +H __________________ to history move back +L __________________ to history move forward + +ctrl-n or gn _______ to open new tab (in your home) +gc _________________ to close current tab + +tab or gt __________ to move to next tab +shift-tab or gT ____ to move to previous tab + +cd _________________ to change the working directory to specific directory +gh _________________ to change the working directory to your home +gm _________________ to change the working directory to /media +gM _________________ to change the working directory to /mnt +gu _________________ to change the working directory to /usr + +Manage files: +space ______________ to mark a file/directory +v __________________ to mark all files/directories +uv __________________ to unmark all selected files/directories + +delete _____________ to delete selected files/directories + +yy or f5 ___________ to copy +ya _________________ to add files/directories to current 'copy' +yr _________________ to remove files/directories from current 'copy' + +dd or f6 ___________ to cut +da _________________ to add files/directories to current 'cut' +dr _________________ to remove files/directories from current 'cut' + +cw _________________ to rename a file/directory +I __________________ to change name of file/directory, from the beginning +A __________________ to change name of file/directory, from the end + +/ or f _____________ to search a file/directory +n __________________ to search next file/directory +N __________________ to search previous file/directory + +Varies: +q __________________ to quit +s __________________ to launch shell + + + + -- cgit v1.2.3 From 8d5cc95247c6ecd84960b97b7977f3ba3dff76f8 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 9 Jan 2023 22:44:36 +0200 Subject: Add ranger cheatsheet --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 951a3a1..ea74362 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ My personal notes on various topics related to Computer Science and Tech, for in │ ├── cmus.md │ ├── colors.md │ ├── fzf.md +│ ├── ranger.md │ ├── syntax.wiki │ └── zathura.md │ -- cgit v1.2.3 From c6834832204678231328fd41ae47a66ec52b14b9 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 9 Jan 2023 22:47:28 +0200 Subject: Add termux notes --- linux/termux.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 linux/termux.md diff --git a/linux/termux.md b/linux/termux.md new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3 From efb505af41df37b21d013705158c2a4a1932cf17 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 9 Jan 2023 22:50:17 +0200 Subject: Add lvm notes --- linux/lvm.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 linux/lvm.md diff --git a/linux/lvm.md b/linux/lvm.md new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3 From e9e1c62e775ed0ae32bd9477cfe306647c90ee34 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 9 Jan 2023 22:52:38 +0200 Subject: Add lvm notes --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea74362..b27cb53 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ My personal notes on various topics related to Computer Science and Tech, for in ├── linux │ ├── arch-install.md (Arch Linux installation) │ ├── linux-commands.md (bash/zsh) -│ └── linux-troubleshoot.md +│ ├── linux-troubleshoot.md +│ └── linux-lvm.md │ ├── network │ ├── -- cgit v1.2.3