gibney.org : Technology : Vim : First Steps


just a logo :)

search:


See as: raw | code

terms of service | imprint

gibney.org
is powered by m1d1





First Steps
(Entry Nr. 357, by user 1 | edit)
Useful keys:

ESC - ESC : Change to normal mode
i : Change to Insert mode

CTRL+G : Show the name of the current file

Some useful commands:

:qa! : quit
:set mouse=a : enable mouse to resize windows
:set linebreak : enable textwrap of long lines
:set noswapfile : disable creation of .swp files

Commands that make everything except the text go away:

:hi nontext ctermfg=0
:set noruler
:set noshowmode

Wanna execute commands on startup? Put them here:

/etc/vim/vimrc

Make colors brighter:

:set background=dark

Make them dark again:

:set background=light
Create a new entry at this position