-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Matlab-like cell behavior #41
Closed
Closed
Commits on Jun 11, 2015
-
Deal with some changes in the IPython 3.x API
The IPython API is ever moving and the newest version again breaks vim-ipython. This PR adds some try/catch blocks to deal with the API changes.
Configuration menu - View commit details
-
Copy full SHA for abdfef6 - Browse repository at this point
Copy the full SHA abdfef6View commit details -
Add support for MATLAB-like cells.
When working on a longish script, its common to have chunks that need to be executed frequently. For example, a computation you are working on that spans multiple lines, or a plot that you are trying to get just right. When using an IPython notebook, you would put these chunks in cells. MATLAB has a similar idea, where %% markers deliminate cells, which can be executed with a single key press. With this PR, you can define cells like this: print('Performing computation') a = 1 + 2 b = a ** a ## Begin new cell print('Result of computation:') print(b) Now you can execute the two cells independently.
Configuration menu - View commit details
-
Copy full SHA for 3a90214 - Browse repository at this point
Copy the full SHA 3a90214View commit details -
Configuration menu - View commit details
-
Copy full SHA for d467707 - Browse repository at this point
Copy the full SHA d467707View commit details -
Configuration menu - View commit details
-
Copy full SHA for abae80e - Browse repository at this point
Copy the full SHA abae80eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf01e0 - Browse repository at this point
Copy the full SHA ecf01e0View commit details -
Whether folding is performed by default is controlled through the `g:ipy_cell_folding` variable. In addition, the `<Plug>(IPython-EnableFoldByCell)` hook is available to toggle cell folding.
Configuration menu - View commit details
-
Copy full SHA for d1cea33 - Browse repository at this point
Copy the full SHA d1cea33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41fb41f - Browse repository at this point
Copy the full SHA 41fb41fView commit details -
Control config through vim globals
This PR allows the user to configure some aspects of vim-ipython through the usage of `g:ipy_*` globals.
Configuration menu - View commit details
-
Copy full SHA for 0a4f622 - Browse repository at this point
Copy the full SHA 0a4f622View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5446970 - Browse repository at this point
Copy the full SHA 5446970View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb0b7bb - Browse repository at this point
Copy the full SHA fb0b7bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ba6377 - Browse repository at this point
Copy the full SHA 1ba6377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a6e081 - Browse repository at this point
Copy the full SHA 9a6e081View commit details -
Configuration menu - View commit details
-
Copy full SHA for 101901b - Browse repository at this point
Copy the full SHA 101901bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b647b - Browse repository at this point
Copy the full SHA 65b647bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 125e646 - Browse repository at this point
Copy the full SHA 125e646View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fd82d6 - Browse repository at this point
Copy the full SHA 2fd82d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b95d73 - Browse repository at this point
Copy the full SHA 4b95d73View commit details -
Control config through vim globals
This PR allows the user to configure some aspects of vim-ipython through the usage of `g:ipy_*` globals.
Configuration menu - View commit details
-
Copy full SHA for affddf7 - Browse repository at this point
Copy the full SHA affddf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2167c8f - Browse repository at this point
Copy the full SHA 2167c8fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.