aboutsummaryrefslogtreecommitdiff
path: root/src/ascii.h
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-05-12 02:25:17 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2014-05-15 20:46:01 +0200
commitda51dc9cf202772f60bd2da975dbef257bd9237c (patch)
tree5c16b93238a153f55634e9323077f30c8133970c /src/ascii.h
parentffe61e5ba1721340ca51d56bae3ddaca415fb5bc (diff)
downloadrneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.gz
rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.bz2
rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.zip
Introduce nvim namespace: Move files.
Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library.
Diffstat (limited to 'src/ascii.h')
-rw-r--r--src/ascii.h97
1 files changed, 0 insertions, 97 deletions
diff --git a/src/ascii.h b/src/ascii.h
deleted file mode 100644
index cf488c56a7..0000000000
--- a/src/ascii.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * VIM - Vi IMproved by Bram Moolenaar
- *
- * Do ":help uganda" in Vim to read copying and usage conditions.
- * Do ":help credits" in Vim to see a list of people who contributed.
- */
-
-#ifndef NEOVIM_ASCII_H
-#define NEOVIM_ASCII_H
-
-/*
- * Definitions of various common control characters.
- * For EBCDIC we have to use different values.
- */
-
-
-/* IF_EB(ASCII_constant, EBCDIC_constant) */
-#define IF_EB(a, b) a
-
-#define CharOrd(x) ((x) < 'a' ? (x) - 'A' : (x) - 'a')
-#define CharOrdLow(x) ((x) - 'a')
-#define CharOrdUp(x) ((x) - 'A')
-#define ROT13(c, a) (((((c) - (a)) + 13) % 26) + (a))
-
-#define NUL '\000'
-#define BELL '\007'
-#define BS '\010'
-#define TAB '\011'
-#define NL '\012'
-#define NL_STR (char_u *)"\012"
-#define FF '\014'
-#define CAR '\015' /* CR is used by Mac OS X */
-#define ESC '\033'
-#define ESC_STR (char_u *)"\033"
-#define ESC_STR_nc "\033"
-#define DEL 0x7f
-#define DEL_STR (char_u *)"\177"
-#define CSI 0x9b /* Control Sequence Introducer */
-#define CSI_STR "\233"
-#define DCS 0x90 /* Device Control String */
-#define STERM 0x9c /* String Terminator */
-
-#define POUND 0xA3
-
-#define Ctrl_chr(x) (TOUPPER_ASC(x) ^ 0x40) /* '?' -> DEL, '@' -> ^@, etc. */
-#define Meta(x) ((x) | 0x80)
-
-#define CTRL_F_STR "\006"
-#define CTRL_H_STR "\010"
-#define CTRL_V_STR "\026"
-
-#define Ctrl_AT 0 /* @ */
-#define Ctrl_A 1
-#define Ctrl_B 2
-#define Ctrl_C 3
-#define Ctrl_D 4
-#define Ctrl_E 5
-#define Ctrl_F 6
-#define Ctrl_G 7
-#define Ctrl_H 8
-#define Ctrl_I 9
-#define Ctrl_J 10
-#define Ctrl_K 11
-#define Ctrl_L 12
-#define Ctrl_M 13
-#define Ctrl_N 14
-#define Ctrl_O 15
-#define Ctrl_P 16
-#define Ctrl_Q 17
-#define Ctrl_R 18
-#define Ctrl_S 19
-#define Ctrl_T 20
-#define Ctrl_U 21
-#define Ctrl_V 22
-#define Ctrl_W 23
-#define Ctrl_X 24
-#define Ctrl_Y 25
-#define Ctrl_Z 26
-/* CTRL- [ Left Square Bracket == ESC*/
-#define Ctrl_BSL 28 /* \ BackSLash */
-#define Ctrl_RSB 29 /* ] Right Square Bracket */
-#define Ctrl_HAT 30 /* ^ */
-#define Ctrl__ 31
-
-
-/*
- * Character that separates dir names in a path.
- */
-#ifdef BACKSLASH_IN_FILENAME
-# define PATHSEP psepc
-# define PATHSEPSTR pseps
-#else
-# define PATHSEP '/'
-# define PATHSEPSTR "/"
-#endif
-
-#endif /* NEOVIM_ASCII_H */