Home Download Buy Blog Forum Support

Simple Questions, Simple Answers

Re: Simple Questions, Simple Answers

Postby sherriman on Sat Oct 17, 2009 2:15 am

EJ12N wrote:for example to toggle regex matching something like alt+r, then toggle search in selection, alt+s, etc... I hate to use the mouse and select them when I'm typing the pattern to find/replace... e-text had this.


+1. I do a lot of find/replace and want keyboard shortcuts to toggle the find/replace options. It helps my productivity a lot.
sherriman
 
Posts: 2
Joined: Sat Oct 17, 2009 2:07 am

Re: Simple Questions, Simple Answers

Postby jps on Sat Oct 17, 2009 12:22 pm

Key bindings for the find / replace panels are in the 20091017 beta - also, open-furthest-to-the-right is available via editing Preferences/General Preferences
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Simple Questions, Simple Answers

Postby vim on Tue Oct 20, 2009 5:32 am

how do i bind to the keypad asterisk? i want to bind: ctrl+shift+* also tried ctrl+shift+keypad_asterisk didn't help
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Simple Questions, Simple Answers

Postby Anomareh on Tue Oct 20, 2009 6:40 am

Maybe keypad_multiply? Not sure.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Simple Questions, Simple Answers

Postby vim on Tue Oct 20, 2009 6:54 am

Anomareh wrote:Maybe keypad_multiply? Not sure.

BINGO!
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Simple Questions, Simple Answers

Postby STHayden on Tue Oct 20, 2009 2:28 pm

I have a file with about 90k characters and sublime really slows down with loading the file as well as copying and pasting large chunks of code. Just kinda of curious what part of the program slows it down so much and if that is something that could be fixed in the future?
STHayden
 
Posts: 3
Joined: Mon Oct 19, 2009 2:03 pm

Re: Simple Questions, Simple Answers

Postby vim on Tue Oct 20, 2009 4:10 pm

STHayden wrote:I have a file with about 90k characters and sublime really slows down with loading the file as well as copying and pasting large chunks of code. Just kinda of curious what part of the program slows it down so much and if that is something that could be fixed in the future?


you can try two options that was raised in the past: first is to temporarily turn off syntax highlighting (change file syntax to 'plain text'), the other option is to turn off minimap (alt+m). this is not to underestimate this issue, which i think deserves better attention and a more robust solution from sublime side.
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Simple Questions, Simple Answers

Postby jps on Tue Oct 20, 2009 8:13 pm

Changing the syntax highlighting to plain text should be the answer.

The issue here is that Sublime Text always keeps the syntax highlighting information about the buffer fully up to date, which results in a bunch of wasted work doing calculations for text that won't be displayed. It's on the todo list to change this to a lazy evaluation model.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Simple Questions, Simple Answers

Postby Anomareh on Tue Dec 15, 2009 2:11 am

What encoding does Sublime save a new file as? Does it just use the fallback encoding setting?

Also is there anyway to tell what an opened file's encoding is?
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Simple Questions, Simple Answers

Postby protoplasm on Tue Dec 15, 2009 9:28 am

Anomareh wrote:Also is there anyway to tell what an opened file's encoding is?


If you hover over the tab for the file in question, the status bar should show the full path and encoding. In another thread I did wonder whether encoding might be made visible in the status bar all the time, but that's just personal preference.
protoplasm
 
Posts: 23
Joined: Tue Oct 20, 2009 4:47 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 17 guests