This commit is contained in:
Dmitry Voronin 2023-10-20 01:46:45 +03:00 committed by Dmitry Voronin
parent b6d5e55e77
commit 9b16d64a2c

View file

@ -6,8 +6,8 @@ This is my own custom config that I use on my GNU/Linux machines. Not ment to be
1. [General info.](#general-info) 1. [General info.](#general-info)
2. [Load Gnome settings.](#load-gnome-settings) 2. [Load Gnome settings.](#load-gnome-settings)
3. [Navigation.](#navigation) 3. [Navigation.](#navigation)
4. [Bash commands.](#bash-commands) 4. [Nvim config.](#nvim-config)
5. [Nvim config.](#nvim-config) 5. [Bash commands.](#bash-commands)
# General info. # General info.
@ -99,7 +99,9 @@ Key|Action
More info in [Nvim config.](#nvim-config) More info in [Nvim config.](#nvim-config)
# Nvim config. TODO: preserve default shortcuts, only add new ones when adding new functionality. # Nvim config.
TODO: preserve default shortcuts, only add new ones when adding new functionality.
## General info. ## General info.
@ -280,7 +282,30 @@ Mode|Key|Action
Normal|`-`|Decrease split size vertically. Normal|`-`|Decrease split size vertically.
Normal|`_`|Increase split size vertically. Normal|`_`|Increase split size vertically.
Normal|`\\`|Decrease split size horizontally. Normal|`\\`|Decrease split size horizontally.
Normal|`|`|Increase split size horizontally. Normal|`\|`|Increase split size horizontally.
Normal|`<Space>=`|Equalize split sizes. Normal|`<Space>=`|Equalize split sizes.
# Bash commands. # Bash commands.
## Android.
Command|Description
---|---
`emulator`|Start android emulator. Not portable, it has to be named "default".
## Archive.
Those are self-written scripts to create archives. They are basically compressed tar archives with SHA1 hashes in their names. They are exported so also available in `parallel` like this: `ls | parallel -j 8 -- archive {}`
Command|Description
---|---
`archive [DIRS]`|Create archive with the best compression (slow). If no args given, archives all files in current directory as separate archives.
`archive_fast [DIRS]`|Like normal `archive` but with minimal compression.
`archive_check [DIRS]`|Check specified archives or all archives in current directory.
`unarchive [DIRS]`|Check specified or all archives and extract if they are correct.
## Battery.
Command|Description
---|---
`battery_level`|Print battery charge level (if available).