Download nvim-linux-x86_64/share/nvim/runtime/autoload/paste.vim from skyzos/first-humanoid-dataset: direct link, hf CLI and curl.
- Browser
- Download file 723 Bytes
-
https://huggingface.co/datasets/skyzos/first-humanoid-dataset/resolve/main/nvim-linux-x86_64/share/nvim/runtime/autoload/paste.vim
- Command line
-
hf download hf://datasets/skyzos/first-humanoid-dataset/nvim-linux-x86_64/share/nvim/runtime/autoload/paste.vim
-
curl -L -o paste.vim https://huggingface.co/datasets/skyzos/first-humanoid-dataset/resolve/main/nvim-linux-x86_64/share/nvim/runtime/autoload/paste.vim
723 Bytes
| " Vim support file to help with paste mappings and menus | |
| " Maintainer: The Vim Project <https://github.com/vim/vim> | |
| " Last Change: 2023 Aug 10 | |
| " Former Maintainer: Bram Moolenaar <Bram@vim.org> | |
| " Define the string to use for items that are present both in Edit, Popup and | |
| " Toolbar menu. Also used in mswin.vim. | |
| let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"} | |
| let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n'] | |
| let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP" | |
| func! paste#Paste() | |
| let ove = &ve | |
| set ve=all | |
| normal! `^ | |
| if @+ != '' | |
| normal! "+gP | |
| endif | |
| let c = col(".") | |
| normal! i | |
| if col(".") < c " compensate for i<ESC> moving the cursor left | |
| normal! l | |
| endif | |
| let &ve = ove | |
| endfunc | |