EliasRailis / commands

Just some basic commands in case I forget how to do something

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i3 window manager

  • Alt+d for searching an application
  • Alt+Shift+q to close an opened application
  • Alt+Enter to open the terminal
  • Alt+<number> to create a new desktop environment
  • Alt+Shift+e to kill i3 and logout

Tmux

  • tmux to create a new session
  • tmux ls to view all the available sessions
  • tmux attach -t 0 or <session-name> attach a terminal session to a specific target
  • tmux rename-session -t 0 <new-session-name> rename an existing tmux session
  • tmux new -s <session-name> to create a new tmux session with a specified name
  • tmux kill-server terminate the tmux server and all sessions running within it
  • tmux kill-session -t <session-name> terminate the specified tmux session
  • Ctrl+b+% create a new pane
  • Ctrl+b+" create a new pane on the bottom
  • Ctrl+b+<left-or-right-arrow> to move across the panes
  • Ctrl+b+<left-or-right-arrow> while holding down Ctrl+b to resize the pane
  • Ctrl+b+c to create a new window
  • Ctrl+b+<number> to swtich between windows
  • Ctrl+b+, to rename a window
  • Ctrl+b+d to detach from session
  • type exit on the open you would like to close

Vim

  • vim . or nvim . to open netrw
  • % to create a new file
  • d to create a new directory
  • :Ex to open netrw
  • D to delete a specific directory

Setting up ZSH

https://itsfoss.com/zsh-ubuntu/

About

Just some basic commands in case I forget how to do something