My personal minimalist configuration files. The main focus is in security and simplicity, so only known softwares are used and hacks are avoided.
This setup puts the ~/.local/bin
directory in the system's path, thus the user is able to put scripts and programs there and call them anywhere.
cd # go $HOME
git clone https://github.com/lopes/dotfiles
\cp -rf dotfiles/.{config,screenrc,vimrc,zshenv} ~
mkdir -p .cache/zsh .local/bin
The backslash disables any aliases when preceeds a command.
Just documenting some shortcuts of my daily use.
control-c
: Kill foreground processcontrol-l
: Clear the screencontrol-r
: Search historycontrol-g
: Quits search historycontrol-u
: Clear the entire linecontrol-a
: Go to the beginning of the linecontrol-e
: Go to the end of the linecontrol-left
: Previous wordcontrol-right
: Next wordfn-left
: Beginning of linefn-right
: End of line
control-s
: Savecontrol-q
: Exitcontrol-k
: Cut the entire linecontrol-c
: Copycontrol-v
: Pastecontrol-z
: Undo changescontrol-y
: Redo changes
:wq
: Save and exit:q!
: Exit without savedd
: Cut the entire lineyy
: Copy the entire lineyw
: Copy the word under the cursorp
: Paste copied textu
: Undo changescontrol-r
: Redo changesshift-g
: Go to the end of filegg
: Go to the begining of file$
: Go to the end of line^
: Go to the begining of lineg~w
: Toggle the case for word under cursorcontrol-v
: Go to visual mode -esc
to exit
Some Vim commands can be combined to alter their behavior, for instance
d$
cut all characters from the cursor to the end of line.
/sentence
: Search forsentence
$mod-shift-q
: Kill the current window$mod-shift-e
: Exit i3$mod-shift-r
: Reloads i3$mod-enter
: Open a new terminal$mod-space
: Open app launcher
Install basic packages, make sure that zsh
is the default shell, and then follow the instructions above to install dotfiles.
pkg install zsh git man
chsh -s zsh
Vol.Up-k
: shows or hides extra keysVol.Up-q
: just likeVol.Up-k
Vol.Up-t
: tab keyVol.Up-e
: escape keyVol.Up-w
: up arrow keyVol.Up-a
: left arrow keyVol.Up-s
: down arrow keyVol.Up-d
: right arrow keyVol.Up-h
: tilde key