<commit_before># Useful VIM tips

# Commands
## Cheat Sheet
 * C-f when in command mode gives you the command history window.
 * C-r" pastes the buffer into the command
 * C-r/ pastes in the last search command

# Searching
## Cheat Sheet
 * Search forward/backword for exact word under the cursor - '*'/'#' e.g. whole words only
 * Search forward/backword for inexact word under the cursor - 'g*'/'g#'  
 * Search for selected text: y/C-r" (yank selection, start search, copy to command)
 * Jump to first match - :ij /foo
 * Jump to second match - :ij 2 /foo
 * List matches - :ilist /foo

## Case sensitivity<commit_msg>More tips<commit_after># Useful VIM tips

# Commands
## Cheat Sheet
 * C-f when in command mode gives you the command history window.
 * C-r" pastes the default register into the command
 * C-ra pastes the a register to the command.
 * C-rC-o" pastes the default register into the command without escaping control chars etc.
 * C-r/ pastes in the last search command
 * ":p pastes the last command you used into the buffer
 * :@" execute command in the default register

# Searching
## Cheat Sheet
 * Search forward/backword for exact word under the cursor - '*'/'#' e.g. whole words only
 * Search forward/backword for inexact word under the cursor - 'g*'/'g#'  
 * Search for selected text: y/C-r" (yank selection, start search, copy to command)
 * Jump to first match - :ij /foo
 * Jump to second match - :ij 2 /foo
 * List matches - :ilist /foo

## Case sensitivity
{'fraction_non_alphanumeric': 0.09590878604963111, 'fraction_numerical': 0.0013413816230717639, 'mean_word_length': 3.4404761904761907, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1151389', 'n_tokens_mistral': 459, 'n_tokens_neox': 437, 'n_words': 212}