
Explore the vim introduction and unlock its potential, including gui versions like gvim and macvim, cross-platform support, and features like syntax highlighting, code folding, and vimdiff.
Explore installing vim and gvim on Linux, Windows, and Mac, then learn vim modes, colorschemes, and core commands like copy, paste, undo, redo, and search.
Install vim on linux and learn the cmd mode and gui gvim across Debian-based and Red Hat-based distros, with Ubuntu 20.04 installation commands.
Download and install gVim for Windows from vim.org, explore the graphical and command line editors, and learn to use gVim diff and read-only mode.
Download macVim for macOS and start using it; macVim is similar to gvim, providing a familiar Vim experience on macOS.
Choose your vim setup by operating system and install vim or gvim on Windows, macvim on mac, or vim on Linux, with ubuntu-20.04 used to cover basics to advanced concepts.
Discover the key Vim modes—normal, insert, visual, command, and replace—and learn how understanding these modes lays the foundation before exploring Vim in depth.
Navigate Vim's normal mode, entered via Esc, and move with arrow keys or h, j, k, l; use i and v for limited input in a read-only context.
Enter insert mode in Vim by pressing i and type as usual, like a normal editor. Press Esc to leave insert mode and return to normal mode.
Master vim visual mode to select text and apply commands to the selection, including copying, deleting, and replacing, with character, linewise, and block visual modes (v, shift+v, ctrl+v) for commenting.
Learn how to enter Vim command mode with a colon, then execute commands like help and pwd, and exit with q as you explore the wide range of available commands.
Overwrite mode in Vim lets you overwrite text by typing over it after entering from normal mode by placing cursor on first character and pressing capital R; exit with Esc.
Learn how Vim command hints work using tab completion in command mode to reveal and execute commands such as help and hlsearch, with hands-on practice.
Explore Vim color schemes to customize the editor’s look and readability. Switch between default, morning, desert, and evening modes with the colorscheme command and experiment to find your preferred setup.
Explore Vim basic commands Part 1, practicing copy, delete, cut, and paste in normal and visual modes to edit files comfortably in daily tasks.
Copy and paste in vim's normal mode using yy for single lines and p to paste, including multi-line yanks. Enable system clipboard with set clipboard=unnamedplus to paste into external editors.
Learn to copy and paste in vim visual mode by selecting lines with v, y to yank, and p to paste, enabling the system clipboard with unnamedplus for cross-editor use.
Delete content in Vim using normal mode with dd for single or multiple lines, and visual mode by selecting then pressing d, and use the home key to navigate.
Master cut and paste in Vim's normal mode with dd and p, count lines for multi-line cuts, and enable the unnamedplus clipboard for cross-editor pasting.
Master cutting and pasting in Vim using visual mode by selecting lines with v, deleting with d, and pasting with p, then explore the global clipboard and cross-editor compatibility.
Learn Vim basic commands part 2: save with w, quit with q or force quit with !, and undo and redo with u and Ctrl+R.
Explore Vim special commands, including how to use help, history, search and replace, and highlight to focus on words; learn to apply these features for efficient editing.
Explore vim help and history, learn to access help in command mode, search topics, view undo guidance, and review command history to understand vim workflows.
Learn how to search in Vim using star and slash, perform forward and backward searches, and navigate results with n and N in normal mode.
Master search and replace in Vim using command mode, with single and global replacements, multiple string handling, and options for confirmation and case sensitivity.
learn how vim highlights search results with set hlsearch, highlighting each and every occurrence of a string (partial or complete) to make the eye comfortable when scanning a file.
Explore intermediate vim topics, including window splitting, vim diff, and word auto complete, then learn indentation, running commands inside vim, and the vimrc concept with startup scripts, mappings, and options.
Master advanced Vim concepts in this first part of the intermediate lecture, including split window concept, diff, and word autocomplete. Learn multiline comment and uncomment to edit more powerfully.
Vim's split window concept with horizontal and vertical splits, resize panels, switch between windows, and close them; learn to combine multiple splits for flexible editing.
Learn the vim diff concept and use cases to compare two files and view differences between a source and destination file using vim -d or vimdiff.
Master word autocomplete in Vim by using Ctrl+n and Ctrl+p to fetch hints from the top or down, then automatically complete words in insert mode.
Demonstrate using vim to create and remove multiline comments with visual block selection, applying language-specific prefixes like // or #, and toggling comments using escape and X.
Learn Vim indentation to improve code readability by configuring softtabstop=4, shiftwidth=4, expandtab, and autoindent, then use visual mode or normal mode commands like = and gg=G to indent code.
Learn three ways to run commands inside Vim: exclamation mark, shell command, and direct command mode, and switch back to Vim after running shell tasks.
Discover how to create and configure a vimrc file in the Linux home directory for each user, and apply settings such as hlsearch to enable search highlighting.
Explore how vimrc works on windows by creating underscore vimrc in the home directory, editing with colon e in gvim, and disabling search highlighting.
Learn how to create a vimrc for Mac and Linux using the same commands discussed for Linux, showing that the concept is the same for Mac.
Master basic vimrc configuration to customize vim, exploring hlsearch, showmatch, and ignorecase settings, editing and saving changes in the terminal for practical navigation.
Explore advanced Vim configuration by mastering key mappings for repeated commands, understanding leader mapping as a subset, and using set and let to configure options, variables, and registers.
Explore vim key mapping to create shortcuts that repeat key sequences and invoke commands across normal, insert, and visual modes. Learn mapping commands such as map, nmap, nnoremap, imap, vmap, and their unmap variants, plus practical examples using F3 and F4.
Learn how Vim maps the leader key with mapleader, defaulting to backslash, and how to change it to comma. Configure vimrc to apply mappings across normal and visual modes.
Explore how to replace set with let in vim to configure options, variables, registers, and environment variables, and enable hlsearch in your vimrc.
Explore vim advanced topics by mastering plugin managers such as pathogen and vundle, plus nerdtree, tagbar, code folding, buffers, markers, registers, macros, and eclipse configuration with ctags, cscope, and bin_to_hex.
Explore Vim plugin managers to simplify configuring plugins like nerdtree and tagbar; compare Pathogen and Vundle, and follow a demo using Pathogen throughout the course.
Explore how to set up the vim plugin manager vundle, configure vimrc, install nerdtree and tagbar, and compare vundle with pathogen for managing vim plugins.
Configure nerdtree in vim by editing the vimrc in your home directory and mapping F4 to toggle the file browser. Open files with enter; refresh with capital R.
Master tagbar and nerdtree in vim to simulate an eclipse-like IDE. Configure vimrc mappings for tagbar (F5) and nerdtree (F4) and use control-w w to switch.
Learn Vim code folding with fold by indent and fold by syntax, using foldmethod and foldlevel to manage visible code blocks, and practice opening and closing folds.
Learn how vim buffers let you open multiple files in memory, switch between them with bp, bn, or b <index>, and split the view horizontally or vertically to work efficiently.
Learn how to use Vim marker to create and manage bookmarks within a file, access them exactly or globally, view markers with marks, and delete them with delmarks.
Explore Vim registers as memory storages for copied or deleted text, commands, and file names; access unnamed, named, and numbered registers, including block, line, and character wise operations.
Record Vim macros with q and a name, replay with @ to automate commands, and manage macros in registers for tasks like set nu and gg=G auto-indent.
Configure Vim as Eclipse by enabling features like file browser, code outline, search highlight, and code parsing. Explore jumping to function definitions, macros, and variable usages, and review caller relationships.
Explore mouse movement in gVim by default and enable it in vim with set mouse=a, then use the mouse to open files and switch between nerdtree and the active window.
Enable nerdtree with tab to open multiple files in vim, configure via vimrc with pathogen/vundle, map tab toggle to f5, and use tabnew to manage tabs and mouse navigation.
Ctags is a powerful tool for parsing code that enables navigation of large source projects and jumping to definitions across files in Vim with multi-language support.
Combine cscope with ctags to broaden code parsing beyond ctags alone, and generate cross references for definitions and function calls using vim mappings and the cscope build workflow.
Edit binary files in vim by converting to hex with xxd, viewing hex mode, and toggling back to binary via a vimrc mapping like F8.
Explore how vim can emulate eclipse by configuring plugins and utilities, enabling mouse navigation, file browsing with NerdTree, code outlining with Tagbar, and code parsing with ctags, cscope, and Bin_to_hex.
This course is not a boring tutorial on VIM editor at all. I have designed this course keep in mind the practical and real day to day challenges faced by any individual either in coding program or any file editing.
Is VIM a boring text only editor ?
If your answer is yes, then your decision to take this course is right. Because vim is not a boring text editor at all.It has GUI version too and it is very powerful editor. If configured properly, then you can start enjoying it just like your popular GUI IDE like eclipse.
If your answer is no, then you have some understanding of VIM editor. Coming along this course, you will not a basic vim editor user, but you will unleash the true potential of VIM.
At the end of this course, you will be very comfortable in using vim and gVim just like any popular IDE like eclipse.
You will be able to get most of the editing along with file browsing, code outline, building code, code parsing, code indentation and so many other features which any IDE provides.
Once you will understand all the concepts of VIM advanced tutorial, you no long need any GUI IDE.
I have uploaded the corrected captions for all the lectures of VIM advanced tutorial. So use the caption for maximum benefit of this course. This course has every lecture starting with theory in first 20 to 30% part then, moving towards hands-on of whatever discussed in theory part. That's why first understand theory then only go alone each lecture to hands-on. Don't skip first 20 to 30% of theory concept.
*** Please note that this "VIM advanced tutorial" course will keep updating to improve the course and meet any specific area of interest within the scope of the course based on students feedback and demand. ***