chore(vimrc): Drop vim and windows

I haven't used vim for years, neovim seems to be the future.
And vim on Windows barely usable for me.
This commit is contained in:
Ahmad Ansori Palembani 2024-04-14 08:07:04 +07:00
parent 20400cf82f
commit a43c472e54
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -1,43 +1,37 @@
" vim: filetype=vim " vim: filetype=vim
" ============================== "
" ________ ++ ________ " ========================================
" /VVVVVVVV\++++ /VVVVVVVV\ " ::-----------------------:
" \VVVVVVVV/++++++\VVVVVVVV/ " .--------------------------:
" |VVVVVV|++++++++/VVVVV/' " :---------------:--------:
" |VVVVVV|++++++/VVVVV/' " :------.
" +|VVVVVV|++++/VVVVV/'+ " :------.
" +++|VVVVVV|++/VVVVV/'+++++ " .------: .:::
"+++++|VVVVVV|/VVVVV/'+++++++++ " ------: :-----
" +++|VVVVVVVVVVV/'+++++++++ " :------. -----.
" +|VVVVVVVVV/'+++++++++ " .------: ...
" |VVVVVVV/'+++++++++ " .------: .::.
" |VVVVV/'+++++++++ " :------. :----:
" |VVV/'+++++++++ " .------. :------.
" 'V/' ++++++ " .------: .------.
" ++ " .------: .------:
" ============================== " :-------:::::::::::------.
" null2264's VIMRC " :-----------------------:
" ============================== " .---------------------:
" NeoVIM is recommended! This vimrc created inside NeoVIM and not tested on " ========================================
" VIM " null2264's NeoVim Config
" ========================================
" ----- Sourcing Mapping/Config if !has('nvim') || !has('win64') || !has('win32') || !has('win16')
" Automatically source config for the correct OS
" NOTE: By default the directory of Windows config will be located on
" "C:\_config\vim"
if has('win64') || has('win32') || has('win16')
let $ZVIM_CONFIG_DIR = "C:/_config/vim"
let $ZVIM_OS_TYPE = "win"
else
let $ZVIM_CONFIG_DIR = "~/.config/vim" let $ZVIM_CONFIG_DIR = "~/.config/vim"
let $ZVIM_OS_TYPE = "nix" let $ZVIM_OS_TYPE = "nix"
endif
so $ZVIM_CONFIG_DIR/vim_$ZVIM_OS_TYPE so $ZVIM_CONFIG_DIR/vim_$ZVIM_OS_TYPE
so $ZVIM_CONFIG_DIR/vim_uni so $ZVIM_CONFIG_DIR/vim_uni
if !exists('g:vscode') if !exists('g:vscode')
source $ZVIM_CONFIG_DIR/vim_plug source $ZVIM_CONFIG_DIR/vim_plug
endif
else
echoerr "Only NeoVim on POSIX OS is supported!"
endif endif