This repository contains my dot files and some scripts that I use everyday.
# Debian system dependencies
sudo apt install tmux zsh neovim
# Run the following in your terminal
curl --proto '=https' --tlsv1.2 -sSf https://nmkup.nuimk.com | sh
# If you have GPG installed, a more secure option is available
gpg --keyserver keyserver.ubuntu.com --recv-keys 0x551CFC14F537B532DED712EAE84E0669828CF62A
curl -O https://nmkup.nuimk.com/nmkup-init.sh.asc
if gpg --batch --yes -o nmkup-init.sh nmkup-init.sh.asc; then sh nmkup-init.sh; fi
# To start tumx
~/.nmk/bin/nmk
# To start zsh
~/.nmk/login.sh
- bin # Utility shell scripts
- vim # Vim configuration
- zsh # Zsh configuration
F1 -> Next pane
F2 -> Last window
F3 -> Previous window
F4 -> Next window
F5 -> Zoom pane
F6 -> Choose tree
Shift+Fx -> Function key
F12 Fx -> Function key
F12 F12 -> detach
F12 (1-9) -> Select window number x
To use 256 colors, Set TERM
environment variable to xterm-256color
.
Konsole (KDE Terminal):
- Right click and choose
Edit Current Profiles
- Click edit button next to environment label
- Change
TERM=xterm
toTERM=xterm-256color
Overwrite ~/.zshenv
with
export ZDOTDIR=~/.nmk/zsh
source $ZDOTDIR/.zshenv
Then run cp ~/.nmk/zsh/{template/,}zprofile
Log out and log back in.
# Mark this computer as a development machine
# - user@host will not be shown on zsh prompt
# - run development tools without warning
NMK_DEVELOPMENT=[true|false]
To make vim-airline display powerline symbols correctly, you need to install a patched font. Instructions can be found in the official powerline documentation, or just download and install prepatched fonts from powerline-font repository.
All tags in this repository are signed with my public key, run below command to get it.
gpg --recv-keys 0x28B07F9036262EEF4D5B2B21B837E20D47A47347