+ - 0:00:00
Notes for current slide
Notes for next slide

Maximize Your Terminal Productivity

By: Vahid Mohammadi

Created with: RemarkJS
1 / 12

Shells

Bash Alternatives

  • ZSH:

    • Oh My Zsh
    • Theme
    • Plugins
      • zsh-autosuggestions
      • zsh-syntax-highlighting
      • zsh-completions
      • dirhistory
      • command-not-found
2 / 12

Shells

Bash Alternatives

  • ZSH:

    • Oh My Zsh
    • Theme
    • Plugins
      • zsh-autosuggestions
      • zsh-syntax-highlighting
      • zsh-completions
      • dirhistory
      • command-not-found
  • FISH:

    • Package managers: Oh My Fish, Fisher, Fisherman, Fundle, etc.
    • Theme
    • Plugins: omf search ...
      • Bass: Run bash inside fish
3 / 12

Write Your Own Plugins

Profile files: .bashrc , .zshrc

Bash Cheatsheet

Alias

  • alias open="xdg-open"
  • alias -s {yml,yaml}=vim
  • alias gitlog = "git log --oneline --decorate --color"
  • alias lsize="du -sch *(D) | sort -rh"
  • alias ltree="ls -l --tree"
4 / 12

Write Your Own Plugins

Profile files: .bashrc , .zshrc

Bash Cheatsheet

Alias

  • alias open="xdg-open"
  • alias -s {yml,yaml}=vim
  • alias gitlog = "git log --oneline --decorate --color"
  • alias lsize="du -sch *(D) | sort -rh"
  • alias ltree="ls -l --tree"

Bookmarks

  • wd: zsh only
  • to: fish only
  • autojump: A cd command that learns
  • z: jump around
  • ProjectMan: Quick access your projects
5 / 12

Terminal Tools

6 / 12

Emacs & Vim in Terminal

When using ZSH or FISH, Terminal is like emacs. Run bindkey -L | fzf to see the keybindings.Emacs cheatsheet

You can change it to Vim: bindkey -v .Vim documentation

7 / 12

Emacs & Vim in Terminal

When using ZSH or FISH, Terminal is like emacs. Run bindkey -L | fzf to see the keybindings.Emacs cheatsheet

You can change it to Vim: bindkey -v .Vim documentation

File Manager

8 / 12

Emacs & Vim in Terminal

When using ZSH or FISH, Terminal is like emacs. Run bindkey -L | fzf to see the keybindings.Emacs cheatsheet

You can change it to Vim: bindkey -v .Vim documentation

File Manager

Terminal Alternatives

  • Terminator
  • iTerm (Mac)
  • Tmux
  • More
9 / 12

Other Useful Tools

10 / 12

Text Manipulation

11 / 12

Sublime Text Manipulation Features

  • ctrl+shift+p : All sublime commands
    • set syntax: For better syntax highlight
  • alt+{Arrow} : For wordPart Navigation (Supports alt+shift+{arrow} )

  • Multiline Features:

    • ctrl+d : select words
      • alt+f3 : select
      • ctrl+k ctrl+d : skip word and select next
      • ctrl+u : undo cursor
      • ctrl+click : multi cursor
      • ctrl+double+click : multi word select
      • alt+drag : partial select
      • ctrl+shift+L : Split selection to lines
  • ctrl+j : Join lines (highlight everything before it)

  • ctrl+g : Go to line
  • ctrl+f : Find
    • enter & shift+enter & alt+enter (For multiline select)
  • ctrl+h : Find & Replace
    • ctrl+shift+h & ctrl+alt+enter
12 / 12

Shells

Bash Alternatives

  • ZSH:

    • Oh My Zsh
    • Theme
    • Plugins
      • zsh-autosuggestions
      • zsh-syntax-highlighting
      • zsh-completions
      • dirhistory
      • command-not-found
2 / 12
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow