From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- .../vim-interaction/vim-interaction.plugin.zsh | 69 ---------------------- 1 file changed, 69 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/vim-interaction/vim-interaction.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/vim-interaction/vim-interaction.plugin.zsh') diff --git a/zsh/oh-my-zsh/plugins/vim-interaction/vim-interaction.plugin.zsh b/zsh/oh-my-zsh/plugins/vim-interaction/vim-interaction.plugin.zsh deleted file mode 100644 index b73f9b4..0000000 --- a/zsh/oh-my-zsh/plugins/vim-interaction/vim-interaction.plugin.zsh +++ /dev/null @@ -1,69 +0,0 @@ -# -# See README.md -# -# Derek Wyatt (derek@{myfirstnamemylastname}.org -# - -function callvim { - if [[ $# == 0 ]]; then - cat <, append it - [[ ${after} = :* && ${after} != *\ ]] && after+="" - [[ ${before} = :* && ${before} != *\ ]] && before+="" - # Open files passed (:A means abs path resolving symlinks, :q means quoting special chars) - [[ $# -gt 0 ]] && files=':args! '"${@:A:q}" - # Pass the built vim command to gvim - cmd="$before$files$after" - - # Run the gvim command - gvim --servername "$name" --remote-send "$cmd" || return $? - - # Run postCallVim if defined (maybe to bring focus to gvim, see README) - (( ! $+functions[postCallVim] )) || postCallVim -} - -alias v=callvim -alias vvsp="callvim -b':vsp'" -alias vhsp="callvim -b':sp'" -alias vk="callvim -b':wincmd k'" -alias vj="callvim -b':wincmd j'" -alias vl="callvim -b':wincmd l'" -alias vh="callvim -b':wincmd h'" -- cgit v1.2.3-59-g8ed1b