Simple, no bullshit, dotfiles.
- Branch status indicator
- Exit status indicator
- Directory name indicator
- Branch name indicator
Creating splits and windows:
Alt + w
: new windowAlt + s
: new vertical splitAlt + S
: new horizontal split
Movement:
Alt + hjkl
: split movementAlt + u
: Move to window on the leftAlt + i
: Move to window on the right
Resizing:
Alt + <
: Resize panel to leftAlt + >
: Resize panel to right
git clone https://github.com/shiroyasha/dotfiles ~/dotfiles
cd ~/dotfiles
./install
For vim setup visit:
https://github.com/shiroyasha/neovimfiles
sudo apt-get install ninja-build gettext cmake unzip curl
cd /tmp
git clone https://github.com/neovim/neovim
cd neovim
git checkout v0.9.1
sudo make install
Takes around 60 secs to build and install.
ASDF:
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.12.0
Node:
sudo apt-get install build-essential
asdf plugin add nodejs
asdf list all nodejs
asdf install nodejs 20.5.1
asdf global nodejs 20.5.1
Ruby:
sudo apt-get install libz-dev
sudo apt-get install libyaml-dev
asdf plugin add ruby
asdf list all ruby | grep "3.2.0"
asdf install ruby 3.2.0
asdf global ruby 3.2.0
gem install bundler
gem update --system 3.4.18
gpg --list-keys
gpg --export-private-key -i <id> > private.key
gpg --import private.key
Find paths on remote:
gpgconf --list-dirs agent-extra-socket
Find paths on local:
gpgconf --list-dirs agent-socket
Configure forwarding in ~/.ssh/config on the local machine:
Host remote
RemoteForward <remote socket> <local socket>
Copy the public key to the remote:
scp .gnupg/pubring.kbx <REMOTE>:~/.gnupg/
On remote, active the agent:
echo use-agent >> ~/.gnupg/gpg.conf
echo "extra-socket $HOME/.gnupg/S.gpg-agent.extra" >> ~/.gnupg/gpg.conf
On remote, modify the server:
StreamLocalBindUnlink yes
On remote, disable gpg-agent startup:
sudo systemctl --global mask gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket gpg-agent-extra.socket gpg-agent-browser.socket
killall gpg-agent
Restart SSH server:
sudo service ssh restart