Re: Moving cursor on wrapped lines
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pavel Shevaev wrote: Is there any option in vim which reconfigures the behavior of up/down buttons so that they move cursor on wrapped virtual lines like on real lines? There might be a better way that I don't know of, but this tips page describes a solution (involving mapping h to gh, etc): http://www.vim.org/tips/tip.php?tip_id=38 Hope this helps, Ricky -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGIUexiXbZ7NjlUcARAlAYAJ93728aqpB9v7Vd7GULKH/HmWNRRwCeJ/YH SCwAzxD52pgkx9cm6BUB8cw= =k4NY -END PGP SIGNATURE-
Re: [Help]How can I add some char before a block?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 陈方荣 wrote: Hi all, How can I add some char before a block? Just like C++ comment. Use V to select the block you want, then type :s/^/\/\// Hope this helps, Ricky -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGHtjniXbZ7NjlUcARAobAAJ41JhevS6njMUaTVPSTbsuaOb5LcQCg5Uek g90dvl8/hixZlSWmhlCWax8= =r5cj -END PGP SIGNATURE-
Re: how to set font italic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 flyfish wrote: i want to set some words in the text file in italic format, but not the whole file, i use gvim and when i set font from the edit menu, and choose italic, it will set all words in that file to be italic, but that is not what i want, how to use command to implement? and i think there is also problem with setting font bold If you're editing a plain text file, then you can't really control text formatting. That kind of functionality would only be present in other formats (such as those created by most word processors, etc.) Hope this helps, Ricky -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGF8BQiXbZ7NjlUcARAsW8AKCtzFAgSs4L/9xmjyNggqTWXSr3/wCfUFVM V83WLWspHAQYReXGJGGt6dE= =frlX -END PGP SIGNATURE-
Re: Trying to use GetLatestVimScripts on Mac OS X
On 5/30/06, Peter Hodge [EMAIL PROTECTED] wrote: Just discovered GetLatestVimScripts command, but it doesn't work on my Mac because I don't have the 'wget' tool. Does anyone know where I could get it from? You should be able to install it via fink (fink.sf.net) Ricky
Re: Please help
On 5/24/06, Tien Pham [EMAIL PROTECTED] wrote: Dear all I have a very large file containing 7000 lines of data in a single column. Below is a sample. Many of them are 7 digit numbers and others are 8 digit numbers. For those 7 digit numbers, I need to add number 0 at the beginning of it. Can someone please show me a command to do it all in one hit? Those 7 digits numbers have no regular patterns, except that they have 7 digits, and the order of all numbers in the column has to remain unchanged. Can't you simply replace seven digits surrounded by new lines? Something like this: :%s/^\(\d\{7\}\n\)/0\1/ Hope this helps, Ricky
Re: VIM7.0: How to switch off the spell check function? Thanks a lot.
On 5/8/06, Japerlh [EMAIL PROTECTED] wrote: VIM7.0: How to switch off the spell check function? I think the commands are: Enable- :set spell Disable- :set nospell