The document discusses various features of the Vim text editor, including modes (normal, insert, visual), text objects, syntax highlighting, encoding, key mappings, tab pages, and folds. It provides examples of motions and operations in normal mode, editing text in insert mode, selecting regions in visual mode, and syntax definitions. It also covers setting the encoding, defining common key mappings, using tab pages, and folding code with different fold methods.
A brief introduction to Vim as a text editor, stating 'Why Vim' as a key interest.
Mention of various text editors and IDEs including Microsoft Visual Studio, Eclipse, Code Block, Notepad++, GEdit, Emacs, and more.
Examples of Perl scripting in Vim, highlighting usage of 'my $happiness = COS::CUP();' indicating scripting capabilities.
Discussion of Vim, its different versions like gVim, learning curves, and preferences towards its usage.
Explanation of Vim modes (Normal, Insert, Visual) with functionalities and commands for text editing.Discussion on syntax highlighting in Vim, with examples and directory ls command showing 520 supported syntax files.
Details on Vim encoding functionalities and related commands to set file encodings.
Overview of various key mapping commands in Vim, including mappings for insert and normal modes.
Information on text object navigation and actions (yank, delete, change) in text editing.Introduction to tab pages in Vim and methods to manage folds in documents, including syntax and marker folds.
Discussion on file type settings and auto commands for file formatting in Vim, including perltidy and indentation settings.Overview of the QuickFix feature in Vim for handling errors through commands like :grep and :make.
Introduction to various Vim plugins for enhancing functionality, including installation commands through Vimana.Closing remarks and sections for demonstration and Q&A related to the presentation.
Insert Mode
• i: Insert text before the cursor
• I : Insert text before the first non-blank in the
line
106.
Insert Mode
• i: Insert text before the cursor
• I : Insert text before the first non-blank in the
line
• a : Append text after the cursor
107.
Insert Mode
• i: Insert text before the cursor
• I : Insert text before the first non-blank in the
line
• a : Append text after the cursor
• A : Append text at the end of the line
nmap <tab> v>
nmap <s-tab> v<
When mappings and menus are defined with
the |:vmap| or |:vmenu| command they work
vmap <tab> >gv
both in Visual mode and in Select mode.
When these are used in Select mode Vim
vmap <s-tab> <gv
automatically switches to Visual mode, so
that the same behavior as in Visual mode is
effective.
Visual/Select Mode Tab Shift-Tab
$ vimana searchxml
rrd.vim - Edit RRD data with Vim.
qt.vim - tiny tool for the uic used in Qt from
Trolltech
syntax-for-xul - Highlighting for XML User interface Language.
maven2.vim - Compiler plugin for maven2
.... skip