diff options
Diffstat (limited to 'vimscript')
-rw-r--r-- | vimscript/nv-commentary/init.vim | 4 | ||||
-rw-r--r-- | vimscript/nv-whichkey/init.vim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vimscript/nv-commentary/init.vim b/vimscript/nv-commentary/init.vim index 284e6286..76e32b21 100644 --- a/vimscript/nv-commentary/init.vim +++ b/vimscript/nv-commentary/init.vim @@ -6,6 +6,6 @@ function! Comment() endif endfunction vnoremap <silent> <space>/ :call Comment() -"autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript.jsx -autocmd FileType javascriptreact setlocal commentstring={/*\ %s\ */} +autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript +"autocmd FileType javascriptreact setlocal commentstring={/*\ %s\ */} diff --git a/vimscript/nv-whichkey/init.vim b/vimscript/nv-whichkey/init.vim index f0e80987..592fbd00 100644 --- a/vimscript/nv-whichkey/init.vim +++ b/vimscript/nv-whichkey/init.vim @@ -26,8 +26,8 @@ autocmd FileType which_key set laststatus=0 noshowmode noruler " let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ] " let g:which_key_map['/'] = { 'name' : 'comment' } -let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ] -"let g:which_key_map['/'] = 'which_key_ignore' +"let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ] +let g:which_key_map['/'] = 'which_key_ignore' let g:which_key_map['?'] = [ ':NvimTreeFindFile' , 'find current file' ] let g:which_key_map['e'] = [ ':NvimTreeToggle' , 'explorer' ] let g:which_key_map['f'] = [ ':Telescope find_files' , 'find files' ] |