My personal bash zsh ~/home dir configurations
Most of the files in the project are hidden files.
To show hidden files on a Mac use the keyboard shortcut:
⌘^.
-
Split pane horizontally:
Prefix
"
-
Split pane vertically:
Prefix
%
-
Create new window:
Prefix
c
-
Auto arrange panes:
Prefix
space
-
Auto re-arrange pane order:
Prefix
ctrl+o
-
Reorder pane down / up:
Prefix
{
/Prefix
}
ZZ
- Save file & exitzz
- Move current line to the middle of the screenzt
- Move current line to the top of the screenzb
- Move current line to the bottom of the screendd
- Delete current linedw
- Delete word at cursorD
- Delete from cursor to the end of the linex
- Delete character at cursor~
- Toggle case of character under cursorv
- Visual modeV
- Line select visual mode^v
- Column select visual modeVp
- Replace current line with paste buffercw
- Change word at cursorr
- Replace character at cursor^a
- Increment number at cursori
- Insert modeA
- Enter insert mode at the end of lineO
- Create a blank line under cursor and enter insert mode
- Enter column visual mode with
^v
- User arrow keys to select column
I
to enter insert mode- Edit and
esc
to exit insert & visual mode and apply changes
:%s/<search pattern>/<replacement txt>/g
:set nu
- Set line numbers:set rnu
- Set relative line numbers