I am a new vim user, and I don't know why but my first buffer (the [No Name] buffer) is not empty each time I open it, still after rebooting my computer.
It begins with :q!
then the end of my .vimrc file.
And when I open a file with vim from the command line it says before :
"client.c" "client.c" 58L, 1558C
Press ENTER or type command to continue
And then a buffer with the file content preceded by the same text as when I open vim without opening a file, like described before.
I may have done something wrong but I don't know what and I haven't found any information about how to change the default buffer.
Edit: The text begins by :
:q!¬
¬
" Add plugins to &runtimepath¬
call plug#end()¬
¬
" Syntastic¬
set statusline+=%#warningmsg#¬
set statusline+=%{SyntasticStatuslineFlag()}¬
set statusline+=%*¬
¬
let g:syntastic_always_populate_loc_list = 1¬
let g:syntastic_auto_loc_list = 1¬
let g:syntastic_check_on_open = 1¬
let g:syntastic_check_on_wq = 0¬
¬
¬
" Window navigation with Control¬
nnoremap <C-h> <C-w>h¬
nnoremap <C-j> <C-w>j¬
nnoremap <C-k> <C-w>k¬
nnoremap <C-l> <C-w>l¬
" Tab navigation¬
nnoremap th :tabfirst<CR>¬
nnoremap tj :tabnext<CR>¬
nnoremap tk :tabprev<CR>¬
nnoremap tl :tablast<CR>¬
nnoremap tt :tabedit<Space>¬
nnoremap tm :tabm<Space>¬
nnoremap td :tabclose<CR>¬
nnoremap tn :tabnew<CR>¬
nnoremap to :tabonly<CR>¬
nnoremap ts :tab split<CR>¬
:q!
followed by the end part of my.vimrc
. – Nicolas Scotto Di Perto Jan 29 '16 at 21:10:q!
in your vimrc? – jjaderberg Jan 29 '16 at 21:21