/vim

Primary LanguageVim Script

Vim

Books

The web has a load of good Vim tutorials, covering how to use Vim and scripting tips.Here is a link to a very comprehensive online book: http://learnvimscriptthehardway.stevelosh.com

WWW Vim Knowledge

The History of hjkl

Back in the days of 1976 there was this thing. Some things never change!

Prepare your Computer

Python3 Libs

If Vim requires a Python 3 version that isn't installed on your computer, get the Python 3 files (embedded release) and extract them. Add this lines in your startup code to tell Vim where to find the missing files, here Python V3.11.

set pythonthreehome=%LOCALAPPDATA%\\Programs\\Python\\Python311emb
set pythonthreedll=%LOCALAPPDATA%\\Programs\\Python\\Python311emb\\python311.dll

Vim Script Snippets

Get longest string in list

vim9 echo ["dasdsadsa", "eee"]->copy()->map((_, line: string) => line->strcharlen())->max()