Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.43 KB

README.md

File metadata and controls

67 lines (46 loc) · 2.43 KB

Fish

Installation

Install fish shell and plugin manager for fish.

  1. Fish shell: fish_install.md
  2. Fisher: install fisher

Files

  1. config.fish : Configurations for fish shell.
  2. aliases.fish : Aliases for fish shell, sourced by config.fish when fish shell attached.

PLUGINS

fisher install PatrickF1/fzf.fish
fisher install jorgebucaran/autopair.fish

Dependencies

fzf.fish:

CLI Minimum version required Description
fish 3.4.0 a modern shell
fzf 0.27.2 fuzzy finder that powers this plugin
fd 8.5.0 faster, colorized alternative to find
bat 0.16.0 smarter cat with syntax highlighting

Cheatsheets

Description Key Bindings
Search directory Ctrl + alt + f (f for file)
Git log Ctrl + alt + l (l for log)
Git status Ctrl + alt + s (s for status)
Search history Ctrl + r (r for reverse-i-search)
Search variables Ctrl + v (v for variables)

For more key-bindings, see the docs

Other Setups

  1. nvim

    set -gx EDITOR nvim # Set default editor to nvim
  2. eza

    Auto remap l, lt and ll ... to use eza

  3. alias code to vscode and chrome to google chrome

    $ code <file or dir>        # Open file or directory via vscode
    $ chrome <file or dir>      # Open file or directory via google chrome

    It's convenient to view markdown file when you have markdown extension in vscode or markdown viewer in google chrome