Compare commits
No commits in common. "e7c411ec776c53856e66a37357735516f25e22d7" and "ddaae365d710f4c2883555e46d7fe7b7cdb986ea" have entirely different histories.
e7c411ec77
...
ddaae365d7
32
init.vim
32
init.vim
@ -813,13 +813,6 @@ augroup CustomCommentDefinitions
|
|||||||
setlocal commentstring=\/\/\ %s
|
setlocal commentstring=\/\/\ %s
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if &ft == 'html'
|
|
||||||
if join(syntaxGroups, ',') =~ 'ShaderScript'
|
|
||||||
setlocal commentstring=\/\/\ %s
|
|
||||||
elseif join(syntaxGroups, ',') =~ 'html'
|
|
||||||
setlocal commentstring=<!--\ %s\ -->
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
autocmd!
|
autocmd!
|
||||||
@ -833,7 +826,7 @@ augroup CustomCommentDefinitions
|
|||||||
autocmd FileType dot setlocal commentstring=\/\/\ %s
|
autocmd FileType dot setlocal commentstring=\/\/\ %s
|
||||||
autocmd FileType markdown setlocal commentstring=<!---\ %s\ -->
|
autocmd FileType markdown setlocal commentstring=<!---\ %s\ -->
|
||||||
autocmd FileType html.epl setlocal commentstring=%#\ %s
|
autocmd FileType html.epl setlocal commentstring=%#\ %s
|
||||||
autocmd FileType vue,html execute 'autocmd CustomCommentDefinitions CursorMoved <buffer> :call SetCommentString()'
|
autocmd FileType vue execute 'autocmd CustomCommentDefinitions CursorMoved <buffer> :call SetCommentString()'
|
||||||
" autocmd CursorMoved * :call SetCommentString()
|
" autocmd CursorMoved * :call SetCommentString()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
@ -961,7 +954,6 @@ augroup END
|
|||||||
\ "\\lc": "\\operatorname*{lc}",
|
\ "\\lc": "\\operatorname*{lc}",
|
||||||
\ "\\quo": "\\operatorname*{quo}",
|
\ "\\quo": "\\operatorname*{quo}",
|
||||||
\ "\\rem": "\\operatorname*{rem}",
|
\ "\\rem": "\\operatorname*{rem}",
|
||||||
\ "\\conv": "\\operatorname*{conv}",
|
|
||||||
\ },
|
\ },
|
||||||
\ },
|
\ },
|
||||||
\ 'uml': {},
|
\ 'uml': {},
|
||||||
@ -1050,7 +1042,7 @@ augroup END
|
|||||||
|
|
||||||
" Julia {{
|
" Julia {{
|
||||||
augroup julia
|
augroup julia
|
||||||
au FileType julia nnoremap <buffer> <Leader>ll :w <CR> :!time julia %:p<CR>
|
au FileType julia nnoremap <buffer> <Leader>ll :w <CR> :!julia %:p<CR>
|
||||||
augroup END
|
augroup END
|
||||||
" }}
|
" }}
|
||||||
|
|
||||||
@ -1143,26 +1135,6 @@ nnoremap <Space> :nohl<CR>
|
|||||||
nmap <Plug>SwapItFallbackDecrement <Plug>SpeedDatingDown
|
nmap <Plug>SwapItFallbackDecrement <Plug>SpeedDatingDown
|
||||||
vmap <Plug>SwapItFallbackIncrement <Plug>SpeedDatingUp
|
vmap <Plug>SwapItFallbackIncrement <Plug>SpeedDatingUp
|
||||||
vmap <Plug>SwapItFallbackDecrement <Plug>SpeedDatingDown
|
vmap <Plug>SwapItFallbackDecrement <Plug>SpeedDatingDown
|
||||||
|
|
||||||
augroup swapit
|
|
||||||
autocmd!
|
|
||||||
autocmd FileType * :ClearSwapList
|
|
||||||
autocmd FileType * let b:swap_completefunc = ''
|
|
||||||
autocmd FileType tex :SwapList font_sizes tiny scriptsize footnotesize small normalsize large Large LARGE huge Huge
|
|
||||||
autocmd FileType tex :SwapList sectioning part chapter section subsection subsubsection paragraph subparagraph
|
|
||||||
autocmd BufEnter * let g:default_swap_list = [
|
|
||||||
\ {'name':'yes/no', 'options': ['yes','no']},
|
|
||||||
\ {'name':'Yes/No', 'options': ['Yes','No']},
|
|
||||||
\ {'name':'True/False', 'options': ['True','False']},
|
|
||||||
\ {'name':'true/false', 'options': ['true','false']},
|
|
||||||
\ {'name':'AND/OR', 'options': ['AND','OR']},
|
|
||||||
\ {'name':'On/Off', 'options': ['On','Off']},
|
|
||||||
\ {'name':'on/off', 'options': ['on','off']},
|
|
||||||
\ {'name':'ON/OFF', 'options': ['ON','OFF']},
|
|
||||||
\ {'name':'boolean_operator', 'options': ['&&','||']},
|
|
||||||
\ {'name':'weekday', 'options': ['Sunday','Monday', 'Tuesday', 'Wednesday','Thursday', 'Friday', 'Saturday']},
|
|
||||||
\ ]
|
|
||||||
augroup END
|
|
||||||
" }}
|
" }}
|
||||||
|
|
||||||
function! InsertSnip(snip_name)
|
function! InsertSnip(snip_name)
|
||||||
|
0
install_configfiles.sh
Normal file → Executable file
0
install_configfiles.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user