gibney.org
:
Technology
:
Vim
:
First Steps
(Entry Nr. 357, by user 1 |
edit
)
Useful keys: <br> <br>ESC - ESC : Change to normal mode <br>i : Change to Insert mode <br> <br>CTRL+G : Show the name of the current file <br> <br>Some useful commands: <br> <br>:qa! : quit <br>:set mouse=a : enable mouse to resize windows <br>:set linebreak : enable textwrap of long lines <br>:set noswapfile : disable creation of .swp files <br> <br>Commands that make everything except the text go away: <br> <br>:hi nontext ctermfg=0 <br>:set noruler <br>:set noshowmode <br> <br>Wanna execute commands on startup? Put them here: <br> <br>/etc/vim/vimrc <br> <br>Make colors brighter: <br> <br>:set background=dark <br> <br>Make them dark again: <br> <br>:set background=light
Create a new entry at this position