๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove terminal escape codes

kacaii 6afc5666 bd5de3ee

-273
-16
.config/nvim/snippets/package.json
··· 15 15 "path": "./utils/blocks.json" 16 16 }, 17 17 { 18 - "language": "./terminal-escape-codes/terminal-modes.json", 19 - "path": "./terminal-escape-codes/terminal-modes.json" 20 - }, 21 - { 22 - "language": "all", 23 - "path": "./terminal-escape-codes/terminal-colors.json" 24 - }, 25 - { 26 - "language": "", 27 - "path": "./terminal-escape-codes/terminal-cursor-controls.json" 28 - }, 29 - { 30 - "language": "", 31 - "path": "./terminal-escape-codes/terminal-general-ascii.json" 32 - }, 33 - { 34 18 "language": "json", 35 19 "path": "./languages/json.json" 36 20 },
-103
.config/nvim/snippets/terminal-escape-codes/terminal-colors.json
··· 1 - { 2 - "BLACK": { 3 - "prefix": "ansi_colors_black", 4 - "description": "Black Foreground | Background ๓ฐ‰ฆ ", 5 - "body": ["\"\\x1b[${1|30,40|}m\""] 6 - }, 7 - 8 - "BRIGHT_BLACK": { 9 - "prefix": "ansi_colors_bright_black", 10 - "description": "Bright Black Foreground | Background ๓ฐ‰ฆ ", 11 - "body": ["\"\\x1b[${1|90,100|}m\""] 12 - }, 13 - 14 - "RED": { 15 - "prefix": "ansi_colors_red", 16 - "description": "Red Foreground | Background ๓ฐ‰ฆ ", 17 - "body": ["\"\\x1b[${1|31,41|}m\""] 18 - }, 19 - 20 - "BRIGHT_RED": { 21 - "prefix": "ansi_colors_bright_red", 22 - "description": "Bright Red Foreground | Background ๓ฐ‰ฆ ", 23 - "body": ["\"\\x1b[${1|91,101|}m\""] 24 - }, 25 - 26 - "GREEN": { 27 - "prefix": "ansi_colors_green", 28 - "description": "Green Foreground | Background ๓ฐ‰ฆ ", 29 - "body": ["\"\\x1b[${1|32,42|}m\""] 30 - }, 31 - 32 - "BRIGHT_GREEN": { 33 - "prefix": "ansi_colors_bright_green", 34 - "description": "Bright Green Foreground | Background ๓ฐ‰ฆ ", 35 - "body": ["\"\\x1b[${1|92,102|}m\""] 36 - }, 37 - 38 - "YELLOW": { 39 - "prefix": "ansi_colors_yellow", 40 - "description": "Yellow Foreground | Background ๓ฐ‰ฆ ", 41 - "body": ["\"\\x1b[${1|33,43|}m\""] 42 - }, 43 - 44 - "BRIGHT_YELLOW": { 45 - "prefix": "ansi_colors_bright_yellow", 46 - "description": "Bright Yellow Foreground | Background ๓ฐ‰ฆ ", 47 - "body": ["\"\\x1b[${1|93,103|}m\""] 48 - }, 49 - 50 - "BLUE": { 51 - "prefix": "ansi_colors_blue", 52 - "description": "Blue Foreground | Background ๓ฐ‰ฆ ", 53 - "body": ["\"\\x1b[${1|34,44|}m\""] 54 - }, 55 - 56 - "BRIGHT_BLUE": { 57 - "prefix": "ansi_colors_bright_blue", 58 - "description": "Bright Blue Foreground | Background ๓ฐ‰ฆ ", 59 - "body": ["\"\\x1b[${1|94,104|}m\""] 60 - }, 61 - 62 - "MAGENTA": { 63 - "prefix": "ansi_colors_magenta", 64 - "description": "Magenta Foreground | Background ๓ฐ‰ฆ ", 65 - "body": ["\"\\x1b[${1|35,45|}m\""] 66 - }, 67 - 68 - "BRIGHT_MAGENTA": { 69 - "prefix": "ansi_colors_bright_magenta", 70 - "description": "Bright Magenta Foreground | Background ๓ฐ‰ฆ ", 71 - "body": ["\"\\x1b[${1|95,105|}m\""] 72 - }, 73 - 74 - "CYAN": { 75 - "prefix": "ansi_colors_cyan", 76 - "description": "Cyan Foreground | Background ๓ฐ‰ฆ ", 77 - "body": ["\"\\x1b[${1|36,46|}m\""] 78 - }, 79 - 80 - "BRIGHT_CYAN": { 81 - "prefix": "ansi_colors_bright_cyan", 82 - "description": "Bright Cyan Foreground | Background ๓ฐ‰ฆ ", 83 - "body": ["\"\\x1b[${1|96,106|}m\""] 84 - }, 85 - 86 - "WHITE": { 87 - "prefix": "ansi_colors_white", 88 - "description": "White Foreground | Background ๓ฐ‰ฆ ", 89 - "body": ["\"\\x1b[${1|37,47|}m\""] 90 - }, 91 - 92 - "BRIGHT_WHITE": { 93 - "prefix": "ansi_colors_bright_white", 94 - "description": "Bright White Foreground | Background ๓ฐ‰ฆ ", 95 - "body": ["\"\\x1b[${1|97,107|}m\""] 96 - }, 97 - 98 - "DEFAULT": { 99 - "prefix": "ansi_colors_default", 100 - "description": "Default Foreground | Background ๓ฐนŠ ", 101 - "body": ["\"\\x1b[${1|39,49|}m\""] 102 - } 103 - }
-61
.config/nvim/snippets/terminal-escape-codes/terminal-cursor-controls.json
··· 1 - { 2 - "HIDE": { 3 - "prefix": "ANSI_CURSOR_VISIBILITY_HIDE", 4 - "description": "Makes the Cursor invisible ๓ฐˆ‰ ", 5 - "body": ["\"\\x1b[?25l\""] 6 - }, 7 - 8 - "SHOW": { 9 - "prefix": "ANSI_CURSOR_VISIBILITY_SHOW", 10 - "description": "Makes the Cursor visible ๓ฐˆˆ ", 11 - "body": ["\"\\x1b[?25h\""] 12 - }, 13 - 14 - "HOME": { 15 - "prefix": "ANSI_CURSOR_MOVE_HOME", 16 - "description": "Moves the Cursor to Home position ( 0, 0 ) ๎ฌ† ", 17 - "body": ["\"\\x1b[H\""] 18 - }, 19 - 20 - "MOVE_UP": { 21 - "prefix": "ANSI_CURSOR_MOVE_UP", 22 - "description": "Moves the Cursor UP # Lines ๏ข ", 23 - "body": ["\"\\x1b[$1A\""] 24 - }, 25 - 26 - "MOVE_DOWN": { 27 - "prefix": "ANSI_CURSOR_MOVE_DOWN", 28 - "description": "Moves the Cursor DOWN # Lines ๏ฃ ", 29 - "body": ["\"\\x1b[$1B\""] 30 - }, 31 - 32 - "MOVE_RIGHT": { 33 - "prefix": "ANSI_CURSOR_MOVE_RIGHT", 34 - "description": "Moves the Cursor RIGHT # Columns ๏ก ", 35 - "body": ["\"\\x1b[$1C\""] 36 - }, 37 - 38 - "MOVE_LEFT": { 39 - "prefix": "ANSI_CURSOR_MOVE_LEFT", 40 - "description": "Moves the Cursor LEFT # Columns ๏  ", 41 - "body": ["\"\\x1b[$1D\""] 42 - }, 43 - 44 - "MOVE_NEXT_LINE": { 45 - "prefix": "ANSI_CURSOR_MOVE_NEXT_LINE", 46 - "description": "Moves the Cursor to the Beginning of the next Line, # Lines Down ๓ฐ’ญ ", 47 - "body": ["\"\\x1b[$1E\""] 48 - }, 49 - 50 - "MOVE_PREVIOUS_LINE": { 51 - "prefix": "ANSI_CURSOR_MOVE_PREVIOUS_LINE", 52 - "description": "Moves the Cursor to the Beginning of the previous Line, # Lines Up ๓ฐ’ฎ ", 53 - "body": ["\"\\x1b[$1F\""] 54 - }, 55 - 56 - "MOVE_COLUMN": { 57 - "prefix": "ANSI_CURSOR_MOVE_COLUMN", 58 - "description": "Moves the Cursor to Column # ๏ƒ› ", 59 - "body": ["\"\\x1b[$1G\""] 60 - } 61 - }
-7
.config/nvim/snippets/terminal-escape-codes/terminal-general-ascii.json
··· 1 - { 2 - "BELL": { 3 - "prefix": "ANSI_BELL", 4 - "description": "Terminal Bell ๓ฐ‚ž ", 5 - "body": ["\"\\u0007\""] 6 - } 7 - }
-86
.config/nvim/snippets/terminal-escape-codes/terminal-modes.json
··· 1 - { 2 - "RESET": { 3 - "prefix": "ansi_modes_reset", 4 - "description": "Reset all colors and modes ๓ฐœ‰ ", 5 - "body": [ 6 - "\"\\x1b[0m\"" 7 - ] 8 - }, 9 - "BOLD": { 10 - "prefix": "ansi_modes_bold", 11 - "description": "Set or Remove Bold mode ๏’‰ ", 12 - "body": [ 13 - "\"\\x1b[${1|1,22|}m\"" 14 - ] 15 - }, 16 - "DIM": { 17 - "prefix": "ansi_modes_dim", 18 - "description": "Set or Remove Dim / Faint mode ๏’‰ ", 19 - "body": [ 20 - "\"\\x1b[${1|2,22|}m\"" 21 - ] 22 - }, 23 - "FAINT": { 24 - "prefix": "ansi_modes_faint", 25 - "description": "Set or Remove Dim / Faint mode ๏’‰ ", 26 - "body": [ 27 - "\"\\x1b[${1|2,22|}m\"" 28 - ] 29 - }, 30 - "ITALIC": { 31 - "prefix": "ansi_modes_italic", 32 - "description": "Set or Remove Italic mode ๏’‰ ", 33 - "body": [ 34 - "\"\\x1b[${1|3,23|}m\"" 35 - ] 36 - }, 37 - "UNDERLINE": { 38 - "prefix": "ansi_modes_underline", 39 - "description": "Set or Remove Underline mode ๏’‰ ", 40 - "body": [ 41 - "\"\\x1b[${1|4,24|}m\"" 42 - ] 43 - }, 44 - "BLINKING": { 45 - "prefix": "ansi_modes_blinking", 46 - "description": "Set or Remove Blinking mode ๏’‰ ", 47 - "body": [ 48 - "\"\\x1b[${1|5,25|}m\"" 49 - ] 50 - }, 51 - "INVERSE": { 52 - "prefix": "ansi_modes_inverse", 53 - "description": "Set or Remove Inverse / Reverse mode ๏’‰ ", 54 - "body": [ 55 - "\"\\x1b[${1|7,27|}m\"" 56 - ] 57 - }, 58 - "REVERSE": { 59 - "prefix": "ansi_modes_reverse", 60 - "description": "Set or Remove Inverse / Reverse mode ๏’‰ ", 61 - "body": [ 62 - "\"\\x1b[${1|7,27|}m\"" 63 - ] 64 - }, 65 - "HIDDEN": { 66 - "prefix": "ansi_modes_hidden", 67 - "description": "Set or Remove Hidden / Invisible mode ๏’‰ ", 68 - "body": [ 69 - "\"\\x1b[${1|8,28|}m\"" 70 - ] 71 - }, 72 - "INVISIBLE": { 73 - "prefix": "ansi_modes_invisible", 74 - "description": "Set or Remove Hidden / Invisible mode ๏’‰ ", 75 - "body": [ 76 - "\"\\x1b[${1|8,28|}m\"" 77 - ] 78 - }, 79 - "STRIKETHROUGH": { 80 - "prefix": "ansi_modes_strikethrough", 81 - "description": "Set or Remove strikethrough mode ๏’‰ ", 82 - "body": [ 83 - "\"\\x1b[${1|9,29|}m\"" 84 - ] 85 - } 86 - }