christoomey / dotfiles

My vim, zsh, git, tmux, and other config files and utility scripts.
MIT License
465 stars 31 forks source link

Sort motion plugin #78

Closed christoomey closed 7 years ago

christoomey commented 10 years ago

Create a plugin that sorts lines based on a motion. Map to gs or <leader>so by defualt:

gs2j => sort this down 2 lines gsap => sort paragraph gsii => sort lines at this indentation (requires text-obj-indent) (Useful for Gemfile groups)

gabebw commented 10 years ago

:+1:

christoomey commented 10 years ago

Very initial spike here: https://github.com/christoomey/vim-sort-motion

/cc @gabebw

fpereira1 commented 7 years ago

I've been using https://github.com/christoomey/vim-sort-motion - great work. I use gsip quite often. 👍

christoomey commented 7 years ago

Thanks @fpereira1, glad you're enjoying it! I had forgotten about this issue here. Feeling pretty good about where sort-motion is at so I'll close this now. Hooray incremental workflow improvements!