
Vim tip of the day: Displaying the current Vim environment You can display the current Vim environment (settings, options, commands, maps, etc) using the... Details: vim.wikia.com/wiki/Displayin…

1st rule: You do talk about Vim. Get ONE daily random Vim tip in your timeline and learn something new. by bit.ly/cris-gh

Vim tip of the day: Displaying the current Vim environment You can display the current Vim environment (settings, options, commands, maps, etc) using the... Details: vim.wikia.com/wiki/Displayin…


We tried to advise you @dhh back in 2024, when you stearted your linux journey 🐧😅 It seems many people follow the same path which more often than not leads to #nix and #nixos ♥️ ❄️ I'm talking about this idea github.com/omacom/omarchy/co…
After years of maintaining shell scripts to setup both Linux and macOS, I eventually arrived at #nix and #nixos. That's the way. My current nix setup: github.com/cristianoliveira/…

The Taboo of Rewriting open.substack.com/pub/vimclu… (Disclaimer not about vim)

Vim Text Object Selection: Select text objects easily with 'a' or 'i' followed by a delimiter (e.g., 'aw' for a word, 'ap' for a paragraph). Precise text manipulation!

Vim Vertical Selection: Make vertical selections using 'Ctrl-v'. Then, edit in block mode with 'I' or 'A'. Perfect for adding comments or altering data in colunms.

Vim Auto-Commands: Set actions on specific events with ':au'. For instance, auto-save on buffer change with ':au BufWritePre * :w'. Automate your Vim workflow!

Vim Visual Line Mode: Select whole lines effortlessly with 'V' in Normal mode. Once selected, apply commands like ':s/search/replace/' or change case with '~'.

Vim Split Windows: Work on multiple files simultaneously! Use ':split' or ':vsp' to divide the editor horizontally or vertically. Navigate with 'CTRL-w' followed by 'hjkl' keys.

Vim Dictionary Autocomplete: In Insert mode, use 'Ctrl-x Ctrl-k' to trigger dictionary-based word completion. Perfect for typing complex words or checking spelling!

Vim Visual Line Mode: Select whole lines effortlessly with 'V' in Normal mode. Once selected, apply commands like ':s/search/replace/' or change case with '~'.

Vim Quick Save: :w saves your file in Vim. But did you know? In Normal mode, pressing 'ZZ' (Shift + zz) does the same, and 'ZQ' (Shift + zq) quits without saving. I bet you didn't know that, at least I didn't.

Vim Auto-Indent: Format your code with 'gg=G'. It auto-indents the entire file based on your current indentation settings. Maintain consistent code structure effortlessly!

Vim Join Lines: Merge lines with 'J'. It joins the line below to the current line, separated by a space. Clean up formatting or combine statements!

Vim Split Windows: Work on multiple files simultaneously! Use ':split' or ':vsp' to divide the editor horizontally or vertically. Navigate with 'CTRL-w' followed by 'hjkl' keys.

Vim Panes to Tabs: Convert a split window into a tab with ':tab split'. Manage your workspace dynamically by switching between tabs and splits!