summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-03-12 17:51:36 +0000
committerJosh Rahm <rahm@google.com>2024-03-12 17:51:36 +0000
commit8bb88b81a307746ceaf8e3b10137399d980f8903 (patch)
treebd7b4f97cb19b3ea2bbe072a1df9711268a25d8a /plugin
parentaf66e1ce213854037f4e95627dfb1e45e0e437c6 (diff)
downloadnvim-warp-8bb88b81a307746ceaf8e3b10137399d980f8903.tar.gz
nvim-warp-8bb88b81a307746ceaf8e3b10137399d980f8903.tar.bz2
nvim-warp-8bb88b81a307746ceaf8e3b10137399d980f8903.zip
Add win selectors to help select the window one wants to jump to.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/warp.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/warp.vim b/plugin/warp.vim
index 4052622..c414501 100644
--- a/plugin/warp.vim
+++ b/plugin/warp.vim
@@ -1,5 +1,9 @@
" Uses a strategy that allows the user to select an arbitrary line and column by
" using 2x2 key strokes. Is more complex, but most powerful.
+command! WarpFull lua require('warp').run(require('warp.strategy.grid').grid_strategy, require('warp.win_selectors.prompt'))
+
+" Uses a strategy that allows the user to select an arbitrary line and column by
+" using 2x2 key strokes. Is more complex, but most powerful.
command! WarpGrid lua require('warp').run(require('warp.strategy.grid').grid_strategy)
" Has the user select the column based on nows.