Questions tagged [cword]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
4answers
412 views

How do I change the word under the cursor?

I've written a little function that changes a 'CamelCaseWord' to a space separated 'camel case word': " Convert a CamelCase word to space separated words. function! s:converFromCamelCase(arg1) ...
0
votes
1answer
69 views

<CWORD> not always working with symbols

As question imply, I'm trying to make a command based on the word under cursor, but that is between two character, in this example, asterisk. Inspired from here, I made: map <F3> "zyiw:exe &...
2
votes
0answers
32 views

ignore leading ansi escape sequence (^[[K) from isfname

I am using AnsiEsc to look at colorized terminal printout, the printout contains bold face filenames (e.g. from gcc). This typically looks like ^[[01m^[[Kmyfile.cpp:32:21:^[[m^[[K AnsiEsc handles ...