summaryrefslogtreecommitdiff
path: root/plug-config/vim-commentary.vim
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2021-03-14 15:10:28 -0400
committerGitHub <[email protected]>2021-03-14 15:10:28 -0400
commit0dc3c5030b778d5256cad5d9529e9ecf7fbfb233 (patch)
tree420e44f62d95d138eec36baa4d1bd5b6c9390ae6 /plug-config/vim-commentary.vim
parentd002b0419a8621c5575c14119d0b8d9c4a7a44a0 (diff)
The Lua Journey Begins...
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\ */}