Skip to content

Instantly share code, notes, and snippets.

{
"keymaps": {
"0": { "type": "scroll.home" },
":": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
@MahmoudDolah
MahmoudDolah / vimrc_minimal
Last active April 13, 2020 20:52
My super minimal vimrc | minimal_vimrc
set so=999
imap jj <Esc>
set number
set relativenumber
set nohlsearch
syntax on
set mouse=a
@MahmoudDolah
MahmoudDolah / logbook
Last active February 15, 2023 18:46
Alias or shell function to be put in zshrc/bashrc quickly generage a logbook
# Logbook
LOGBOOK_DIR="$HOME/Documents/logbook"
function lb() {
# Creates logbook entry and opens it up in Vim
mkdir -p $LOGBOOK_DIR
vim $LOGBOOK_DIR/$(date '+%Y-%m-%d').md
}
function lbs() {
touch $LOGBOOK_DIR/$SPRINT_NUM
}