summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-03-12 17:55:15 +0000
committerJosh Rahm <rahm@google.com>2024-03-12 17:55:15 +0000
commitff00585c7c9e0cac8d1c75a8cb60fd82519b6856 (patch)
treeaac8be23bb829061a780bec5dc968f47988d038d /plugin
parent8bb88b81a307746ceaf8e3b10137399d980f8903 (diff)
downloadnvim-warp-ff00585c7c9e0cac8d1c75a8cb60fd82519b6856.tar.gz
nvim-warp-ff00585c7c9e0cac8d1c75a8cb60fd82519b6856.tar.bz2
nvim-warp-ff00585c7c9e0cac8d1c75a8cb60fd82519b6856.zip
strategy -> col_selectors
Diffstat (limited to 'plugin')
-rw-r--r--plugin/warp.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/warp.vim b/plugin/warp.vim
index c414501..95391a1 100644
--- a/plugin/warp.vim
+++ b/plugin/warp.vim
@@ -1,16 +1,16 @@
" 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'))
+command! WarpFull lua require('warp').run(require('warp.col_selectors.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)
+command! WarpGrid lua require('warp').run(require('warp.col_selectors.grid').grid_strategy)
" Has the user select the column based on nows.
-command! WarpWords lua require('warp').run(require('warp.strategy.words').words_strategy)
+command! WarpWords lua require('warp').run(require('warp.col_selectors.words').words_strategy)
" Warps to the line and leaves the cursor on the current line.
-command! WarpLine lua require('warp').run(require('warp.strategy.null').null_strategy)
+command! WarpLine lua require('warp').run(require('warp.col_selectors.null').null_strategy)
noremap <Plug>(warp-grid) <cmd>WarpGrid<cr>
noremap <Plug>(warp-words) <cmd>WarpWords<cr>