aboutsummaryrefslogtreecommitdiff
path: root/variables.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-31 01:13:09 +0800
committerjdhao <jdhao@hotmail.com>2020-10-31 01:13:09 +0800
commitd0827ae776a83cddb30a4e7dada8d9f491cde334 (patch)
tree9c4c39037c9e1288ceaa87a49c604c3bc7e28e94 /variables.vim
parentbbceffe9cf7d806503930b82b0ac987d0fd9c0bd (diff)
move custom settings to core/ directory
Diffstat (limited to 'variables.vim')
-rw-r--r--variables.vim56
1 files changed, 0 insertions, 56 deletions
diff --git a/variables.vim b/variables.vim
deleted file mode 100644
index 9625609..0000000
--- a/variables.vim
+++ /dev/null
@@ -1,56 +0,0 @@
-"{ Global Variable
-
-"{{ Custom variables
-let g:is_win = has('win32') || has('win64')
-let g:is_linux = has('unix') && !has('macunix')
-let g:is_mac = has('macunix')
-"}}
-
-"{{ Builtin variables
-" Disable Python2 support
-let g:loaded_python_provider=0
-
-let g:did_install_default_menus = 1 " do not load menu
-
-" Path to Python 3 interpreter (must be an absolute path), make startup
-" faster. See https://neovim.io/doc/user/provider.html.
-if executable('python')
- if g:is_win
- let g:python3_host_prog=substitute(exepath('python'), '.exe$', '', 'g')
- elseif g:is_linux || g:is_mac
- let g:python3_host_prog=exepath('python')
- endif
-else
- echoerr 'Python 3 executable not found! You must install Python 3 and set its PATH correctly!'
-endif
-
-" Custom mapping <leader> (see `:h mapleader` for more info)
-let mapleader = ','
-"}}
-
-"{{ Disable loading certain plugins
-" Whether to load netrw by default, see
-" https://github.com/bling/dotvim/issues/4
-" let g:loaded_netrw = 0
-" let g:loaded_netrwPlugin = 0
-let g:netrw_liststyle = 3
-if g:is_win
- let g:netrw_http_cmd = 'curl --ssl-no-revoke -Lo'
-endif
-
-" Do not load tohtml.vim
-let g:loaded_2html_plugin = 1
-
-" Do not load zipPlugin.vim, gzip.vim and tarPlugin.vim (all these plugins are
-" related to checking files inside compressed files)
-let g:loaded_zipPlugin = 1
-let loaded_gzip = 1
-let g:loaded_tarPlugin = 1
-
-let g:loaded_tutor_mode_plugin = 1 " do not load the tutor plugin
-
-" Do not use builtin matchit.vim and matchparen.vim since we use vim-matchup
-let g:loaded_matchit = 1
-let g:loaded_matchparen = 1
-"}}
-"}