Skip to content
This repository
branch: master

Apr 01, 2014

  1. Sung Pae

    Fix last commit

    Got a little excited and accidentally deleted a comma.
    authored April 01, 2014
  2. Sung Pae

    Add support for TimL

    New Clojure-like language atop VimL. Only differences for vim-sexp is
    the lack of the #= EvalReader and the addition of the #* reader macro.
    
    https://github.com/tpope/timl
    authored April 01, 2014

Dec 31, 2013

  1. Sung Pae

    Respect "local-additions" convention in magic first line of vim-sexp.txt

    Suggested by glts.
    
    Closes #3
    authored December 31, 2013

Dec 26, 2013

  1. Sung Pae

    Fall back to current element when selecting compound forms

    This breaks from the behavior of the builtin bracket text objects, which
    do not fallback to the current word, but is strictly more useful.
    
    Lisp forms are defined in terms of their ability to be evaluated, so
    falling back to an atomic form when a compound one does not exist is
    unsurprising.
    
    Suggested by Tim Pope.
    
    Closes #2
    authored December 26, 2013

Sep 27, 2013

  1. Sung Pae

    Change s:macro_filetype_characters to byte strings

    And then match characters with stridx(). Assumes no macro chars will be
    multibyte.
    authored September 27, 2013

Sep 26, 2013

  1. Sung Pae

    Replace setpos('.', pos) calls with s:setcursor(pos)

    setpos() does not set curswant, which leads to unexpected behaviour when
    moving up and down after ( and ) movements.
    
    s:setcursor() simply calls cursor(), which does what we always intended.
    authored September 26, 2013

Aug 23, 2013

  1. Sung Pae

    Fix corner case in sexp#indent()

    Where selection is expanded when on closing bracket
    authored August 23, 2013

Aug 16, 2013

  1. Sung Pae

    Remove command DefplugN

    authored August 16, 2013
  2. Sung Pae

    Separate deprecated mappings from main definitions

    authored August 15, 2013

Aug 14, 2013

  1. Sung Pae

    Merge branch 'development'

    * development:
      Add <Plug>(sexp_indent) and <Plug>(sexp_indent_top)
      Documentation fixes
      Reword comment
      Check for blank string from visualmode()
      Optimize backward top-level movement
      Rename sexp_lift_* to sexp_raise_*
    authored August 13, 2013
  2. Sung Pae

    Add <Plug>(sexp_indent) and <Plug>(sexp_indent_top)

    == shadows the mostly useless internal motion.
    authored August 13, 2013
  3. Sung Pae

    Documentation fixes

    authored August 13, 2013
  4. Sung Pae

    Reword comment

    I thought it was a bug, but let's hedge our bets since I didn't bother
    sending a patch upstream.
    authored August 13, 2013

Aug 13, 2013

  1. Sung Pae

    Check for blank string from visualmode()

    Using setpos() to set visual marks does not change the member that
    visualmode() returns, so raise (and likely others) did not work properly
    when called before ever entering visual mode.
    authored August 13, 2013
  2. Sung Pae

    Optimize backward top-level movement

    Removes an unnecessary call to s:nearest_bracket(1) when travelling
    backward
    
    --todo
    authored August 13, 2013
  3. Sung Pae

    Rename sexp_lift_* to sexp_raise_*

    This was the original name for mapping/function, but I changed it when I
    was led to believe that paredit's sexp raise did not do the same.
    
    After installing paredit.el and trying it out for myself, it appears
    to be essentially the same as sexp_lift_element, so we are changing it
    back!
    authored August 13, 2013

Aug 03, 2013

  1. Sung Pae

    Fix typo

    authored August 03, 2013
  2. Sung Pae

    Document new behaviour of element-wise motions

    authored August 03, 2013
  3. Sung Pae

    ++todo

    authored August 03, 2013
  4. Sung Pae

    Fix inclusive <M-w> case when elem is single char

    e.g.
            [|a]
    
    With cursor at |, d<M-w> would fail.
    authored August 03, 2013
  5. Sung Pae

    Ignore counts in opmode ( and ) motions

    All changes done with a count leave the current form unbalanced, and
    it's not clear what non-changing operations would benefit from having a
    count that is not handled by sexp_outer_list.
    authored August 03, 2013
  6. Sung Pae

    Merge branch 'bounded-elementwise-movement'

    This branch changes the behaviour of element-wise movement: moving
    element-wise never climbs to a parent compound form.
    
    This allows the element-wise movement motions to be used more freely
    without fear of accidentally climbing out of the current lexical scope.
    
    * bounded-elementwise-movement:
      Re-implement sexp#move_to_adjacent_element
      [bounded-movement] Fix selection swapping
      Change s:nearest_element_terminal() to gate movement
    authored August 03, 2013
  7. Sung Pae

    Re-implement sexp#move_to_adjacent_element

    Count handling is moved to the function itself, as well as the decision
    to make the selection inclusive.
    authored August 03, 2013
  8. Sung Pae

    [bounded-movement] Fix selection swapping

    Happily, the "fix" is actually just what I should have written in the
    first place, regardless of the change to s:nearest_element_terminal
    authored August 02, 2013
  9. Sung Pae

    Change s:nearest_element_terminal() to gate movement

    Element-wise movement in normal mode now no longer climbs levels to the
    parent list. This behaviour makes use of the element-wise motions feel
    dangerous since it is not easy to dive back into a child list.
    
    Unfortunately, this behaviour underlies many functions, so we will have
    to fix them one by one.
    authored August 02, 2013
  10. Sung Pae

    ++todo

    authored August 02, 2013

Jul 27, 2013

  1. Sung Pae

    Parenthesize <Plug> mappings

    Japanese Vim plugin authors wrap their <Plug> mappings like so:
    
            <Plug>(my_custom_mapping)
    
    I believe this originated with Kana Natsuno with vim-textobj-user. This
    style has the advantage of being visually unambiguous when used in
    mappings.
    
    I resisted doing this when I first started on this plugin because I
    wanted to ensure that <Plug> map names like sexp_outer_list could be
    looked up by a user using the K command.
    
    However, I now realize that the K command happily does substring
    searches, so adding ()s around the plug name does not affect the ability
    to look for help docs.
    authored July 26, 2013

Jul 23, 2013

  1. Sung Pae

    Change sexp#splice_list count handling

    Instead of deleting v:count surrounding brackets, delete the brackets
    v:count ancestors up.
    authored July 23, 2013

Jul 18, 2013

  1. Sung Pae

    Revert "Change relative position of cursor insertion mappings"

    Better just to keep all the <LocalLeader> maps together
    
    This reverts commit e972790.
    authored July 18, 2013

Jul 15, 2013

  1. Sung Pae

    Bring back vv hack for curwin->w_curswant

    Bug is still present; I had forgotten how to trigger it
    authored July 15, 2013
  2. Sung Pae

    Tweak README

    authored July 15, 2013
  3. Sung Pae

    Use b:sexp_count for non-repeating mappings

    The normal command m` pushes v:count to v:prevcount
    authored July 15, 2013
  4. Sung Pae

    Update documentation with requirements

    We are now targeting full 7.3 compat
    authored July 15, 2013
  5. Sung Pae

    Remove curwin->w_curswant hack

    Looks like this was a temporary bug in the version of Vim I was running
    at the time.
    authored July 15, 2013
  6. Sung Pae

    Fix empty('<bang>') repeat logic

    authored July 15, 2013
Something went wrong with that request. Please try again.