This repo contains all the shortcuts and setup of our arco_Linux.
Shell 100.00%
arco_linux's Introduction
ARCO LINUX SETUP AND SHORTCUTS :
use lt to list latest modified file/folder first through terminal.
Your arch is in a state(w.r.t to packages version) at each time. So :
-S : when you want to install the package that is compatible with your current state.
Syu : Upgrade all the packages version to the latest. So if you do -Syu chrome , it will fetch latest version of chrome & simulatenously upgrade all the packages in your machine to the latest.
GENERAL ARCO SHORTCUTS :
GLOBAL SHORTCUTS :
alt+Tab : Cycle through various tabs available. To land a particular tab, just leave the buttons there.
alt+shift+Tab : Cycle through tabs in reverse order.
super+tab : Cycle through various opened applications. Various instances of the applications are clubbed into one.
super+n : Go to Right workspace.
super+alt+n : Go to Left workspace.
super+shift+n : Move the selected window to the Right Workspace.
super+ctrl+shift+n : Move the selected window to the Left Workspace.
super+p : Rofi Launcher.
super+alt+c OR alt+F4 : close current active application.
super+alt+enter : Launch Terminal
super+space : Toggle scratchpad.
TMUX SHORTCUTS :
ctrl + S : Modifier key, use esc to exit the modifier mode.
While in Modifier Mode :
| : Vertical Split.
- : Horizontal Split.
c(create) : adds new tab.
n(next) : toggle/switch to next tab. Current active tab is shown with *.
To keep highligted text for longer use shift while selecting.
GUIDE TO NVIM
SHORTCUTS FOR NVIM:
ctrl+/ Open build in terminal.
space+n+n (sequential) Open file explorer.
FIND WORDS AND FILE
space+f+f Find file.
/ (in command mode) Find in file.
n (in command mode) GO to next match.
REPLACE WORDS
SELECT TEXT TO COPY
v (in command mode) Visual mode. Words selection.
shift+v (in command mode) Visual mode. Line selection.
COPY THE SELECTED TEXT
y (in command mode) To copy after you select the text in the Visual mode.
PASTE THE COPIED TEXT
p (in command mode) To paste the copied content after the cursor.
shift+p (in command mode) To paste the copied content before the cursor.
UNDO AND REDO
u (in command mode) To undo the changes.
U : To undo and restore the whole line.
ctrl+r(in command mode) To redo the changes.
USEFUL TIPS FOR CODERS
g+d (in command mode) Go to function defintion.
ctrl+o (in command mode) Return back.
space+k+c (in command mode) Compile.
space+k+r (in command mode) Run.
w, e, $, 0 are the motion specifiers. A is used for appending (move to the last of the line and start appending there.)
Typing a number before a motion will repeat that operation that many times. j
SPLIT SCREEN
:sp (in command mode) Split screen horizontally.
:vsp (in command mode) Split screen vertically.
ctrl+v (in file explorer) Split screen vertically.
Deleting Things :
x : To delete the character at the cursor position.
dw : To delete until the start of the next word, excluding its first character.
de : To delete to the end of the current word.
d$ : To delete from current position to the end of the line(we have swapped the $ with the 0, as it seems to be more logical that way as 0 is to the right).
Counting and Quantifying motion:
Nw : move cursor n words forward.
ne : take cursor to the end of nth word forward.
0 : take cursor to the beginning of the line.
Operating Lines :
dd : To delete the entire line.
2dd : Delete two consecutive lines (including the current line).