Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Software

Journal wskellenger's Journal: VIM tips

There are hundreds of tips over at vim.org.

Here are a few that I like, copied from the tips area... I keep them here (and other stuff in my journal) as it's a handy reference area.

:set expandtab | use spaces and not tabs
:set tabstop=n | number of spaces that is a tab
:set shiftwidth=n | spaces to indent in visual mode
:set ignorecase | case sensitivity
 
CTRL-N | word completion
* | search for word under cursor
 
:%!xxd | covert file to hexdump

This discussion has been archived. No new comments can be posted.

VIM tips

Comments Filter:

1 + 1 = 3, for large values of 1.

Working...