Minor improvements

This commit is contained in:
Austen Adler 2019-01-22 10:21:58 -05:00
parent c91fc6bd3b
commit 32b9334fba
2 changed files with 6 additions and 6 deletions

View File

@ -343,10 +343,8 @@ function prompt_cmd() {
RPS1="$(~/git/cesium/cesium --mode rps1 --rc "$?" --shell zsh)" RPS1="$(~/git/cesium/cesium --mode rps1 --rc "$?" --shell zsh)"
unset CESIUM_LAST_COMMAND_TIME unset CESIUM_LAST_COMMAND_TIME
} }
function tmp() { autoload -Uz add-zsh-hook
autoload -Uz add-zsh-hook precmd_functions+=(prompt_cmd)
precmd_functions+=(prompt_cmd) add-zsh-hook preexec prompt_pre
add-zsh-hook preexec prompt_pre
}
echo -e '[##]' echo -e '[##]'
#zprof #zprof

View File

@ -209,7 +209,9 @@ let g:UltiSnipsJumpForwardTrigger = "<tab>"
let g:UltiSnipsJumpBackwardTrigger = "<s-tab>" let g:UltiSnipsJumpBackwardTrigger = "<s-tab>"
let g:SuperTabDefaultCompletionType = '<C-n>' let g:SuperTabDefaultCompletionType = '<C-n>'
let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '$':'$'} let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`'}
au FileType php let b:AutoPairs = AutoPairsDefine({'<?' : '?>', '<?php': '?>'})
au FileType tex,latex,context,plaintex let b:AutoPairs = AutoPairsDefine({'$': '$'})
"let g:UltiSnipsExpandTrigger="<C-n>" "let g:UltiSnipsExpandTrigger="<C-n>"
"let g:UltiSnipsListSnippets="<C-e>" "let g:UltiSnipsListSnippets="<C-e>"