Experimental plugin for Vintageous
The current build is updated frequently.
Experimental plugin for Vintageous
Experimental plugin for Vintageous
The current build is updated frequently.
Hello,
It'd be great to have this in package control. Many users, including me, use tools like boxen or dropbox to synchronize the Package Control settings file, which then installs dependent packages that are not present yet.
Sadly this approach is with manual installs not that easy.
Any estimate on when we can see a package control release?
The functionality is still there, but here's backtrace from the ST's console.
Unfortunately i'm not a python guy, so no idea how to dig deeper, sorry.
reloading plugin Vintageous_Plugin_Surround.action_cmds
reloading plugin Vintageous_Plugin_Surround.builder
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/Users/michael/Library/Application Support/Sublime Text 3/Packages/Vintageous_Plugin_Surround/builder.py", line 16, in <module>
description="Builds .sublime-package archives.")
File "./argparse.py", line 1598, in __init__
AttributeError: 'module' object has no attribute 'argv'
reloading plugin Vintageous_Plugin_Surround.test_runner
After a recent update to Vintageous, this stopped working for me. During startup, the following was output to the console:
reloading plugin Vintageous_Plugin_Surround.action_cmds
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 671, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "action_cmds in /Users/ericwest/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous_Plugin_Surround.sublime-package", line 4, in <module>
ImportError: cannot import name regions_transformer
To reproduce:
On my system this correctly surrounds the first line, but the other lines don't work correctly and the quotes go to weird places.
This is a fantastic tool -- thanks!
e.g. given
hi
and running csw"
in vim-surround, I'd get:
"hi"
I'm not even sure if this plugin works because there's no indication on what expected behaviour is
I'm assuming I'm supposed to be able to do things like csw in normal mode but I'm getting no response from this plugin
how do I start debugging this?
I see that the commands seem to be implemented by I can't seem to get them to work.
<p>This is a 'paragraph' of text and stuff and junk.</p>
Say my cursor is on the 'a' in 'paragraph', if I type ds'
nothing happens. Sometimes I can get change surrounding to work by hitting the quote twice, like: cs''"
, but it isn't reliable.
I can see, in Sublime's status bar, it shows the method vi_plug_c_s vi_quote
, but nothing happens on screen.
Any ideas?
Hi,
ST3 Build 3047 Portable
Windows 7 SP1 x64 German
I get this right after starting up ST3:
reloading plugin Vintageous.actions
reloading plugin Vintageous.ex_commands
reloading plugin Vintageous.ex_main
reloading plugin Vintageous.ex_motions
reloading plugin Vintageous.jump_list_cmds
reloading plugin Vintageous.motions
reloading plugin Vintageous.run
reloading plugin Vintageous.state
reloading plugin Vintageous.test_runner
reloading plugin Vintageous.transformers
reloading plugin Vintageous.transformers_visual
reloading plugin Vintageous_Plugin_Surround.action_cmds
reloading plugin Vintageous_Plugin_Surround.builder
Traceback (most recent call last):
File "D:\Tools\Sublime Text\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "D:\Tools\Sublime Text\Data\Packages\Vintageous_Plugin_Surround\builder.py", line 16, in <module>
description="Builds .sublime-package archives.")
File "X/argparse.py", line 1598, in __init__
AttributeError: 'module' object has no attribute 'argv'
plugins loaded
Mac OS X Yosimite, ST3. Put in Installed Packages, listed it in Package Control.What other information should I include?
The feature I use most with surround (that is missing fom this plugin) is to select text in visual mode, press S
(uppercase s
), and then type the character I want it to be surrounded with (see an example).
The cases that have different opening and closing characters produce different result (although I don’t use both cases). In the example above, I pressed )
, which produced (a text)
, but if (
had been pressed instead, the result would be ( a text )
.
Not sure if this issue belongs in Vintageous main or here, I can move it if you want.
I run colemak so I remapped movement keys to s, t, n, e. With normal commands (i.e. f, n) everything works fine, but Surround thinks I'm pressing c h (because of :map s h). Would there be a way to fix this? Or is this unavoidable due to the architecture of handling key bindings and presses?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.