Hi list,
I'd like to stop vim from modifying the first n columns of a buffer, no
matter what I do in it.
Consider the following data, where the number isn't vims internal line
numbers, but actual data:
50 ./bin/
51 ./cgi/
52 ./dev/
53 ./devlaleh/
54 ./emu/
55 ./etc/
Now, I'd want to perform any action in this buffer, for example a simple:
:%s/ /_/
and I need vim to *think* that the buffer starts at column 9.
I know that I can solve this with mappings and functions, but this isn't
an option in this case.
How would I go about solving this please?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monday, December 3, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment