summaryrefslogtreecommitdiff
path: root/plug-config/vim-commentary.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plug-config/vim-commentary.vim')
-rw-r--r--plug-config/vim-commentary.vim10
1 files changed, 0 insertions, 10 deletions
diff --git a/plug-config/vim-commentary.vim b/plug-config/vim-commentary.vim
deleted file mode 100644
index 09ce8958..00000000
--- a/plug-config/vim-commentary.vim
+++ /dev/null
@@ -1,10 +0,0 @@
-function! Comment()
- if (mode() == "n" )
- execute "Commentary"
- else
- execute "'<,'>Commentary"
- endif
- endfunction
-vnoremap <silent> <space>/ :call Comment()
-autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript.jsx
-autocmd FileType javascript.jsx setlocal commentstring={/*\ %s\ */}