Author Topic: vi emulation :1,5<< (shifts block left 2 tabstops instead of 1)  (Read 6905 times)

gtrimble

  • Community Member
  • Posts: 11
  • Hero Points: 1
Hello,
When I try moving a block of lines either left or right as follows:
:1,5<<
shifts block left 2 tabstops instead of 1
:1,5>>
shifts block right 2 tabstops instead of 1
If I just shift a single-line by pressing >> (not in : mode), it shifts 1 tabstop.

I don't know what setting in SlickEdit is being used. I use 4 spaces instead of tabs for indenting. So, the block is indented/unindented by 8 spaces instead of 4.
Also, here is the shiftwidth setting:
:set shiftwidth?
shiftwidth=4

Thanks for your help,

-Glenn

gtrimble

  • Community Member
  • Posts: 11
  • Hero Points: 1
Re: vi emulation :1,5<< (shifts block left 2 tabstops instead of 1)
« Reply #1 on: March 04, 2015, 09:45:35 PM »
I just learned that in : mode, you only need to use a single > or < to indent/unindent 1 tabstop.
problem solved...
Thanks.