Can we write functions / routines in csh or vim?
Basically, my question is how to automatically strip backslash inside the string that we use to search in vim.
Let's say:
File_a file contents:
abcd a/b/c/d
Now, if I look for "abcd" inside vim with "/ abcd" in command mode, it will match abcd (first line). And if I search for "a / b / c / d", it will not meet the goals of "a / b / c / d". It will only match "a" from "a / b / c / d".
To combine the whole 'a / b / c / d', I would need to look for a\/b\/c\/d . Dropping backslashes is a pain every time you want to look for strings that have backslashes inside. :)
Have any of you decided this before?
source share