Home Download Buy Blog Forum Support

sublime 3 block cursor in vim mode?

Re: sublime 3 block cursor in vim mode?

Postby mark4 on Mon Apr 29, 2013 6:37 pm

The only things i can see "Wrong" with sublime text right now are its lack of a block cursor and its lack of virtual spaces. Both of which have been requested for quite a while and not implemented. I would love to see both of these soon :)
mark4
 
Posts: 98
Joined: Sat Feb 11, 2012 3:33 am

Re: sublime 3 block cursor in vim mode?

Postby hsu on Tue Apr 30, 2013 6:45 pm

What are virtual spaces?
hsu
 
Posts: 25
Joined: Fri Feb 01, 2013 4:14 pm

Re: sublime 3 block cursor in vim mode?

Postby mark4 on Tue Apr 30, 2013 9:16 pm

a better question would be "what is a schizophrenic cursor". Answer... one which does not know which column it belongs in.

Code: Select all
   code code code code *
   code code code       
      code code code
   code
     code code code code


The cursor is at the * above. Cursor down repeatedly and the cursor will jump around all over the map as you move it. A virtual space is a means of allowing the cursor to be moved into a position beyond the end of a line. This allows you to visually track where a cursor is, where its moving to and where is moving THROUGH without you having to be constantly readjusting your point of focus. The cursor moves in a visually SANE manner not the absolute insanity that has somehow become the norm :/

if the above cursor were moved down one line with virtual spaces enabled it would move down one. Not down one and left 4 or 5. If you then started typing the editor would inject the correct number of spaces to start editing where the cursor is.
mark4
 
Posts: 98
Joined: Sat Feb 11, 2012 3:33 am

Re: sublime 3 block cursor in vim mode?

Postby hsu on Wed May 01, 2013 3:35 am

I think Vim and Emacs by default don't do what you mean... did nay editor ever did what you want? :)
hsu
 
Posts: 25
Joined: Fri Feb 01, 2013 4:14 pm

Re: sublime 3 block cursor in vim mode?

Postby mark4 on Wed May 01, 2013 4:22 am

multi edit, codewright, ingellij idea has the option.... I have used many editors that perform in this way
mark4
 
Posts: 98
Joined: Sat Feb 11, 2012 3:33 am

Re: sublime 3 block cursor in vim mode?

Postby hsu on Wed May 01, 2013 12:11 pm

Also, the cursor movement is not "erratic" as you say - if you press END and then DOWN, it just goes to the end of each line. That's predictable and the best option for most tasks (imagine creating macros with you preferred behavior...)
hsu
 
Posts: 25
Joined: Fri Feb 01, 2013 4:14 pm

Re: sublime 3 block cursor in vim mode?

Postby mark4 on Wed May 01, 2013 2:09 pm

err nobody is asking for macros to do this, even a plugin would do this very badly. This needs the management to implement it :)

You also just turned ONE key press to move the cursor into TWO key presses to move the cursor just so you could more easily predict where it would move to... THUS proving my point that a schizophrenic scatterbrained jittery cursor is difficult to track visually :)

..as is a micro thin bar of 1 or 2 pixels which was the original point of this thread which i certainly didn't intend to hijack :)
mark4
 
Posts: 98
Joined: Sat Feb 11, 2012 3:33 am

Re: sublime 3 block cursor in vim mode?

Postby Matt777 on Fri May 17, 2013 6:55 pm

Please implement block cursor mode! This feature would be awesome to have :)
Matt777
 
Posts: 6
Joined: Fri May 03, 2013 11:46 pm

Re: sublime 3 block cursor in vim mode?

Postby thynken on Thu Aug 29, 2013 6:25 am

The hangup on a "block" cursor is unfortunate.

The more general issue (and neigh a show-stopper, with any file/language which uses a linter, and the resulting "box" around the linted topic) is that the cursor is a paltry one-pixel (?) thin. It does not matter if I'm using Vintage mode, or whatever (which is just convenient, after 30+ yrs of muscle memory, eh?!) ----


All that matters is I functionally CANNOT see where the cursor is in such cases, and resort to mousing int the area I want, and _usually_ getting to the intended character position (recall - can't see the cursor: forrest/trees problem).

So, while "block" is one solution, a _real_ solution would be to have _some_ configuration which allows one to make the cursor at least _VISIBLE_ - an extra pixel or two; a selected color; heck, even a block would be acceptable.

Does this make more sense / help?
thynken
 
Posts: 2
Joined: Thu Aug 29, 2013 6:19 am

Re: sublime 3 block cursor in vim mode?

Postby thynken on Thu Aug 29, 2013 6:27 am

rush wrote:
mycroft wrote:
imcr wrote:I'd also appreciate a Vim mode block cursor.


+1. There is a plugin for this in ST2 that, unfortunately, does not work properly in ST3.


While a native block cursor would be best I did manage to get a plugin (forked from an ST2 plugin) working in ST3 with the built in vintage mode and the vintageous plugin for those that might be interested.

https://github.com/jlangston/BlockCursorEverywhere



Thanks much, rush - that works!
thynken
 
Posts: 2
Joined: Thu Aug 29, 2013 6:19 am

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 8 guests