Loading ...
Sorry, an error occurred while loading the content.

i cannot unindent a block

Expand Messages
  • mascip
    Hi, i can indent a selected block by pressing or and i m pretty sure i used to be able to unindent with - or
    Message 1 of 4 , Jul 24, 2012
    • 0 Attachment
      Hi,

      i can indent a selected block by pressing 
      <TAB> or >
      and i'm pretty sure i used to be able to unindent with
      <SHIFT>-<TAB> or <
      But now it doesn't work anymore

      Any idea how to why this could be, or how to find why ?

      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Sam Marces
      Does work in command mode and CTRL-D in insert mode work for you? -- You received this message from the vim_use maillist. Do not top-post! Type
      Message 2 of 4 , Jul 24, 2012
      • 0 Attachment
        Does << and >> work in command mode and CTRL-D in insert mode work for you?

        --
        You received this message from the "vim_use" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php
      • Tim Chase
        ... By default, and don t indent/dedent in normal or visual mode (also, isn t seen by all versions of Vim, depending on whether
        Message 3 of 4 , Jul 24, 2012
        • 0 Attachment
          On 07/24/12 08:17, mascip wrote:
          > i can indent a selected block by pressing
          > <TAB> or >
          > and i'm pretty sure i used to be able to unindent with
          > <SHIFT>-<TAB> or <
          > But now it doesn't work anymore

          By default, <tab> and <shift-tab> don't indent/dedent in normal or
          visual mode (also, <shift-tab> isn't seen by all versions of Vim,
          depending on whether your terminal emulator passes it along or not).

          By default, the < and > should dedent/indent. In visual-mode, they
          should work by themselves. In normal-mode, they require a {motion}
          afterward (including text-objects). In insert-mode, you can use
          control+T and control+D to indent/dedent the current line regardless
          of position.

          :help >
          :help v_>
          :help i_CTRL-T
          :help i_CTRL-D

          -tim


          --
          You received this message from the "vim_use" maillist.
          Do not top-post! Type your reply below the text you are replying to.
          For more information, visit http://www.vim.org/maillist.php
        • John Beckett
          ... The basics are explained here, and you might have some mappings similar to these: http://vim.wikia.com/wiki/Shifting_blocks_visually John -- You received
          Message 4 of 4 , Jul 24, 2012
          • 0 Attachment
            mascip wrote:
            > i can indent a selected block by pressing <TAB> or > and i'm
            > pretty sure i used to be able to unindent with <SHIFT>-<TAB>

            The basics are explained here, and you might have some
            mappings similar to these:
            http://vim.wikia.com/wiki/Shifting_blocks_visually

            John

            --
            You received this message from the "vim_use" maillist.
            Do not top-post! Type your reply below the text you are replying to.
            For more information, visit http://www.vim.org/maillist.php
          Your message has been successfully submitted and would be delivered to recipients shortly.