Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime vintage mode (vim) delete, yank, change to regex

Any way to configure so that the following vim commands which delete, yank or change to regex will function?

d/something/
y/something/
c/something/

Currently when you press the '/' key it pops up the search toolbar and is no longer within the context of the delete, yank or change command. Is it possible to disable / from opening up the search box and allowing the commands above?

As an example of how the delete command should behave in vim:

This line of text:

I want something done here

When you type:

d/something/ 

in command mode with a cursor at the start of line it should delete everything up to the word something and produce this:

something done here
like image 943
Dark Castle Avatar asked Nov 14 '22 07:11

Dark Castle


1 Answers

You can't, d/foo is still Vi(m)-only.

Sublime Text doesn't work like that: it's a poor substitute for Vim.

like image 172
romainl Avatar answered Dec 09 '22 09:12

romainl