Weird output from ls command in Terminal

command lineterminal

I recently started customising my Mac terminal and adding Vim stuff. After some time I noticed that when executing ls command, I keep getting:

)<CR>?vnoremap <Space> zf??

along-with regular ls command output. For example:

$ ls
)<CR>?vnoremap <Space> zf?? Documents                   Movies                      Public
Applications                Downloads                   Music                       Workspace
Desktop                     Library                     Pictures

I have no idea where it is coming from. It happens only in ls command and it happens in both built-in Terminal.app and iTerm2 (zsh shell).

I have tried grep-ing <Space> pattern (etc.) in my Home directory, but there is no file with such string.

Best Answer

noremap - command from vim, so when saving file, the name has been assigned. A detailed ls would help or installing something like Midnight Commander, which runs with as simple mc command and helps to evaluate it visually.