CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] indenting and pasting from vim

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2015, 00:33
Default indenting and pasting from vim
  #1
Member
 
sean read
Join Date: Sep 2014
Location: Melbourne, Australia
Posts: 41
Rep Power: 12
seanread is on a distinguished road
I'm trying to copy and paste commands from vim to the python shell in paraview,

If I copy with ctrl+shift+c and paste to the python shell it works, but if I use "+y to copy the text it reads an error for unexpected indent.

When I use :set noexpandtab it gives a double tab, but when I use :set expandtab the output looks for all intents and purposes the same as that from ctrl + shift + v, but I still get the same error message from the python shell in paraview. Has anyone else had this issue?
seanread is offline   Reply With Quote

Reply

Tags
python, vim


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 15:21.