Skip to content

Instantly share code, notes, and snippets.

View mbvgua's full-sized avatar

mbvgua

  • block
View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 7, 2026 04:59
Conventional Commits Cheatsheet
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 7, 2026 04:40
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@romainl
romainl / Vim_pushing_built-in_features_beyond_their_limits.markdown
Last active April 16, 2026 04:49
Vim: pushing built-in features beyond their limits

Vim: pushing built-in features beyond their limits

The situation

Searching can be an efficient way to navigate the current buffer.

The first search commands we learn are usually / and ?. These are seriously cool, especially with the incsearch option enabled which lets us keep typing to refine our search pattern. / and ? really shine when all we want is to jump to something we already have our eyeballs on but they are not fit for every situation:

  • when we want to search something that's not directly there, those two commands can make us lose context very quickly,
  • when we need to compare the matches.
@lestoni
lestoni / gist:8c74da455cce3d36eb68
Last active May 22, 2026 22:27
vim folding cheatsheet

via (https://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun)

  • zf#j creates a fold from the cursor down # lines.
  • zf/string creates a fold from the cursor to string .
  • zj moves the cursor to the next fold.
  • zk moves the cursor to the previous fold.
  • zo opens a fold at the cursor.
  • zO opens all folds at the cursor.
  • zm increases the foldlevel by one.
  • zM closes all open folds.