From c08288b9ad3b7db1b9c3029ee0599286fb09a63f Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Sun, 29 Nov 2015 21:46:30 +0500 Subject: [PATCH] =?UTF-8?q?vim,=20help:=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=20=D0=BE=D1=82=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9?= =?UTF-8?q?=20=D0=BF=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?sdcv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/soft/vim/vim/+plugins/help+src/plugin/help+src.vim | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/etc/soft/vim/vim/+plugins/help+src/plugin/help+src.vim b/etc/soft/vim/vim/+plugins/help+src/plugin/help+src.vim index add8970..28027d3 100644 --- a/etc/soft/vim/vim/+plugins/help+src/plugin/help+src.vim +++ b/etc/soft/vim/vim/+plugins/help+src/plugin/help+src.vim @@ -55,7 +55,6 @@ command! -nargs=1 GoToSection call GoToSection() " {{{ Mappings nmap fs :call Src(expand("")) nmap fm :call Help(expand("")) -" nmap fw :call Dict(expand("")) nmap :call Help(expand("")) nmap :call Dict(expand("")) imap :call Dict(expand("")) @@ -147,17 +146,6 @@ fun! Man(page, ...) endif endfun " }}} -" {{{ The Dict(word) function call a dict command for word -fun! Dict(word) - if filereadable(expand('%:p')) - let dict = expand('%:p') . ".dict" - call writefile(readfile(dict)+[a:word], dict) - endif - - call OpenHelpWin("sdcv -n --data-dir ~/.shellrc/etc/soft/sdcv/dictionaries/ ".a:word." 2>/dev/null", 'dict', a:word) - normal G2kzvztk0 -endfun -" }}} " {{{ The Pydoc(word) function gets a python documentation for word fun! Pydoc(word) let move_to_pattern = ''