summaryrefslogtreecommitdiff
path: root/plugin/warp.vim
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-10 23:53:04 -0600
committerJosh Rahm <joshuarahm@gmail.com>2024-03-10 23:53:04 -0600
commit2aff69b0bb55f398d199db687617ed35d0335d5b (patch)
tree135b46b6a689b1cb59a49fbbebb8c4a095429ba1 /plugin/warp.vim
parent64fb2114f35889eff0a082200471ce3ca33e43bf (diff)
downloadnvim-warp-2aff69b0bb55f398d199db687617ed35d0335d5b.tar.gz
nvim-warp-2aff69b0bb55f398d199db687617ed35d0335d5b.tar.bz2
nvim-warp-2aff69b0bb55f398d199db687617ed35d0335d5b.zip
Added multiple strategies for deteriming the column.
Doing a full grid select can be intimidating. A word-wise strat is probably a good thing to have.
Diffstat (limited to 'plugin/warp.vim')
-rw-r--r--plugin/warp.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/warp.vim b/plugin/warp.vim
new file mode 100644
index 0000000..2190d31
--- /dev/null
+++ b/plugin/warp.vim
@@ -0,0 +1,3 @@
+command! WarpGrid lua require('warp').run(require('warp.strategy.default').default_strategy)
+command! WarpWords lua require('warp').run(require('warp.strategy.words').words_strategy)
+command! WarpLine lua require('warp').run(require('warp.strategy.null').null_strategy)