Vim

(New page: Vim is a text editor based off the classic vi editor. It is different from other text editors in that it has different modes of operation. You can learn about vim through various websites....)
(add links, categorise)
Line 1: Line 1:
-
Vim is a text editor based off the classic vi editor. It is different from other text editors in that it has different modes of operation. You can learn about vim through various websites.
+
Vim is a text editor based off the classic [[Documentation/devtools/maemo5/vi|vi editor]]. It is different from other text editors in that it has different modes of operation. You can learn about vim through various websites.
-
Vim is a very capable editor for mobile devices because of its low footprint and effeciency of key strokes.
+
Vim is a very capable editor for mobile devices because of its low footprint and efficiency of key strokes.
== Configuration ==
== Configuration ==
-
Vim can be configured through the ~/.vimrc file. Here are some items that make it easier to use vim on the n900.
+
Vim can be configured through the <code>~/.vimrc</code> file. Here are some items that make it easier to use vim on the [[Nokia N900|N900]].
<pre>
<pre>
Line 14: Line 14:
inoremap jk <esc>
inoremap jk <esc>
</pre>
</pre>
 +
 +
[[Category:Software]]

Revision as of 13:03, 30 May 2011

Vim is a text editor based off the classic vi editor. It is different from other text editors in that it has different modes of operation. You can learn about vim through various websites.

Vim is a very capable editor for mobile devices because of its low footprint and efficiency of key strokes.

Configuration

Vim can be configured through the ~/.vimrc file. Here are some items that make it easier to use vim on the N900.

# Map the comma key to colon
map , :

# Press jk while in insert mode to press escape
inoremap jk <esc>
Retrieved from "https://wiki.maemo.org/Vim"