Using following .vimrc
" Just to see tab/spaces/endline clearly: set encoding=utf-8 set list set listchars=tab:▸\ ,eol:¬ nnoremap <F5> :set list!<cr> " Tab to spaces settings set tabstop=4 set softtabstop=4 set shiftwidth=4 set shiftround set expandtab " paste and pastetoggle settings set nopaste set pastetoggle=<F2>
Now open a test-file and type following:
- go to insert mode
- TAB => gives space
- to insert-paste mode
- TAB => gives TAB but i would like spaces
Is it possible to have spaces in the insert-paste mode or do I really have to leave PASTE mode each time again? I just like to stay in paste mode as i copy-paste a lot of snippets constantly from other terminals.