move do_tag() and find_tags() flags to tag.h
move chartab[] flags to charset.h
move do_dialog() flags to message.h
move vim_dialogyesno() flags to message.h
move win_split() flags to window.h
move history table flags to ex_getln.h

Used by add_to_history()
move operator ID's to ops.h
move event_T definition to filio.h
move skip_vimgrep_pat() flags to quickfix.h
move TBUFSZ to term.h
move *_ESC_CHARS definitions to ex_getln.c
move MIN_LINES and MIN_COLUMNS to window.h
move HL_* flags from to syntax.h

HL_FOLD is used in buffer_defs.h but nvim
compiles just fine with the defines in
syntax.h
move VALID_PATH VALID_HEAD to ex_docmd.h
move enum for vimvars[] to eval.h
move BAD_* flags to ex_cmds_defs.h
move do_source() flags to ex_cmds2.h
move MB_BYTE2LEN* and ENC_* to mbyte.h
move nv_mousescroll() flags to edit.h
move KEYLEN_* to getchar.h