Vim script: Functions

Functions in Vim script starts with the function keyword and ends with the endfunction keyword. :function PrintMessage() :echo “Hello World” :endfunction To run this function use the call command: :call PrintMessage() Function names User-defined functions in Vim script must start with a capital letter unless they are explicitly scoped. This is to prevent name conflicts …

Vim script: Functions Read More »

Vim Abbreviations

Vim abbreviations can be used to automatically expand words or phrases which you commonly use. It can also be used to correct common spelling mistakes. Use the abbreviate command to define abbreviations, the command can be shortened as ab. Abbreviations work in the insert and command-line modes.  Define the following abbreviations. :ab teh the :ab …

Vim Abbreviations Read More »

How to zoom video in VLC

VLC media player supports two types of zoom: basic zoom and interactive zoom. Basic zoom simply increases the size of the whole video, while interactive zoom allows you to zoom in on a specific portion of the video. Interactive zoom To enable interactive zoom: Go to Tools ➾ Effects and Filters ➾ Video Effects ➾ …

How to zoom video in VLC Read More »