File:Vim modes.svg
![File:Vim modes.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Vim_modes.svg/200px-Vim_modes.svg.png?20230812100858)
Original file (SVG file, nominally 200 × 244 pixels, file size: 47 KB)
Captions
Captions
Summary
[edit]DescriptionVim modes.svg |
Magyar: A Vim szövegszerkesztő egyik sajátossága, hogy többféle módja (állatpota) van. Alapból nem szöveget lehet beírni, hanem az egyes betűk egy-egy műveletet végeznek el (ugrás, törlés...). |
Date | |
Source | Own work |
Author | Harp |
It was created as a tikz picture. Source below
\documentclass[tikz,convert={outfile=\jobname.svg}]{standalone}
\newcommand{\Esc}{\framebox{\texttt{Esc}}}
\newcommand{\Enter}{\framebox{\texttt{Enter}}}
\usetikzlibrary{positioning,automata}
\tikzset{ %inner sep = 0.5mm,
%minimum size = 5mm,
>=latex,
every state/.style={draw=blue!50,thick,fill=blue!20,minimum size=1.8cm},
{small point/.style} ={circle,draw=blue!60,fill=blue!30,inner sep=0, minimum size= 1mm},
box/.style ={circle,draw=black!60,fill=black!20,inner
sep=5pt,fill=blue!30,draw=blue!60,rectangle},
{edge/.style} ={thick,draw},
{dedge/.style} ={draw,->},
}
\begin{document}
\begin{tikzpicture}[node distance=1.5cm,/tikz/initial text=,
initial distance=5ex]
\node[state,initial] (n) at (0,0) {normal};
\node[state] (c) [above=of n]
{\parbox[c]{1.5cm}{\small command-line}};
\node[state] (v) [right=2cm of n] {visual};
\node[state] (i) [below=1.5cm of n] {insert};
%\node (h) [below=.5cm of i] {:help vim-modes};
\path[dedge] (n) edge[bend left=15] node[left,near end] {:,/,?} (c)
edge[bend left=15] node[above] {v,V,Ctrl-V} (v)
edge[bend right=15] node[left,near end] {iIaAoOc\ldots} (i);
%\path[dedge] (-1.5cm,0) -- (n);
\path[dedge] (i) edge[bend right=15] node[right,near start] {\Esc} (n);
\path[dedge] (v) edge[bend left=15] node[below] {\Esc} (n);
\path[dedge] (c) edge[bend left=15] node[right,near start]
{\Esc,\Enter} (n);
\end{tikzpicture}
\end{document}
I could only create PDF (direct SVG creation didn't work for me) and then I used pdf2svg command on Linux to convert into SVG. On Fedora and similar use the package texlive-collection-latexextra on Debian and similar texlive-latex-extra
Licensing
[edit]![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:08, 12 August 2023 | ![]() | 200 × 244 (47 KB) | Harp (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on be.wikipedia.org
- Usage on en.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 199.744 |
---|---|
Height | 243.958 |