Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coderifous/textobj-word-column.vim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: smart-boundary-cols
Choose a base ref
...
head repository: coderifous/textobj-word-column.vim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 9 commits
  • 4 files changed
  • 4 contributors

Commits on Jul 24, 2012

  1. Improved smart-boundary-columns.

    Behavior when dealing with whitespace is improved.
    
    * If origin column is solely whitespace, then the column selection will ONLY
      include whitespace.
    
    * If origin column is not solely whitespace, then the cursor will be set to the
      beginning of the word on each line when checking for boundaries, so that
      whitespace is not mistakenly included in the boundary assessment.
    coderifous committed Jul 24, 2012
    Configuration menu
    Copy the full SHA
    793792c View commit details
    Browse the repository at this point in the history
  2. Updated changelog in docs.

    coderifous committed Jul 24, 2012
    Configuration menu
    Copy the full SHA
    ca711dd View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2012

  1. Changed column calculations to use screen/virtual columns.

    Movements where throw off because they work with screen columns, but not all
    calculations were done using screen columns.
    
    The plugin should now work as expected on lines with tabs, and also multibyte
    characters.
    
    Fixes #1
    coderifous committed Jul 25, 2012
    Configuration menu
    Copy the full SHA
    ea8ff3d View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2012

  1. Fixed bug for large columns (deep recursion).

    Switched to iteration.
    
    Fixes #4
    coderifous committed Aug 6, 2012
    Configuration menu
    Copy the full SHA
    0bdc3d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2012

  1. Use code-stype for ascii table in doc

    Vimhelp uses || to show links (and conceals the characters). Delimit the
    table as code so the bars show up as intended.
    pydave authored and coderifous committed Nov 19, 2012
    Configuration menu
    Copy the full SHA
    d98bc2c View commit details
    Browse the repository at this point in the history
  2. Remove and ignore doc/tags

    The file should be regenerated by the user.
    AndrewRadev authored and coderifous committed Nov 19, 2012
    Configuration menu
    Copy the full SHA
    0cf8ac2 View commit details
    Browse the repository at this point in the history
  3. FIX: Do not extend to lines that are shorter than the start column.

    With the cursor on "ab", I get an invalid selection that extends to the "." of the second line (and a beep when smart boundaries are used), instead of the expected selection of lines 3 + 4.
    
    " Use real visual mode mappings to avoid the mapping delay when entering visual
    " mode with "v".
    xnoremap <silent> ab :<C-u>call TextObjWordBasedColumn("aw")<cr>
    xnoremap <silent> aB :<C-u>call TextObjWordBasedColumn("aW")<cr>
    
    This can be fixed by checking that there's actually a character at the start virtual column. The match for the exact column number also ensures that if the position is inside a Tab or in the middle of a double-width character, the selection will not be extended.
    inkarkat authored and coderifous committed Nov 19, 2012
    Configuration menu
    Copy the full SHA
    d1b92a3 View commit details
    Browse the repository at this point in the history
  4. FIX: synID() needs byte column, not virtual column.

    This matters when there are multi-byte, unprintable, or Tab characters, in which cases the virtual (screen) column is not equal to the byte index.
    Need to pass both columns to the s:find_boundary_row() function.
    inkarkat authored and coderifous committed Nov 19, 2012
    Configuration menu
    Copy the full SHA
    40b2115 View commit details
    Browse the repository at this point in the history
  5. Use real visual mode mappings.

    The normal mode mappings that start with "v" introduce a mapping delay when entering visual mode; this is irritating. Instead, define the mappings directly in visual mode, and disregard the previous selection with <C-u> prepended to the function call, so it works the same.
    inkarkat authored and coderifous committed Nov 19, 2012
    Configuration menu
    Copy the full SHA
    cb40e14 View commit details
    Browse the repository at this point in the history
Loading