LazyVim

Summary

Notes taken on my learnings and usage of LazyVim.

Sources

LazyVim for Ambitious Developers

Dashboard Mode (lazyvim only)

The menu mode that opens when you open up Lazyvim without a file.

Normal Mode

<count><verb><count><motion> - structure of standard command

" - Open the registers mini-mode for pasting from
s - seek mode, select text that is visible
f - find mode
F - backwards find mode
t - To mode

[Read More]

Port Forwarding

SSH

Local Port Forwarding

Open a tunnel from the client to a server. AKA trying to point your web browser at a private web server.

Format:

ssh -L <local_port>:<remote_addr>:<remote_port> <server>

If you want to access something on the remote server itself, use localhost as the remote_addr

Examples

Port forward a postgres database running on the remote:

ssh -L 5432:localhost:5432 myuser@myserver

Access a private database from an admin host:

ssh -L 5432:database.rds.amazonaws.com:5432 myuser@admin-host

Remote Port Forwarding

Format:

[Read More]