
Friday, July 16, 2010
Monday, July 5, 2010
working with long lines in vim
some are copied from http://vim.wikia.com/wiki/Best_Vim_Tips
When we have long lines in VIM and we set wrap option to make it a lone lines look like
several lines in view. But the moving across lines using jk are still on real lines. How to work around this?
First, we can map like the following:
noremap <C-J> gj noremap <C-K> gk
That's really useful when dealing with long lines. It lets you use Control-J and Control-K to move up and down screen lines instead of buffer lines with j and k. Control-J isn't really mapped to anything by default, it's like hitting enter, but Control-K is something to do with digraphs. However, noremap won't remove this ability in insert mode.
Alternatively, you could use:
noremap <Up> gk noremap <Down> gj
Wednesday, June 23, 2010
Hiren's BootCD
Hiren's BootCD might be a handy tool when it comes to
repair boot sector in windows 7recover wim to a partition
Thursday, June 10, 2010
windows 7 recover mbr and bootsect
bootsect in under boot folder in windows 7 install disc
easybcd is a good tool to repair automatically.
http://neosmart.net/dl.php?id=1
easybcd is a good tool to repair automatically.
http://neosmart.net/dl.php?id=1
Sunday, April 18, 2010
R pchs, point symbols
Sunday, April 11, 2010
mac rm ssh kerberose
I am not sure what I am doing?
sudo sso_util remove -k -a username -p password -r NAME. OF.KERBEROSREALM
Subscribe to:
Posts (Atom)
