M
M
maksimkoh2016-03-02 16:28:37
css
maksimkoh, 2016-03-02 16:28:37

Is it possible to create a command in Sublime Text to insert a prepared piece of code?

To speed up the layout process (I work with bootstrap), you need to insert a piece of prepared code using a key combination, for example

<div class="container">
    <div class="row">
      <div class="col-md-">

      </div>
    </div>
  </div>

Is it possible to do this in sublime? Or in another editor? or keep all your sketches in a separate file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kozlovskiy, 2016-03-02
@maksimkoh

Yes, it's possible. You need to record a macro and assign any key combination to it. Tool-Record Macros and upon completion Stop Recording. You can assign a combination by editing the Preferences-Key Bindings-User, there you need to specify the combination and the path to the saved macro.

P
Pavel Omelchenko, 2016-11-27
@pOmelchenko

for the 3rd dnzl.ru/view_post.php?id=315

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question