- 3190
- 771
- 557
- 2942
- 1108 (x2)
- 509
- 2413
- 2469
- 2154
From this Gist, insert all the data to a database aggree
. You may use a MongoDB client of choice.
To do this in mongosh:
use aggree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl+Shift+P, F1 Show Command Palette | |
Ctrl+Enter Insert line below | |
Ctrl+Shift+Enter Insert line above | |
Ctrl+] / [ Indent/outdent line | |
Home/End Go to beginning/end of line | |
Ctrl+Home Go to beginning of file |
This is not intended as a tutorial. It is a reference on what every vi key binding does, followed by some useful vi tricks and tips. An expert will probably know most of these already, but an intermediate vi user will find valuable information, and even an expert may learn a thing or two. complete key binding reference
Key | Action | Followed by |
---|---|---|
a |
enter insertion mode after current character | text, ESC |
b |
back word | |
c |
change command | cursor motion command |
d |
delete command | cursor motion command |
e |
end of word |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# YAML cheat sheet | |
# Reference: https://www.youtube.com/watch?v=cdLNKUoMc6c | |
# object | |
person: | |
# string value. single/double quotes | |
# anchoring | |
name: &name "daniel" # anchor name doesn't have to be the same as key name | |
occupation: 'student' |
- Install Neovim with instructions from here
- Run
alias vim=nvim
to use 'vim' as an alias. ie: Run Neovim with thevim
command. - Run
echo 'alias vim=nvim' >> .zshrc
to save the alias to shell configuration. This command shown here only works for zsh.