-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +1
Experiencing similar problems , i'll had to re-indent everything again , also wondering if there used to be a solution On 10/05/2010 04:17 PM, Alexander Dietz wrote: > Hi, > > I have the following problem with vim. I am trying to copy the > following text from an xterm: > > # ----------------------------------------------------- def > external_call(command): """ Makes an internal call to the shell > (with the current set environment), wait for completion and returns > the output and error of the command. @param command: command to be > executed internally @return: a tuple (status, output, error) """ > > into a vim session (by using shift - middle mouse button), but the > result is as follows: > > # ----------------------------------------------------- def > external_call(command): """ Makes an internal call to the shell > (with the current set environment), wait for completion and returns > the output and error of the command. @param command: command to be > executed internally @return: a tuple (status, output, error) """ > > which is not what I want! My .vimrc contains the following > content: > > :set number :set paste :set mouse=a > > autocmd FileType * set tabstop=2|set shiftwidth=2|set noexpandtab > autocmd FileType python set tabstop=4|set shiftwidth=4|set > expandtab autocmd BufEnter * set ai sw=4 ts=4 sta et fo=croql set > softtabstop=4 " makes the spaces feel like real tabs > > > Any idea how to change the settings so that the text is correctly > inserted into vim? > > > Thanks Alex -- You received this message from the "vim_use" > maillist. Do not top-post! Type your reply below the text you are > replying to. For more information, visit > http://www.vim.org/maillist.php - -- Best Regards, Aaron Lewis - PGP: 0xDFE6C29E Key Server: http://keyserver.veridis.com Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJMquOwAAoJECSSp9Df5sKezSMP/A2WZMGJER2JDHHvPvAjWYbY EJUogT9PJjOg7PbOvwiEGXESerY/SOa3KY/fKQ8DazJ9wOVmDYAC7UzceB0Ez3DP eeYXMOXOtEB6dlpuGrCf6PRsDosemFYjLZ0J06fDSdonKaonw+dBA1yQTHKGL6fS mte0W21HyC1znc4CTN0rBWs4NsAba9mAVlVpi+6ej6X59LgNoKlNlMGBZgtbm0gA c7LnvI6y4kanvnK96MZj8Azrz3AVe2wPo0FMfJhKhsAkXuOH+Qgh6dzwt4YtJyyK WCIzZvsEKcOju/iCRvXdwbn4pDfRbeVq/NxUvUTtZjSQgR/fJwNFufrjUPM7O/WS u60+NJddyqtBQ6t1UyDekuRLaZL9fo0oTN3PkPzPjtuLkIcBn3czMN0XS/lI1NjS rOsEHrddG1qwjBaC3SGIOrlnEWot+L8LD3gZChozLoLAubgReupNwDvx3aI0zw3M 2nSUwivD+RBm880RITlEEJ4s4Hm0irudVpfH/a2DLAYFv7UjpTVki/NU7TNAYWJ6 Pc9fZvc/TCvapVvUP0LJfwTIOVsKz2OkVW70FOjygpAqfkm/oDXOqjpcTIUyc1wQ w7Oa+onmgIBJqPT7S16DQgv1cog1kWX9AxHUyksymBfh3eZ2KW3P2jUKNp3HRx3L cy6VhlJZRgMbatPPdyGf =VJEs -----END PGP SIGNATURE----- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php