| command | description |
|---|---|
| ctrl + a | Goto BEGINNING of command line |
See also:
-
vinegar.vim, which makes - open netrw in the directory of the current file, with the cursor on the current file (and pressing - again goes up a directory). Vinegar also hides a bunch of junk that's normally at the top of netrw windows, changes the default order of files, and hides files that match
wildignore.With vinegar, . in netrw opens Vim's command line with the path to the file under the cursor at the end of the command. ! does the same but also prepends
!at the start of the command. y. copies the absolute path of the file under the cursor. ~ goes to your home dir. Ctrl+6 goes back to the file (buffer) that you had open before you opened netrw.
To launch netrw:
Inspired by parmentf/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| #include <iostream> | |
| #include <sys/stat.h> | |
| #include <fstream> | |
| void compress( char** input); | |
| unsigned long long int fileSize(std::string fileNameWithextensionSTR); | |
| void diffsize(std::string fileNameWithextensionSTR1,std::string fileNameWithextensionSTR2); | |
| inline bool IsMP4FileExists (const std::string& name); | |
| using namespace std; | |
| int *argcGlobal=0; | |
| int main(int argc, char **argv) { |
To install and update packages on Debian, Ubuntu, or most derived distributions, you use APT, the Advanced packaging tool, to download the packages and their dependencies, which uses dpkg to install them.
These notes go into the downloading part, as I think it's easy to get overwhelmed by how the repositories work. I will eventually turn this into a page on my website.
A repository is where the packages come from. It provides binary packages for an arbitrary selection of architectures as well as source packages. Repositories are APT's data source. [https://wiki.debian.org/DebianRepository]
| # vim modes | |
| defualt mode: normal mode | |
| i -> insert mode (inserting the text) | |
| v -> visual mode (selecting the text) | |
| esc -> exit the mode (back to normal mode) | |
| # vim commands | |
| :q -> quit |
