Permalink
Browse files

(not) implement :ascii commands

  • Loading branch information...
1 parent 3298811 commit c75e71f96a1bc38db797590d710b405cfd7356ae @guillermooo guillermooo committed Oct 1, 2011
Showing with 15 additions and 0 deletions.
  1. +6 −0 ex_command_parser.py
  2. +9 −0 ex_commands.py
View
@@ -69,6 +69,12 @@
wants_plusplus=True,
wants_plus=True,
residual_args_parsing=None),
+ ('ascii', 'as'): ex_cmd_data(
+ command='ex_ascii',
+ args=[],
+ wants_plusplus=False,
+ wants_plus=False,
+ residual_args_parsing=None),
}
View
@@ -12,6 +12,10 @@
import ex_range
+def handle_not_implemented():
+ sublime.status_message('VintageEx: Not implemented')
+
+
def gather_buffer_info(v):
"""gathers data to be displayed by :ls or :buffers
"""
@@ -252,3 +256,8 @@ def run(self, edit, **kwargs):
class ExNewFile(sublime_plugin.TextCommand):
def run(self, edit, **kwargs):
self.view.window().run_command('new_file')
+
+
+class ExAscii(sublime_plugin.TextCommand):
+ def run(self, edit, range='', forced=False):
+ handle_not_implemented()

0 comments on commit c75e71f

Please sign in to comment.