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: mjbrownie/swapit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: inkarkat/swapit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 10 files changed
  • 1 contributor

Commits on Sep 14, 2018

  1. Remove after/ftplugin/*._swapit.vim

    Because of the after directory, I cannot easily customize these.
    Also, I add a plugin guard, and set b:undo_ftplugin.
    inkarkat committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    4905a60 View commit details
    Browse the repository at this point in the history
  2. Enable guard

    inkarkat committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    387f585 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. ENH: Allow to define various cased variants via :SwapList...Case comm…

    …ands and config
    
    The :SwapListLowerCase, :SwapListUpperCase, :SwapListTitleCase, :SwapListSmartCase variants of :SwapList add the corresponding variant.
    Likewise, a {'case': '...'} configuration offers the same for defaults.
    This also simplifies the g:default_swap_list considerably.
    For the implementation, split off s:GetListsFromScope() and make s:GetLists() check the new 'case' configuration, and handle the transformations generically via Funcrefs that are passed to a new s:Transform() function, which converts the 'name' and 'options' of a copy of the swap list. This also checks for actual modifications (in case of single letter swaps, title-case and upper-case are identical), and suppresses duplicates.
    inkarkat committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    91ddae5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0b4993 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. ENH: Allow escaping of spaces in :SwapList arguments

    So that swaps containing spaces can also be added via :SwapList and not just by directly modifying b:swap_lists.
    inkarkat committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    12a2277 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3b21de View commit details
    Browse the repository at this point in the history
Loading