Skip to content

Nushell

A modern, structured shell that treats data as first-class citizens.

Configuration Paths

  • Config: dotfiles/.config/nushell/config.nu
  • Env: dotfiles/.config/nushell/env.nu
  • Modules: dotfiles/.config/nushell/modules/

Key Modules

The shell is modularized for better maintenance:

  • aliases.nu: Custom shortcuts for common tools.
  • git.nu: Enhanced git completions and status aliases.
  • yazi.nu: File manager shell integration.
  • fzf.nu: Fuzzy finder integrations for history and files.

Common Replacements

Nushell is configured to use modern Rust-based replacements for classic utils:

  • lseza
  • catbat
  • findfd
  • greprg

Shell Keybindings

Line Editing

ActionShortcut
Move to line startCtrl + A
Move to line endCtrl + E
Delete to line startCtrl + U
Delete to line endCtrl + K
Delete word backwardCtrl + W
Clear screenCtrl + L
CancelCtrl + C
Submit commandEnter

History & Completion

ActionShortcut
Previous history itemUp
Next history itemDown
Accept completionTab
Previous completionShift + Tab

Custom Fuzzy Bindings

ActionShortcut
Edit file with fzfCtrl + T
Jump directoryAlt + C
Search historyCtrl + R

Quick Aliases

Run g? in Nushell for the full interactive git cheat sheet.

AliasCommand
yyazi (preserves cwd)
gglazygit
nnvim
jjust
jfjust fmt
jljust lint

Quick Access

Use just hotkeys (or the Nushell alias hk) to fuzzy-search this documentation's hotkey cheatsheet directly from the terminal.

Platform Documentation