Comments (2)
JC,
I have been wanting that support for a long while and definitely +1 this.
The window vim-ish window splitting should work just fine in Sublime. I
have used it a little in the past, so I might take a crack at it if I can
dig up some free time. Not quite sure when that may be though... ;) Maybe
someone else will beat me to it.
Greg
On Tue, Sep 11, 2012 at 9:05 PM, JC Grubbs [email protected] wrote:
I know almost nothing about Python OR the internals of SublimeText
otherwise I'd do this as a pull request but I'd love to see window
management commands such as :vs and :sp added. The basic windowing approach
seems somewhat different from vim so this may not be able to work exactly
as vim does but being able to open a new file in a vertical or horizontal
split window would be fantastic.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/15.
Greg Williams | Embedded Craftsman
Atomic Embedded | http://atomicembedded.com
[Ph] +1 616 264 3734 [Fx] +1 616 776 6015
from vintageex.
according to this post it should be doable with something like this:
import sublime_plugin
class CloneFileToGroupCommand(sublime_plugin.WindowCommand):
def run(self):
if self.window.num_groups() == 1:
self.window.run_command('set_layout',
{
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
})
self.window.run_command('clone_file')
self.window.run_command('move_to_group', {"group": 1})
from vintageex.
Related Issues (20)
- :files command won't select unsaved buffers after restarting sublime text
- create/update Preferences.sublime-settings files
- pipe through shell does not seem to work HOT 7
- '<,'> won't cherry-pick selected ranges only, but lump into the range every line in between too
- Vintage's "*" and "#" are not repeatable anymore HOT 2
- selectively treat contiguous line ranges as blocks/separate lines HOT 1
- :copy and :move commands - address 0 and 1 do not work as expected
- :delete command should put deleted text to unnamed register
- Put after :delete and :yank commands appends text to the current line
- Error at startup HOT 4
- ":" not working in CSS syntax HOT 3
- no history for search panel?
- Map ; key to : HOT 3
- can't indent multiple lines using n> in visual mode HOT 2
- Advanced search HOT 1
- Regex escape characters missing in substitute
- :sh not working HOT 1
- Make search with '/' act like in vim, e.g. as movement command HOT 1
- SublimeText 3 support HOT 1
- Please add support to Sublime Text 3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vintageex.