Sublime Forum

Ctrl+] for completing words

#1

I’d like to use a shortcut I found in Nano editor for completing words in the buffer, which is ctrl+] .
Is there a package or macro or shortcut for achieving this?

Thanks

0 Likes

#2

To understand the question correctly, you want to use ctrl + [ to select a word from the auto complete list as you are typing ?

0 Likes

#3

Hm not really, I’m looking more for an autocomplete behavior like in Textmate, where you complete “loremipsum” by entering “lor” and hitting the shortcut, where the word “loremipsum” is already in the buffer.

0 Likes

#4

You can do something like this in Sublime by pressing tab after a word, which would grab potential words that match out of the buffer and present them to you (or if there’s only one, it would just insert). You could easily bind that command to whatever key you like if you don’t want to use tab for this.

0 Likes