From 766c5183b72afd87fd2951c36f6355ca25186535 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 18 Dec 2022 14:36:59 +0900 Subject: neovim: dor-repeat go/gO without repeat.vim --- .config/nvim/lua/plugins.lua | 10 ---------- 1 file changed, 10 deletions(-) (limited to '.config/nvim/lua/plugins.lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 4d368d0..6e5bcdf 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -693,16 +693,6 @@ packer.startup(function(use) -- Autoload vim-repeat immediately in order to make (RepeatRedo) available. -- repeat#setreg() does nothing here. vim.fn['repeat#setreg']('', '') - - -- Make them repeatable with vim-repeat. - vim.cmd([[ - nnoremap (my-insert-blank-lines-after) - \ :call v:lua.vimrc.map_callbacks.insert_blank_line(0) - \ silent! call repeat#set("\Plug>(my-insert-blank-lines-after)") - nnoremap (my-insert-blank-lines-before) - \ :call v:lua.vimrc.map_callbacks.insert_blank_line(1) - \ silent! call repeat#set("\Plug>(my-insert-blank-lines-before)") - ]]) end, } -- Introduce user-defined mode. -- cgit v1.2.3-70-g09d2