MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 8 as of 2015-03-16 11:23:37
  • vim

vim

Console text editor for *NIX.

Zenburn look and feel for Vim and GVim

Edit ~/.vimrc and add the following

set t_Co=256
colors zenburn

Run the following:

  • mkdir -p ~/.vim/colors
  • cd ~/.vim/colors
  • wget https://github.com/jnurmine/Zenburn/blob/master/colors/zenburn.vim

Zenburn colors: zenburn.vim

Exit without save

  • Escape
  • :q!

Save and exit

  • Escape
  • :wq

Insert

  • Escape
  • Place cursor
  • Press i

Delete line

  • Escape
  • Place cursor
  • Press dd

Delete character

  • Escape
  • Place cursor
  • Press x

Undo

  • Escape
  • Press u

Copy

  • Escape
  • Place cursor on start
  • Press v
  • Select with cursor
  • Press y

Cut

  • Escape
  • Place cursor on start
  • Press v
  • Select with cursor
  • Press d

Paste

  • Escape
  • Place cursor on destination
  • Press p

Search and replace all occurrences

  • Escape
  • :%s/oldString/newString/g

Vi settings

Settings are saved in ~/.exrc. For OpenSolaris/OpenIndiana

set number
set showmode
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01