-
Notifications
You must be signed in to change notification settings - Fork 15
Comparing changes
Open a pull request
base repository: coderifous/textobj-word-column.vim
base: smart-boundary-cols
head repository: coderifous/textobj-word-column.vim
compare: master
- 9 commits
- 4 files changed
- 4 contributors
Commits on Jul 24, 2012
-
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.
Configuration menu - View commit details
-
Copy full SHA for 793792c - Browse repository at this point
Copy the full SHA 793792cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca711dd - Browse repository at this point
Copy the full SHA ca711ddView commit details
Commits on Jul 25, 2012
-
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
Configuration menu - View commit details
-
Copy full SHA for ea8ff3d - Browse repository at this point
Copy the full SHA ea8ff3dView commit details
Commits on Aug 6, 2012
-
Fixed bug for large columns (deep recursion).
Switched to iteration. Fixes #4
Configuration menu - View commit details
-
Copy full SHA for 0bdc3d6 - Browse repository at this point
Copy the full SHA 0bdc3d6View commit details
Commits on Nov 19, 2012
-
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.
Configuration menu - View commit details
-
Copy full SHA for d98bc2c - Browse repository at this point
Copy the full SHA d98bc2cView commit details -
The file should be regenerated by the user.
Configuration menu - View commit details
-
Copy full SHA for 0cf8ac2 - Browse repository at this point
Copy the full SHA 0cf8ac2View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for d1b92a3 - Browse repository at this point
Copy the full SHA d1b92a3View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 40b2115 - Browse repository at this point
Copy the full SHA 40b2115View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for cb40e14 - Browse repository at this point
Copy the full SHA cb40e14View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff smart-boundary-cols...master