Questions tagged [file]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
34 views

What is the opposite of set ff command?

I can set a file format to unix or windows by using: :set ff=unix Is there a way to check the file format ?
1
vote
2answers
32 views

How to auto-complete filenames in sub-directories when opening them for editing using e.g. `:e </path/to/file>`?

How to autocomplete filenames in sub-directories when opening them for editing using e.g. :e </path/to/file>? When opening files in sub-directories for editing using e.g. :e </path/to/file&...
2
votes
0answers
41 views

gf with search pattern instead of line number

vim file +80 will open file in vim, with cursor at line 80 vim file +/if/ will open file in vim, with cursor at first line containing if. For vim file +80, inside vim, there is gF. The question: ...
2
votes
0answers
45 views

What is the green <92> that's in my file?

I have a file exported from some system, and in vi when I open the file, there's a green <92> in it when I open it up where an ' ought to be. It messed up my bash script and left a line that ...