403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.25
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files/Git/usr/share/vim/vim91/pack/dist/opt/comment/plugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Program Files/Git/usr/share/vim/vim91/pack/dist/opt/comment/plugin/comment.vim
vim9script

# Maintainer: Maxim Kim <habamax@gmail.com>
# Last Update: 2025 Mar 21
# 2025 Jun 22 by Vim Project: add <Plug> mappings #17563

import autoload 'comment.vim'

nnoremap <silent> <expr> <Plug>(comment-toggle) comment.Toggle()
xnoremap <silent> <expr> <Plug>(comment-toggle) comment.Toggle()
nnoremap <silent> <expr> <Plug>(comment-toggle-line) comment.Toggle() .. '_'
nnoremap <silent> <expr> <Plug>(comment-toggle-end) comment.Toggle() .. '$'

onoremap <silent> <Plug>(comment-text-object-inner) <scriptcmd>comment.ObjComment(v:true)<CR>
onoremap <silent> <Plug>(comment-text-object-outer) <scriptcmd>comment.ObjComment(v:false)<CR>
xnoremap <silent> <Plug>(comment-text-object-inner) <esc><scriptcmd>comment.ObjComment(v:true)<CR>
xnoremap <silent> <Plug>(comment-text-object-outer) <esc><scriptcmd>comment.ObjComment(v:false)<CR>

if get(g:, 'comment_mappings', true)
  nmap gc <Plug>(comment-toggle)
  xmap gc <Plug>(comment-toggle)
  nmap gcc <Plug>(comment-toggle-line)
  nmap gC <Plug>(comment-toggle-end)

  omap ic <Plug>(comment-text-object-inner)
  omap ac <Plug>(comment-text-object-outer)
  xmap ic <Plug>(comment-text-object-inner)
  xmap ac <Plug>(comment-text-object-outer)
endif

Youez - 2016 - github.com/yon3zu
LinuXploit