Vim: Difference between revisions

From wikinotes
 
(5 intermediate revisions by the same user not shown)
Line 77: Line 77:
{|
{|
|-
|-
| [[viml]]  
| [[viml]]
|-
|-
| [[vim options]]
| [[vim options]]
Line 88: Line 88:
|-
|-
| [[vim indenting]]
| [[vim indenting]]
|-
| [[vim after-directory]]
|-
|-
|}
|}
Line 107: Line 109:
|-
|-
| [[vim motions]]
| [[vim motions]]
|-
| [[vim cursor stacks]]
|-
|-
| [[vim ctags]]
| [[vim ctags]]
|-
| [[vim digraphs]]
|-
| [[vim profiling]]
|-
| [[vim shell]]
|-
|-
|}
|}
</blockquote><!-- Features -->
</blockquote><!-- Features -->

Latest revision as of 15:46, 10 February 2024

A fast, customizable, cross platform editor that generally runs in a console.

Vim is uniqe in that it is modal:

  • text is written in insert mode
  • navigation is performed in normal mode
  • selections made in visual mode
  • commands entered in command mode

Each has it's own keybindings.


Documentation

home https://www.vim.org/
:help https://vimhelp.org/

Locations

Unix
~/.vimrc user config
~/.vim user libraries, syntax, help, plugins, ...
${PREFIX}/share/vim/vim82 official config
${PREFIX}/share/vim/vimfiles distro config
Windows
%HOMEDRIVE%%HOMEPATH%/_vimrc user config
%HOMEDRIVE%%HOMEPATH%/vimfiles user libraries, syntax, help, plugins, ...

Basics

vim intro
vim install
vim troubleshooting

Usage

vim cli
vim diff
vim printing

Configuration

viml
vim options
vim autocmd
vim keybindings
vim plugins
vim indenting
vim after-directory

Features

vim help
vim commands
vim folds
vim registers
vim macros
vim motions
vim cursor stacks
vim ctags
vim digraphs
vim profiling
vim shell