diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 3723cc6..7f45546 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -156,7 +156,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Emmet Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/emmet-vim/plugin/emmet.vim')) +if !empty(glob(EditorDir.'/plugged/emmet-vim/plugin/emmet.vim')) let g:use_emmet_complete_tag = 1 endif "----------------------------------------------------------------------------------------------------------------------- @@ -166,7 +166,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Indent Lines Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vim-indent-guides/plugin/indent_guides.vim')) +if !empty(glob(EditorDir.'/plugged/vim-indent-guides/plugin/indent_guides.vim')) let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_auto_colors = 0 let g:indent_guides_exclude_filetypes =['help', 'nerdtree'] @@ -182,7 +182,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Vdebug Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vdebug/plugin/vdebug.vim')) +if !empty(glob(EditorDir.'/plugged/vdebug/plugin/vdebug.vim')) let g:vdebug_options = { \ "watch_window_style" : 'compact', \ "port" : 9000, @@ -202,7 +202,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Unite Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/unite.vim/plugin/unite.vim')) +if !empty(glob(EditorDir.'/plugged/unite.vim/plugin/unite.vim')) let g:unite_enable_start_insert = 1 let g:unite_split_rule = "botright" let g:unite_force_overwrite_statusline = 0 @@ -241,7 +241,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " SuperTab Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/supertab/plugin/supertab.vim')) +if !empty(glob(EditorDir.'/plugged/supertab/plugin/supertab.vim')) let g:SuperTabMappingForward = '<tab>' let g:SuperTabMappingBackward = '<s-tab>' let g:SuperTabLongestHighlight = 0 @@ -254,7 +254,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Ultisnips "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/ultisnips/plugin/UltiSnips.vim')) +if !empty(glob(EditorDir.'/plugged/ultisnips/plugin/UltiSnips.vim')) let g:UltiSnipsEditSplit="vertical" let g:UltiSnipsListSnippets="<c-s>" let g:UltiSnipsExpandTrigger="<tab>" @@ -269,7 +269,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Fugitive "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vim-fugitive/plugin/fugitive.vim')) +if !empty(glob(EditorDir.'/plugged/vim-fugitive/plugin/fugitive.vim')) nnoremap <leader>gc :Gcommit --verbose<CR> nnoremap <leader>gd :Gdiff<CR> nnoremap <leader>gl :Glog<CR> @@ -297,7 +297,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Python-Syntax "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/python-syntax/syntax/python.vim')) +if !empty(glob(EditorDir.'/plugged/python-syntax/syntax/python.vim')) let python_highlight_all = 1 endif "----------------------------------------------------------------------------------------------------------------------- @@ -307,7 +307,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " CtrlP Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/ctrlp.vim/plugin/ctrlp.vim')) +if !empty(glob(EditorDir.'/plugged/ctrlp.vim/plugin/ctrlp.vim')) let g:ctrlp_working_path_mode = 'a' let g:ctrlp_by_filename = 1 let g:ctrlp_status_func = { @@ -342,7 +342,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Flake8 Plugin "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vim-flake8/autoload/flake8.vim')) +if !empty(glob(EditorDir.'/plugged/vim-flake8/autoload/flake8.vim')) autocmd FileType python map <buffer> <F9> :call Flake8()<CR> let g:flake8_show_in_gutter=1 autocmd BufWritePost *.py call Flake8() @@ -354,7 +354,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Markdown "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vim-markdown/indent/markdown.vim')) +if !empty(glob(EditorDir.'/plugged/vim-markdown/indent/markdown.vim')) let g:vim_markdown_folding_disabled=1 endif "----------------------------------------------------------------------------------------------------------------------- @@ -364,7 +364,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Dev-icons "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vim-devicons/plugin/webdevicons.vim')) +if !empty(glob(EditorDir.'/plugged/vim-devicons/plugin/webdevicons.vim')) let g:webdevicons_enable_nerdtree = 1 let g:webdevicons_enable = 1 let g:WebDevIconsNerdTreeGitPluginForceVAlign = 1 @@ -378,7 +378,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Dash "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/dash.vim/plugin/dash.vim')) +if !empty(glob(EditorDir.'/plugged/dash.vim/plugin/dash.vim')) nnoremap K :Dash<CR> endif "----------------------------------------------------------------------------------------------------------------------- @@ -388,7 +388,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Deoplete "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/deoplete.nvim/plugin/deoplete.vim')) +if !empty(glob(EditorDir.'/plugged/deoplete.nvim/plugin/deoplete.vim')) let g:deoplete#enable_at_startup = 1 endif "----------------------------------------------------------------------------------------------------------------------- @@ -398,7 +398,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Neomake "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/neomake/plugin/neomake.vim')) +if !empty(glob(EditorDir.'/plugged/neomake/plugin/neomake.vim')) autocmd! BufWritePost * Neomake let g:neomake_javascript_enabled_makers = ['eslint'] "let g:neomake_verbose = 3 @@ -415,7 +415,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " CamelCaseMotion "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/CamelCaseMotion/plugin/camelcasemotion.vim')) +if !empty(glob(EditorDir.'/plugged/CamelCaseMotion/plugin/camelcasemotion.vim')) map <silent> ,w <Plug>CamelCaseMotion_w map <silent> ,e <Plug>CamelCaseMotion_e map <silent> ,b <Plug>CamelCaseMotion_b @@ -427,7 +427,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Vim JSON "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/vim-json/indent/json.vim')) +if !empty(glob(EditorDir.'/plugged/vim-json/indent/json.vim')) let g:vim_json_syntax_conceal = 0 endif "----------------------------------------------------------------------------------------------------------------------- @@ -437,7 +437,7 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Ack Searching "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob(EditorDir.'plugged/ack.vim/plugin/ack.vim')) +if !empty(glob(EditorDir.'/plugged/ack.vim/plugin/ack.vim')) nnoremap <space>/ :call AckSearch()<CR> function! AckSearch() call inputsave() |