diff options
Diffstat (limited to 'vim/bundle/tlib_vim/autoload/tlib/map.vim')
m--------- | vim/bundle/tlib_vim | 0 | ||||
-rwxr-xr-x | vim/bundle/tlib_vim/autoload/tlib/map.vim | 23 |
2 files changed, 0 insertions, 23 deletions
diff --git a/vim/bundle/tlib_vim b/vim/bundle/tlib_vim new file mode 160000 +Subproject 5636472e5dba1a4104376ce6bd93cc2546e0248 diff --git a/vim/bundle/tlib_vim/autoload/tlib/map.vim b/vim/bundle/tlib_vim/autoload/tlib/map.vim deleted file mode 100755 index c1af13f..0000000 --- a/vim/bundle/tlib_vim/autoload/tlib/map.vim +++ /dev/null @@ -1,23 +0,0 @@ -" map.vim -" @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) -" @Website: http://www.vim.org/account/profile.php?user_id=4037 -" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) -" @Created: 2009-08-23. -" @Last Change: 2009-08-23. -" @Revision: 0.0.4 - -let s:save_cpo = &cpo -set cpo&vim - - -" If |pumvisible()| is true, return "\<c-y>". Otherwise return a:key. -" For use in maps like: > -" imap <expr> <cr> tlib#map#PumAccept("\<cr>") -function! tlib#map#PumAccept(key) "{{{3 - return pumvisible() ? "\<c-y>" : a:key -endf - - - -let &cpo = s:save_cpo -unlet s:save_cpo |