Powerline config.

This commit is contained in:
Christophe Buffenoir 2013-05-02 23:36:55 +02:00
parent c98bf2e7a6
commit 809b641f51
40 changed files with 1205 additions and 88 deletions

View file

@ -0,0 +1,106 @@
{
"colors": {
"black": 16,
"white": 231,
"darkestgreen": 22,
"darkgreen": 28,
"mediumgreen": 70,
"brightgreen": 148,
"darkestcyan": 23,
"darkcyan": 74,
"mediumcyan": 117,
"brightcyan": 159,
"darkestblue": 24,
"darkblue": 31,
"darkestred": 52,
"darkred": 88,
"mediumred": 124,
"brightred": 160,
"brightestred": 196,
"darkestpurple": 55,
"mediumpurple": 98,
"brightpurple": 189,
"darkorange": 94,
"mediumorange": 166,
"brightorange": 208,
"brightestorange": 214,
"brightyellow": 220,
"gray0": 233,
"gray1": 235,
"gray2": 236,
"gray3": 239,
"gray4": 240,
"gray5": 241,
"gray6": 244,
"gray7": 245,
"gray8": 247,
"gray9": 250,
"gray10": 252,
"gray61": [14, "93a1a1"],
"gray13": [8, "002b36"],
"royalblue5": [0, "073642"],
"darkgreencopper": [10, "586e75"],
"lightskyblue4": [11, "657b83"],
"azure4": [12, "839496"],
"lightyellow": [7, "eee8d5"],
"oldlace": [15, "fdf6e3"],
"green": [2, "719e07"],
"cyan": [6, "2aa198"],
"blue": [4, "268bd2"],
"red": [1, "dc322f"],
"magenta": [5, "d33682"],
"violet": [13, "6c71c4"],
"orange": [9, "cb4b16"],
"yellow": [3, "b58900"],
"lightyellowgreen": 106,
"gold3": 178,
"orangered": 202,
"steelblue": 67,
"darkorange3": 166,
"skyblue1": 117,
"khaki1": 228
},
"gradients": {
"dark_GREEN_Orange_red": [
[22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 94, 94, 94, 94, 94, 94, 94, 52],
["005f00", "015f00", "025f00", "035f00", "045f00", "055f00", "065f00", "075f00", "085f00", "095f00", "0b5f00", "0c5f00", "0d5f00", "0e5f00", "0f5f00", "105f00", "115f00", "125f00", "135f00", "145f00", "165f00", "175f00", "185f00", "195f00", "1a5f00", "1b5f00", "1c5f00", "1d5f00", "1e5f00", "1f5f00", "215f00", "225f00", "235f00", "245f00", "255f00", "265f00", "275f00", "285f00", "295f00", "2a5f00", "2c5f00", "2d5f00", "2e5f00", "2f5f00", "305f00", "315f00", "325f00", "335f00", "345f00", "355f00", "375f00", "385f00", "395f00", "3a5f00", "3b5f00", "3c5f00", "3d5f00", "3e5f00", "3f5f00", "415f00", "425f00", "435f00", "445f00", "455f00", "465f00", "475f00", "485f00", "495f00", "4a5f00", "4c5f00", "4d5f00", "4e5f00", "4f5f00", "505f00", "515f00", "525f00", "535f00", "545f00", "555f00", "575f00", "585f00", "595f00", "5a5f00", "5b5f00", "5c5f00", "5d5f00", "5e5f00", "615f00", "655f00", "685f00", "6c5f00", "6f5f00", "735f00", "765f00", "7a5f00", "7d5f00", "815f00", "845f00", "815200", "702900"]
],
"GREEN_Orange_red": [
[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1],
["005f00", "015f00", "025f00", "035f00", "045f00", "055f00", "065f00", "075f00", "085f00", "095f00", "0b5f00", "0c5f00", "0d5f00", "0e5f00", "0f5f00", "105f00", "115f00", "125f00", "135f00", "145f00", "165f00", "175f00", "185f00", "195f00", "1a5f00", "1b5f00", "1c5f00", "1d5f00", "1e5f00", "1f5f00", "215f00", "225f00", "235f00", "245f00", "255f00", "265f00", "275f00", "285f00", "295f00", "2a5f00", "2c5f00", "2d5f00", "2e5f00", "2f5f00", "305f00", "315f00", "325f00", "335f00", "345f00", "355f00", "375f00", "385f00", "395f00", "3a5f00", "3b5f00", "3c5f00", "3d5f00", "3e5f00", "3f5f00", "415f00", "425f00", "435f00", "445f00", "455f00", "465f00", "475f00", "485f00", "495f00", "4a5f00", "4c5f00", "4d5f00", "4e5f00", "4f5f00", "505f00", "515f00", "525f00", "535f00", "545f00", "555f00", "575f00", "585f00", "595f00", "5a5f00", "5b5f00", "5c5f00", "5d5f00", "5e5f00", "615f00", "655f00", "685f00", "6c5f00", "6f5f00", "735f00", "765f00", "7a5f00", "7d5f00", "815f00", "845f00", "815200", "702900"]
],
"green_yellow_red": [
[190, 184, 178, 172, 166, 160],
["8ae71c", "8ce71c", "8fe71c", "92e71c", "95e71d", "98e71d", "9ae71d", "9de71d", "a0e71e", "a3e71e", "a6e71e", "a8e71e", "abe71f", "aee71f", "b1e71f", "b4e71f", "b6e720", "b9e720", "bce720", "bfe720", "c2e821", "c3e721", "c5e621", "c7e521", "c9e522", "cbe422", "cde322", "cfe222", "d1e223", "d3e123", "d5e023", "d7df23", "d9df24", "dbde24", "dddd24", "dfdc24", "e1dc25", "e3db25", "e5da25", "e7d925", "e9d926", "e9d626", "e9d426", "e9d126", "e9cf27", "e9cc27", "e9ca27", "e9c727", "e9c528", "e9c228", "e9c028", "e9bd28", "e9bb29", "e9b829", "e9b629", "e9b329", "e9b12a", "e9ae2a", "e9ac2a", "e9a92a", "eaa72b", "eaa42b", "eaa22b", "ea9f2b", "ea9d2c", "ea9b2c", "ea982c", "ea962c", "ea942d", "ea912d", "ea8f2d", "ea8d2d", "ea8a2e", "ea882e", "ea862e", "ea832e", "ea812f", "ea7f2f", "ea7c2f", "ea7a2f", "eb7830", "eb7530", "eb7330", "eb7130", "eb6f31", "eb6c31", "eb6a31", "eb6831", "eb6632", "eb6332", "eb6132", "eb5f32", "eb5d33", "eb5a33", "eb5833", "eb5633", "eb5434", "eb5134", "eb4f34", "eb4d34", "ec4b35"]
],
"green_yellow_orange_red": [
[2, 3, 9, 1],
["719e07", "739d06", "759c06", "779c06", "799b06", "7b9a05", "7d9a05", "7f9905", "819805", "839805", "859704", "879704", "899604", "8b9504", "8d9504", "8f9403", "919303", "949303", "969203", "989102", "9a9102", "9c9002", "9e9002", "a08f02", "a28e01", "a48e01", "a68d01", "a88c01", "aa8c01", "ac8b00", "ae8a00", "b08a00", "b28900", "b58900", "b58700", "b68501", "b78302", "b78102", "b87f03", "b97d04", "b97b04", "ba7905", "bb7806", "bb7606", "bc7407", "bd7208", "bd7008", "be6e09", "bf6c0a", "bf6a0a", "c0690b", "c1670c", "c1650c", "c2630d", "c3610e", "c35f0e", "c45d0f", "c55b10", "c55a10", "c65811", "c75612", "c75412", "c85213", "c95014", "c94e14", "ca4c15", "cb4b16", "cb4a16", "cc4917", "cc4818", "cd4719", "cd4719", "ce461a", "ce451b", "cf441c", "cf441c", "d0431d", "d0421e", "d1411f", "d1411f", "d24020", "d23f21", "d33e22", "d33e22", "d43d23", "d43c24", "d53b25", "d53b25", "d63a26", "d63927", "d73828", "d73828", "d83729", "d8362a", "d9352b", "d9352b", "da342c", "da332d", "db322e", "dc322f"]
],
"yellow_red": [
[220, 178, 172, 166, 160],
["ffd700", "fdd500", "fbd300", "fad200", "f8d000", "f7cf00", "f5cd00", "f3cb00", "f2ca00", "f0c800", "efc700", "edc500", "ebc300", "eac200", "e8c000", "e7bf00", "e5bd00", "e3bb00", "e2ba00", "e0b800", "dfb700", "ddb500", "dbb300", "dab200", "d8b000", "d7af00", "d7ad00", "d7ab00", "d7aa00", "d7a800", "d7a700", "d7a500", "d7a300", "d7a200", "d7a000", "d79f00", "d79d00", "d79b00", "d79a00", "d79800", "d79700", "d79500", "d79300", "d79200", "d79000", "d78f00", "d78d00", "d78b00", "d78a00", "d78800", "d78700", "d78500", "d78300", "d78200", "d78000", "d77f00", "d77d00", "d77b00", "d77a00", "d77800", "d77700", "d77500", "d77300", "d77200", "d77000", "d76f00", "d76d00", "d76b00", "d76a00", "d76800", "d76700", "d76500", "d76300", "d76200", "d76000", "d75f00", "d75b00", "d75700", "d75300", "d74f00", "d74c00", "d74800", "d74400", "d74000", "d73c00", "d73900", "d73500", "d73100", "d72d00", "d72900", "d72600", "d72200", "d71e00", "d71a00", "d71600", "d71300", "d70f00", "d70b00", "d70700"]
],
"yellow_orange_red": [
[3, 9, 1],
["b58900", "b58700", "b58600", "b68501", "b68401", "b78202", "b78102", "b88003", "b87f03", "b87d03", "b97c04", "b97b04", "ba7a05", "ba7805", "bb7706", "bb7606", "bc7507", "bc7307", "bc7207", "bd7108", "bd7008", "be6e09", "be6d09", "bf6c0a", "bf6b0a", "c06a0b", "c0680b", "c0670b", "c1660c", "c1650c", "c2630d", "c2620d", "c3610e", "c3600e", "c35e0e", "c45d0f", "c45c0f", "c55b10", "c55910", "c65811", "c65711", "c75612", "c75412", "c75312", "c85213", "c85113", "c94f14", "c94e14", "ca4d15", "ca4c15", "cb4b16", "cb4a16", "cb4a17", "cc4917", "cc4918", "cc4818", "cd4819", "cd4719", "cd471a", "ce461a", "ce461b", "ce451b", "cf451c", "cf441c", "cf441d", "d0431d", "d0431e", "d0421e", "d1421f", "d1411f", "d14120", "d24020", "d24021", "d23f21", "d33f22", "d33e22", "d33e23", "d43d23", "d43d24", "d43c24", "d53c25", "d53b25", "d53b26", "d63a26", "d63a27", "d63927", "d73928", "d73828", "d73829", "d83729", "d8372a", "d8362a", "d9362b", "d9352b", "d9352c", "da342c", "da342d", "da332d", "db332e"]
],
"blue_red": [
[39, 74, 68, 67, 103, 97, 96, 132, 131, 167, 203, 197],
["19b4fe", "1bb2fc", "1db1fa", "1faff8", "22aef6", "24adf4", "26abf2", "29aaf0", "2ba9ee", "2da7ec", "30a6ea", "32a5e8", "34a3e6", "36a2e4", "39a0e2", "3b9fe1", "3d9edf", "409cdd", "429bdb", "449ad9", "4798d7", "4997d5", "4b96d3", "4d94d1", "5093cf", "5292cd", "5490cb", "578fc9", "598dc7", "5b8cc6", "5e8bc4", "6089c2", "6288c0", "6487be", "6785bc", "6984ba", "6b83b8", "6e81b6", "7080b4", "727eb2", "757db0", "777cae", "797aac", "7b79ab", "7e78a9", "8076a7", "8275a5", "8574a3", "8772a1", "89719f", "8c709d", "8e6e9b", "906d99", "926b97", "956a95", "976993", "996791", "9c668f", "9e658e", "a0638c", "a3628a", "a56188", "a75f86", "a95e84", "ac5c82", "ae5b80", "b05a7e", "b3587c", "b5577a", "b75678", "ba5476", "bc5374", "be5273", "c05071", "c34f6f", "c54e6d", "c74c6b", "ca4b69", "cc4967", "ce4865", "d14763", "d34561", "d5445f", "d7435d", "da415b", "dc4059", "de3f58", "e13d56", "e33c54", "e53a52", "e83950", "ea384e", "ec364c", "ee354a", "f13448", "f33246", "f53144", "f83042", "fa2e40"]
]
}
}

View file

@ -0,0 +1,8 @@
{
"name": "Default color scheme for IPython prompt",
"groups": {
"virtualenv": { "fg": "white", "bg": "darkcyan" },
"prompt": { "fg": "gray9", "bg": "gray4" },
"prompt_count": { "fg": "white", "bg": "gray4" }
}
}

View file

@ -0,0 +1,17 @@
{
"name": "Default color scheme for shell prompts",
"groups": {
"user": { "fg": "white", "bg": "darkblue", "attr": ["bold"] },
"superuser": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
"virtualenv": { "fg": "white", "bg": "darkcyan" },
"branch": { "fg": "gray9", "bg": "gray2" },
"branch_dirty": { "fg": "brightyellow", "bg": "gray2" },
"branch_clean": { "fg": "gray9", "bg": "gray2" },
"cwd": { "fg": "gray9", "bg": "gray4" },
"cwd:current_folder": { "fg": "gray10", "bg": "gray4", "attr": ["bold"] },
"cwd:divider": { "fg": "gray7", "bg": "gray4" },
"hostname": { "fg": "brightyellow", "bg": "mediumorange" },
"exit_fail": { "fg": "white", "bg": "darkestred" },
"exit_success": { "fg": "white", "bg": "darkestgreen" }
}
}

View file

@ -0,0 +1,17 @@
{
"name": "Solarized Dark",
"groups": {
"user": { "fg": "oldlace", "bg": "blue", "attr": ["bold"] },
"superuser": { "fg": "oldlace", "bg": "red", "attr": ["bold"] },
"virtualenv": { "fg": "oldlace", "bg": "green" },
"branch": { "fg": "gray61", "bg": "royalblue5" },
"branch_dirty": { "fg": "yellow", "bg": "royalblue5" },
"branch_clean": { "fg": "gray61", "bg": "royalblue5" },
"cwd": { "fg": "lightyellow", "bg": "darkgreencopper" },
"cwd:current_folder": { "fg": "oldlace", "bg": "darkgreencopper", "attr": ["bold"] },
"cwd:divider": { "fg": "gray61", "bg": "darkgreencopper" },
"hostname": { "fg": "oldlace", "bg": "darkgreencopper" },
"exit_fail": { "fg": "oldlace", "bg": "red" },
"exit_success": { "fg": "oldlace", "bg": "green" }
}
}

View file

@ -0,0 +1,24 @@
{
"name": "Default color scheme for terminal prompts",
"groups": {
"background:divider": { "fg": "gray5", "bg": "gray0" },
"session": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
"date": { "fg": "gray8", "bg": "gray2" },
"time": { "fg": "gray10", "bg": "gray2", "attr": ["bold"] },
"time:divider": { "fg": "gray5", "bg": "gray2" },
"email_alert": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
"email_alert_gradient": { "fg": "white", "bg": "yellow_orange_red", "attr": ["bold"] },
"hostname": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
"weather": { "fg": "gray8", "bg": "gray0" },
"weather_temp_gradient": { "fg": "blue_red", "bg": "gray0" },
"weather_condition_hot": { "fg": "khaki1", "bg": "gray0" },
"weather_condition_snowy": { "fg": "skyblue1", "bg": "gray0" },
"weather_condition_rainy": { "fg": "skyblue1", "bg": "gray0" },
"uptime": { "fg": "gray8", "bg": "gray0" },
"external_ip": { "fg": "gray8", "bg": "gray0" },
"network_load": { "fg": "gray8", "bg": "gray0" },
"network_load_gradient": { "fg": "green_yellow_orange_red", "bg": "gray0" },
"system_load": { "fg": "gray8", "bg": "gray0" },
"system_load_gradient": { "fg": "green_yellow_orange_red", "bg": "gray0" }
}
}

View file

@ -0,0 +1,95 @@
{
"name": "Default color scheme",
"groups": {
"background": { "fg": "white", "bg": "gray2" },
"background:divider": { "fg": "gray6", "bg": "gray2" },
"mode": { "fg": "darkestgreen", "bg": "brightgreen", "attr": ["bold"] },
"modified_indicator": { "fg": "brightyellow", "bg": "gray4", "attr": ["bold"] },
"paste_indicator": { "fg": "white", "bg": "mediumorange", "attr": ["bold"] },
"readonly_indicator": { "fg": "brightestred", "bg": "gray4" },
"branch": { "fg": "gray9", "bg": "gray4" },
"branch_dirty": { "fg": "brightyellow", "bg": "gray4" },
"branch_clean": { "fg": "gray9", "bg": "gray4" },
"branch:divider": { "fg": "gray7", "bg": "gray4" },
"file_directory": { "fg": "gray9", "bg": "gray4" },
"file_name": { "fg": "white", "bg": "gray4", "attr": ["bold"] },
"file_size": { "fg": "gray8", "bg": "gray2" },
"file_name_no_file": { "fg": "gray9", "bg": "gray4", "attr": ["bold"] },
"file_name_empty": { "fg": "gray9", "bg": "gray4" },
"file_format": { "fg": "gray8", "bg": "gray2" },
"file_encoding": { "fg": "gray8", "bg": "gray2" },
"file_type": { "fg": "gray8", "bg": "gray2" },
"file_vcs_status": { "fg": "brightestred", "bg": "gray4" },
"file_vcs_status_M": { "fg": "brightyellow", "bg": "gray4" },
"file_vcs_status_A": { "fg": "brightgreen", "bg": "gray4" },
"line_percent": { "fg": "gray9", "bg": "gray4" },
"line_percent_gradient": { "fg": "green_yellow_red", "bg": "gray4" },
"line_current": { "fg": "gray1", "bg": "gray10", "attr": ["bold"] },
"line_current_symbol": { "fg": "gray1", "bg": "gray10" },
"virtcol_current_gradient": { "fg": "dark_GREEN_Orange_red", "bg": "gray10" },
"col_current": { "fg": "gray6", "bg": "gray10" },
"modified_buffers": { "fg": "brightyellow", "bg": "gray2" }
},
"mode_translations": {
"nc": {
"colors": {
"brightyellow": "darkorange",
"brightestred": "darkred",
"gray0": "gray0",
"gray1": "gray0",
"gray2": "gray0",
"gray3": "gray1",
"gray4": "gray1",
"gray5": "gray1",
"gray6": "gray1",
"gray7": "gray4",
"gray8": "gray4",
"gray9": "gray4",
"gray10": "gray5",
"white": "gray6",
"green_yellow_red": "gray5"
}
},
"i": {
"colors": {
"gray0": "darkestblue",
"gray1": "darkestblue",
"gray2": "darkestblue",
"gray3": "darkblue",
"gray4": "darkblue",
"gray5": "darkestcyan",
"gray6": "darkestcyan",
"gray7": "darkestcyan",
"gray8": "mediumcyan",
"gray9": "mediumcyan",
"gray10": "mediumcyan",
"green_yellow_red": "gray5"
},
"groups": {
"mode": { "fg": "darkestcyan", "bg": "white", "attr": ["bold"] },
"background:divider": { "fg": "darkcyan", "bg": "darkestblue" },
"branch:divider": { "fg": "darkcyan", "bg": "darkblue" }
}
},
"v": {
"groups": {
"mode": { "fg": "darkorange", "bg": "brightestorange", "attr": ["bold"] }
}
},
"V": {
"groups": {
"mode": { "fg": "darkorange", "bg": "brightestorange", "attr": ["bold"] }
}
},
"^V": {
"groups": {
"mode": { "fg": "darkorange", "bg": "brightestorange", "attr": ["bold"] }
}
},
"R": {
"groups": {
"mode": { "fg": "white", "bg": "brightred", "attr": ["bold"] }
}
}
}
}

View file

@ -0,0 +1,92 @@
{
"name": "Solarized Dark",
"groups": {
"background": { "fg": "oldlace", "bg": "royalblue5" },
"background:divider": { "fg": "lightskyblue4", "bg": "royalblue5" },
"mode": { "fg": "oldlace", "bg": "green", "attr": ["bold"] },
"modified_indicator": { "fg": "yellow", "bg": "darkgreencopper", "attr": ["bold"] },
"paste_indicator": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] },
"readonly_indicator": { "fg": "red", "bg": "darkgreencopper" },
"branch": { "fg": "lightyellow", "bg": "darkgreencopper" },
"branch_dirty": { "fg": "yellow", "bg": "darkgreencopper" },
"branch_clean": { "fg": "lightyellow", "bg": "darkgreencopper" },
"branch:divider": { "fg": "gray61", "bg": "darkgreencopper" },
"file_directory": { "fg": "lightyellow", "bg": "darkgreencopper" },
"file_name": { "fg": "oldlace", "bg": "darkgreencopper", "attr": ["bold"] },
"file_size": { "fg": "oldlace", "bg": "darkgreencopper" },
"file_name_no_file": { "fg": "oldlace", "bg": "darkgreencopper", "attr": ["bold"] },
"file_name_empty": { "fg": "oldlace", "bg": "darkgreencopper" },
"file_format": { "fg": "gray61", "bg": "royalblue5" },
"file_encoding": { "fg": "gray61", "bg": "royalblue5" },
"file_type": { "fg": "gray61", "bg": "royalblue5" },
"file_vcs_status": { "fg": "red", "bg": "darkgreencopper" },
"file_vcs_status_M": { "fg": "yellow", "bg": "darkgreencopper" },
"file_vcs_status_A": { "fg": "green", "bg": "darkgreencopper" },
"line_percent": { "fg": "oldlace", "bg": "lightskyblue4" },
"line_percent_gradient": { "fg": "green_yellow_orange_red", "bg": "lightskyblue4" },
"line_current": { "fg": "gray13", "bg": "lightyellow", "attr": ["bold"] },
"line_current_symbol": { "fg": "gray13", "bg": "lightyellow" },
"virtcol_current_gradient": { "fg": "GREEN_Orange_red", "bg": "gray10" },
"col_current": { "fg": "azure4", "bg": "lightyellow" }
},
"mode_translations": {
"nc": {
"colors": {
"darkgreencopper": "royalblue5",
"lightskyblue4": "royalblue5",
"azure4": "darkgreencopper",
"gray61": "lightskyblue4",
"lightyellow": "azure4",
"oldlace": "gray61"
}
},
"i": {
"groups": {
"background": { "fg": "oldlace", "bg": "darkgreencopper" },
"background:divider": { "fg": "lightyellow", "bg": "darkgreencopper" },
"mode": { "fg": "oldlace", "bg": "blue", "attr": ["bold"] },
"modified_indicator": { "fg": "yellow", "bg": "lightyellow", "attr": ["bold"] },
"paste_indicator": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] },
"readonly_indicator": { "fg": "red", "bg": "lightyellow" },
"branch": { "fg": "darkgreencopper", "bg": "lightyellow" },
"branch:divider": { "fg": "lightskyblue4", "bg": "lightyellow" },
"file_directory": { "fg": "darkgreencopper", "bg": "lightyellow" },
"file_name": { "fg": "royalblue5", "bg": "lightyellow", "attr": ["bold"] },
"file_size": { "fg": "royalblue5", "bg": "lightyellow" },
"file_name_no_file": { "fg": "royalblue5", "bg": "lightyellow", "attr": ["bold"] },
"file_name_empty": { "fg": "royalblue5", "bg": "lightyellow" },
"file_format": { "fg": "lightyellow", "bg": "darkgreencopper" },
"file_encoding": { "fg": "lightyellow", "bg": "darkgreencopper" },
"file_type": { "fg": "lightyellow", "bg": "darkgreencopper" },
"file_vcs_status": { "fg": "red", "bg": "lightyellow" },
"file_vcs_status_M": { "fg": "yellow", "bg": "lightyellow" },
"file_vcs_status_A": { "fg": "green", "bg": "lightyellow" },
"line_percent": { "fg": "oldlace", "bg": "gray61" },
"line_percent_gradient": { "fg": "oldlace", "bg": "gray61" },
"line_current": { "fg": "gray13", "bg": "oldlace", "attr": ["bold"] },
"line_current_symbol": { "fg": "gray13", "bg": "oldlace" },
"col_current": { "fg": "azure4", "bg": "oldlace" }
}
},
"v": {
"groups": {
"mode": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] }
}
},
"V": {
"groups": {
"mode": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] }
}
},
"^V": {
"groups": {
"mode": { "fg": "oldlace", "bg": "orange", "attr": ["bold"] }
}
},
"R": {
"groups": {
"mode": { "fg": "oldlace", "bg": "red", "attr": ["bold"] }
}
}
}
}

View file

@ -0,0 +1,25 @@
{
"name": "Default color scheme for window managers",
"groups": {
"background:divider": { "fg": "gray5", "bg": "gray0" },
"session": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
"date": { "fg": "gray8", "bg": "gray2" },
"time": { "fg": "gray10", "bg": "gray2", "attr": ["bold"] },
"time:divider": { "fg": "gray5", "bg": "gray2" },
"email_alert": { "fg": "white", "bg": "brightred", "attr": ["bold"] },
"email_alert_gradient": { "fg": "white", "bg": "yellow_orange_red", "attr": ["bold"] },
"hostname": { "fg": "black", "bg": "gray10", "attr": ["bold"] },
"weather": { "fg": "gray8", "bg": "gray0" },
"weather_temp_gradient": { "fg": "blue_red", "bg": "gray0" },
"weather_condition_hot": { "fg": "khaki1", "bg": "gray0" },
"weather_condition_snowy": { "fg": "skyblue1", "bg": "gray0" },
"weather_condition_rainy": { "fg": "skyblue1", "bg": "gray0" },
"uptime": { "fg": "gray8", "bg": "gray0" },
"external_ip": { "fg": "gray8", "bg": "gray0" },
"network_load": { "fg": "gray8", "bg": "gray0" },
"system_load": { "fg": "gray8", "bg": "gray0" },
"system_load_good": { "fg": "lightyellowgreen", "bg": "gray0" },
"system_load_bad": { "fg": "gold3", "bg": "gray0" },
"system_load_ugly": { "fg": "orangered", "bg": "gray0" }
}
}

View file

@ -0,0 +1,54 @@
{
"common": {
"term_truecolor": false,
"dividers": {
"left": {
"hard": " ",
"soft": " "
},
"right": {
"hard": " ",
"soft": " "
}
},
"spaces": 1
},
"ext": {
"ipython": {
"colorscheme": "default",
"theme": "in",
"local_themes": {
"rewrite": "rewrite",
"out": "out",
"in2": "in2"
}
},
"shell": {
"colorscheme": "default",
"theme": "default"
},
"tmux": {
"colorscheme": "default",
"theme": "default",
"segments" : {
"right": {
"name": "date",
"priority": 50
}
}
},
"vim": {
"colorscheme": "default",
"theme": "default",
"local_themes": {
"cmdwin": "cmdwin",
"help": "help",
"quickfix": "quickfix"
}
},
"wm": {
"colorscheme": "default",
"theme": "default"
}
}
}

View file

@ -0,0 +1,26 @@
{
"default_module": "powerline.segments.common",
"segments": {
"left": [
{
"name": "virtualenv"
},
{
"type": "string",
"contents": "In[",
"draw_soft_divider": false,
"highlight_group": ["prompt"]
},
{
"name": "prompt_count",
"module": "powerline.segments.ipython",
"draw_soft_divider": false
},
{
"type": "string",
"contents": "]",
"highlight_group": ["prompt"]
}
]
}
}

View file

@ -0,0 +1,13 @@
{
"default_module": "powerline.segments.common",
"segments": {
"left": [
{
"type": "string",
"contents": "",
"width": "auto",
"highlight_group": ["prompt"]
}
]
}
}

View file

@ -0,0 +1,25 @@
{
"default_module": "powerline.segments.common",
"segments": {
"left": [
{
"type": "string",
"contents": "Out[",
"draw_soft_divider": false,
"width": "auto",
"align": "r",
"highlight_group": ["prompt"]
},
{
"name": "prompt_count",
"module": "powerline.segments.ipython",
"draw_soft_divider": false
},
{
"type": "string",
"contents": "]",
"highlight_group": ["prompt"]
}
]
}
}

View file

@ -0,0 +1,23 @@
{
"segments": {
"left": [
{
"type": "string",
"contents": "",
"draw_soft_divider": false,
"width": "auto",
"highlight_group": ["prompt"]
},
{
"name": "prompt_count",
"module": "powerline.segments.ipython",
"draw_soft_divider": false
},
{
"type": "string",
"contents": ">",
"highlight_group": ["prompt"]
}
]
}
}

View file

@ -0,0 +1,45 @@
{
"default_module": "powerline.segments.common",
"segment_data": {
"hostname": {
"before": " ",
"args": {
"only_if_ssh": true
}
},
"virtualenv": {
"before": "ⓔ "
},
"branch": {
"before": " "
}
},
"segments": {
"left": [
{
"name": "hostname"
},
{
"name": "user"
},
{
"name": "virtualenv"
},
{
"name": "cwd",
"args": {
"dir_limit_depth": 3
}
}
],
"right": [
{
"module": "powerline.segments.shell",
"name": "last_pipe_status"
},
{
"name": "branch"
}
]
}
}

View file

@ -0,0 +1,43 @@
{
"default_module": "powerline.segments.common",
"segment_data": {
"hostname": {
"before": " ",
"args": {
"only_if_ssh": true
}
},
"virtualenv": {
"before": "ⓔ "
},
"branch": {
"before": " "
}
},
"segments": {
"left": [
{
"name": "hostname"
},
{
"name": "user"
},
{
"name": "virtualenv"
},
{
"name": "branch"
},
{
"name": "cwd",
"args": {
"dir_limit_depth": 3
}
},
{
"name": "last_status",
"module": "powerline.segments.shell"
}
]
}
}

View file

@ -0,0 +1,62 @@
{
"default_module": "powerline.segments.common",
"segment_data": {
"uptime": {
"before": "⇑ "
},
"external_ip": {
"before": "ⓦ "
},
"date": {
"before": "⌚ "
},
"email_imap_alert": {
"before": "✉ ",
"args": {
"username": "",
"password": ""
}
}
},
"segments": {
"right": [
{
"name": "uptime",
"priority": 50
},
{
"name": "external_ip",
"priority": 50
},
{
"name": "network_load",
"priority": 50
},
{
"name": "system_load",
"priority": 50
},
{
"name": "weather",
"priority": 50
},
{
"name": "date"
},
{
"name": "date",
"args": {
"format": "%H:%M",
"istime": true
}
},
{
"name": "email_imap_alert",
"priority": 10
},
{
"name": "hostname"
}
]
}
}

View file

@ -0,0 +1,18 @@
{
"segments": {
"left": [
{
"type": "string",
"contents": "Command Line",
"highlight_group": ["file_name"]
},
{
"type": "string",
"highlight_group": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
]
}
}

View file

@ -0,0 +1,108 @@
{
"segment_data": {
"branch": {
"before": " "
},
"modified_indicator": {
"args": { "text": "+" }
},
"line_percent": {
"args": { "gradient": true },
"after": "%"
},
"line_current_symbol": {
"contents": " "
}
},
"segments": {
"left": [
{
"name": "mode",
"exclude_modes": ["nc"]
},
{
"name": "paste_indicator",
"exclude_modes": ["nc"],
"priority": 10
},
{
"name": "branch",
"exclude_modes": ["nc"],
"priority": 30
},
{
"name": "readonly_indicator",
"draw_soft_divider": false,
"after": " "
},
{
"name": "file_directory",
"priority": 40,
"draw_soft_divider": false
},
{
"name": "file_name",
"draw_soft_divider": false
},
{
"name": "file_vcs_status",
"before": " ",
"draw_soft_divider": false
},
{
"name": "modified_indicator",
"before": " "
},
{
"type": "string",
"highlight_group": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"name": "file_format",
"draw_soft_divider": false,
"exclude_modes": ["nc"],
"priority": 60
},
{
"name": "file_encoding",
"exclude_modes": ["nc"],
"priority": 60
},
{
"name": "file_type",
"exclude_modes": ["nc"],
"priority": 60
},
{
"name": "line_percent",
"priority": 50,
"width": 4,
"align": "r"
},
{
"type": "string",
"name": "line_current_symbol",
"highlight_group": ["line_current_symbol", "line_current"]
},
{
"name": "line_current",
"draw_soft_divider": false,
"width": 3,
"align": "r"
},
{
"name": "virtcol_current",
"draw_soft_divider": false,
"priority": 20,
"before": ":",
"width": 3,
"align": "l"
}
]
}
}

View file

@ -0,0 +1,36 @@
{
"segments": {
"left": [
{
"name": "file_name",
"draw_soft_divider": false
},
{
"type": "string",
"highlight_group": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"name": "line_percent",
"priority": 30,
"width": 4,
"align": "r"
},
{
"type": "string",
"name": "line_current_symbol",
"highlight_group": ["line_current_symbol", "line_current"]
},
{
"name": "line_current",
"draw_soft_divider": false,
"width": 3,
"align": "r"
}
]
}
}

View file

@ -0,0 +1,37 @@
{
"segment_data": {
"buffer_name": {
"contents": "Location List"
}
},
"segments": {
"left": [
{
"type": "string",
"name": "buffer_name",
"highlight_group": ["file_name"],
"draw_soft_divider": false
},
{
"type": "string",
"highlight_group": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"type": "string",
"name": "line_current_symbol",
"highlight_group": ["line_current_symbol", "line_current"]
},
{
"name": "line_current",
"draw_soft_divider": false,
"width": 3,
"align": "r"
}
]
}
}

View file

@ -0,0 +1,31 @@
{
"default_module": "powerline.segments.common",
"segments": {
"right": [
{
"name": "weather",
"priority": 50
},
{
"name": "date"
},
{
"name": "date",
"args": {
"format": "%H:%M",
"istime": true
},
"before": "⌚ "
},
{
"name": "email_imap_alert",
"before": "✉ ",
"priority": 10,
"args": {
"username": "",
"password": ""
}
}
]
}
}

View file

@ -1,18 +1,22 @@
set -g prefix C-p
set -g prefix C-REPLACEMEWITHFIRSTLETTEROFHOSTNAME
unbind C-b
set -g display-time 1000
set-window-option -g monitor-activity on
set -g visual-activity on
set -g visual-activity off
set -g visual-bell off
set -g history-limit 1000
# THEME
set -g status-bg black
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green][#[fg=brightblue]#(whoami)#[fg=white]@#[fg=brightblue]#H#[fg=white]:#[fg=brightblue]#S#[fg=green]][#[default]'
set -g status-right '#[fg=green]][#[fg=blue]%d/%m #[fg=brightblue]%H:%M#[fg=green]]#[default]'
#set -g status-bg black
#set -g status-fg white
#set -g status-interval 60
#set -g status-left-length 30
#set -g status-left '#[fg=green][#[fg=brightblue]#(whoami)#[fg=white]@#[fg=brightblue]#H#[fg=white]:#[fg=brightblue]#S#[fg=green]][#[default]'
#set -g status-right '#[fg=green]][#[fg=blue]%d/%m #[fg=brightblue]%H:%M#[fg=green]]#[default]'
source '~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'

View file

@ -0,0 +1,180 @@
" Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com>
" Source repository: https://github.com/Lokaltog/vim-distinguished
" Initialization {{{
set background=dark
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'distinguished'
if ! has('gui_running')
if &t_Co != 256
echoe 'The ' . g:colors_name . ' color scheme requires gvim or a 256-color terminal'
finish
endif
endif
" }}}
" Color dictionary parser {{{
function! s:ColorDictParser(color_dict)
for [group, group_colors] in items(a:color_dict)
exec 'hi ' . group
\ . ' ctermfg=' . (group_colors[0] == '' ? 'NONE' : group_colors[0])
\ . ' ctermbg=' . (group_colors[1] == '' ? 'NONE' : group_colors[1])
\ . ' cterm=' . (group_colors[2] == '' ? 'NONE' : group_colors[2])
\
\ . ' guifg=' . (group_colors[3] == '' ? 'NONE' : '#' . group_colors[3])
\ . ' guibg=' . (group_colors[4] == '' ? 'NONE' : '#' . group_colors[4])
\ . ' gui=' . (group_colors[5] == '' ? 'NONE' : group_colors[5])
endfor
endfunction
" }}}
" | Highlight group | CTFG | CTBG | CTAttributes | || | GUIFG | GUIBG | GUIAttributes |
" |--------------------------------|-------|-------|-----------------| || |---------|----------|-----------------|
call s:ColorDictParser({
\ 'Normal' : [ 231, 16, '', 'ffffff', '000000', '']
\ , 'Visual' : [ 240, 253, '', '585858', 'dadada', '']
\
\ , 'Cursor' : [ '', '', '', 'ffffff', 'dd4010', '']
\ , 'lCursor' : [ '', '', '', 'ffffff', '89b6e2', '']
\
\ , 'CursorLine' : [ '', 236, '', '', '3a3a3a', '']
\ , 'CursorLineNr' : [ 231, 240, '', 'ffffff', '585858', '']
\ , 'CursorColumn' : [ 231, 237, '', 'ffffff', '3a3a3a', '']
\
\ , 'Folded' : [ 249, 234, '', 'b2b2b2', '1c1c1c', '']
\ , 'FoldColumn' : [ 243, 234, '', '767676', '1c1c1c', '']
\ , 'SignColumn' : [ 231, 233, 'bold', 'ffffff', '121212', 'bold']
\ , 'ColorColumn' : [ '', 233, '', '', '262626', '']
\
\ , 'StatusLine' : [ 231, 236, 'bold', 'ffffff', '303030', 'bold']
\ , 'StatusLineNC' : [ 244, 232, '', '808080', '080808', '']
\
\ , 'LineNr' : [ 243, 235, '', '767676', '262626', '']
\ , 'VertSplit' : [ 240, '', '', '585858', '1c1c1c', '']
\
\ , 'WildMenu' : [ 234, 231, '', '1c1c1c', 'ffffff', '']
\ , 'Directory' : [ 143, '', 'bold', 'afaf5f', '', 'bold']
\ , 'Underlined' : [ 130, '', '', 'af5f00', '', '']
\
\ , 'Question' : [ 74, '', 'bold', '5fafd7', '', 'bold']
\ , 'MoreMsg' : [ 214, '', 'bold', 'ffaf00', '', 'bold']
\ , 'WarningMsg' : [ 202, '', 'bold', 'ff5f00', '', 'bold']
\ , 'ErrorMsg' : [ 196, '', 'bold', 'ff0000', '', 'bold']
\
\ , 'Comment' : [ 243, 233, '', '767676', '121212', '']
\ , 'vimCommentTitleLeader' : [ 250, 233, '', 'bcbcbc', '121212', '']
\ , 'vimCommentTitle' : [ 250, 233, '', 'bcbcbc', '121212', '']
\ , 'vimCommentString' : [ 245, 233, '', '8a8a8a', '121212', '']
\
\ , 'TabLine' : [ 231, 238, '', 'ffffff', '444444', '']
\ , 'TabLineSel' : [ 255, '', 'bold', 'eeeeee', '', 'bold']
\ , 'TabLineFill' : [ 240, 238, '', '585858', '444444', '']
\ , 'TabLineNumber' : [ 160, 238, 'bold', 'd70000', '444444', 'bold']
\ , 'TabLineClose' : [ 245, 238, 'bold', '8a8a8a', '444444', 'bold']
\
\ , 'SpellCap' : [ 231, 31, 'bold', 'ffffff', '0087af', 'bold']
\
\ , 'SpecialKey' : [ 239, '', '', '4e4e4e', '', '']
\ , 'NonText' : [ 88, '', '', '870000', '', '']
\ , 'MatchParen' : [ 231, 25, 'bold', 'ffffff', '005faf', 'bold']
\
\ , 'Constant' : [ 137, '', 'bold', 'af875f', '', 'bold']
\ , 'Special' : [ 150, '', '', 'afd787', '', '']
\ , 'Identifier' : [ 66, '', 'bold', '5f8787', '', 'bold']
\ , 'Statement' : [ 186, '', 'bold', 'd7d787', '', 'bold']
\ , 'PreProc' : [ 247, '', '', '9e9e9e', '', '']
\ , 'Type' : [ 67, '', 'bold', '5f87af', '', 'bold']
\ , 'String' : [ 143, '', '', 'afaf5f', '', '']
\ , 'Number' : [ 173, '', '', 'd7875f', '', '']
\ , 'Define' : [ 173, '', '', 'd7875f', '', '']
\ , 'Error' : [ 208, 124, '', 'ff8700', 'af0000', '']
\ , 'Function' : [ 179, '', '', 'd7af5f', '', '']
\ , 'Include' : [ 173, '', '', 'd7875f', '', '']
\ , 'PreCondit' : [ 173, '', '', 'd7875f', '', '']
\ , 'Keyword' : [ 173, '', '', 'd7875f', '', '']
\ , 'Search' : [ 231, 131, '', '000000', 'ffff5f', 'underline,bold']
\ , 'Title' : [ 231, '', '', 'ffffff', '', '']
\ , 'Delimiter' : [ 246, '', '', '949494', '', '']
\ , 'StorageClass' : [ 187, '', '', 'd7d7af', '', '']
\
\ , 'TODO' : [ 228, 94, 'bold', 'ffff87', '875f00', 'bold']
\
\ , 'SyntasticWarning' : [ 220, 94, '', 'ffff87', '875f00', 'bold']
\ , 'SyntasticError' : [ 202, 52, '', 'ffff87', '875f00', 'bold']
\
\ , 'Pmenu' : [ 248, 240, '', 'a8a8a8', '585858', '']
\ , 'PmenuSel' : [ 253, 245, '', 'dadada', '8a8a8a', '']
\ , 'PmenuSbar' : [ 253, 248, '', 'dadada', 'a8a8a8', '']
\
\ , 'phpEOL' : [ 245, '', '', 'dadada', '', '']
\ , 'phpStringDelim' : [ 94, '', '', '875f00', '', '']
\ , 'phpDelimiter' : [ 160, '', '', 'd70000', '', '']
\ , 'phpFunctions' : [ 221, '', 'bold', 'ffd75f', '', 'bold']
\ , 'phpBoolean' : [ 172, '', 'bold', 'd78700', '', 'bold']
\ , 'phpOperator' : [ 215, '', '', 'ffaf5f', '', '']
\ , 'phpMemberSelector' : [ 138, '', 'bold', 'af8787', '', 'bold']
\ , 'phpParent' : [ 227, '', '', 'ffff5f', '', '']
\
\ , 'PHPClassTag' : [ 253, '', '', 'dadada', '', '']
\ , 'PHPInterfaceTag' : [ 253, '', '', 'dadada', '', '']
\ , 'PHPFunctionTag' : [ 222, '', 'bold', 'ffd787', '', 'bold']
\
\ , 'pythonDocString' : [ 240, 233, '', '585858', '121212', '']
\ , 'pythonDocStringTitle' : [ 245, 233, '', 'dadada', '121212', '']
\ , 'pythonRun' : [ 65, '', '', '5f875f', '', '']
\ , 'pythonBuiltinObj' : [ 67, '', 'bold', '5f87af', '', 'bold']
\ , 'pythonSelf' : [ 250, '', 'bold', 'bcbcbc', '', 'bold']
\ , 'pythonFunction' : [ 179, '', 'bold', 'd7af5f', '', 'bold']
\ , 'pythonClass' : [ 221, '', 'bold', 'ffd75f', '', 'bold']
\ , 'pythonExClass' : [ 130, '', '', 'af5f00', '', '']
\ , 'pythonException' : [ 130, '', 'bold', 'af5f00', '', 'bold']
\ , 'pythonOperator' : [ 186, '', '', 'd7d787', '', '']
\ , 'pythonPreCondit' : [ 152, '', 'bold', 'afd7d7', '', 'bold']
\ , 'pythonDottedName' : [ 166, '', '', 'd75f00', '', '']
\ , 'pythonDecorator' : [ 124, '', 'bold', 'af0000', '', 'bold']
\
\ , 'PythonInterfaceTag' : [ 109, '', '', '87afaf', '', '']
\ , 'PythonClassTag' : [ 221, '', '', 'ffd75f', '', '']
\ , 'PythonFunctionTag' : [ 109, '', '', '87afaf', '', '']
\ , 'PythonVariableTag' : [ 253, '', '', 'dadada', '', '']
\ , 'PythonMemberTag' : [ 145, '', '', 'afafaf', '', '']
\
\ , 'CTagsImport' : [ 109, '', '', '87afaf', '', '']
\ , 'CTagsClass' : [ 221, '', '', 'ffd75f', '', '']
\ , 'CTagsFunction' : [ 109, '', '', '87afaf', '', '']
\ , 'CTagsGlobalVariable' : [ 253, '', '', 'dadada', '', '']
\ , 'CTagsMember' : [ 145, '', '', 'afafaf', '', '']
\
\ , 'xmlTag' : [ 149, '', 'bold', 'afd75f', '', 'bold']
\ , 'xmlTagName' : [ 250, '', '', 'bcbcbc', '', '']
\ , 'xmlEndTag' : [ 209, '', 'bold', 'ff875f', '', 'bold']
\
\ , 'cssImportant' : [ 166, '', 'bold', 'd75f00', '', 'bold']
\
\ , 'DiffAdd' : [ 112, 22, '', '87d700', '005f00', '']
\ , 'DiffChange' : [ 220, 94, '', 'ffd700', '875f00', '']
\ , 'DiffDelete' : [ 160, '', '', 'd70000', '', '']
\ , 'DiffText' : [ 220, 94, 'reverse,bold', 'ffd700', '875f00', 'reverse,bold']
\
\ , 'diffLine' : [ 68, '', 'bold', '5f87d7', '', 'bold']
\ , 'diffFile' : [ 242, '', '', '6c6c6c', '', '']
\ , 'diffNewFile' : [ 242, '', '', '6c6c6c', '', '']
\ })
hi link htmlTag xmlTag
hi link htmlTagName xmlTagName
hi link htmlEndTag xmlEndTag
hi link phpCommentTitle vimCommentTitle
hi link phpDocTags vimCommentString
hi link phpDocParam vimCommentTitle
hi link diffAdded DiffAdd
hi link diffChanged DiffChange
hi link diffRemoved DiffDelete

View file

@ -25,10 +25,11 @@
"Diverses options
""""""""""""""""""""""""""""""""""""""""""""""""""
set encoding=utf-8
set nocompatible " désactivation de la compatibilité avec vi
colorscheme elflord " couleur
colorscheme distinguished " couleur
set background=dark " fond noir par défaut
"hi CursorLine guibg=#606060 " couleur de la ligne de curseur
"hi CursorLine guibg=#606060 " couleur de la ligne de curseur
set ai " indentation automatique
syntax enable " activation de la coloration syntaxique
set t_Co=256 " pour un terminal en 256 couleurs, attention, sélection transparente avec un fond transparent !
@ -194,3 +195,16 @@ map <silent> <F6> :1;$ s/[\r \t]\+$//<Return>
""Supprimer les ^M dans vos fichiers avec la touche w
map <silent> <F7> :1;$ s/\r//g<Return>
set rtp+=~/.local/lib/python2.7/site-packages/powerline/bindings/vim
set laststatus=2 " Always display the statusline in all windows
"set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
if ! has('gui_running')
set ttimeoutlen=10
augroup FastEscape
autocmd!
au InsertEnter * set timeoutlen=0
au InsertLeave * set timeoutlen=1000
augroup END
endif

View file

@ -47,11 +47,11 @@ autoload -U zsh-mime-setup
autoload -U zsh-mime-handler
zsh-mime-setup
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn hg bzr mtn
precmd() {
vcs_info
}
#autoload -Uz vcs_info
#zstyle ':vcs_info:*' enable git svn hg bzr mtn
#precmd() {
# vcs_info
#}
zstyle ':vcs_info:*' actionformats
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
@ -84,7 +84,8 @@ function cd() {
}
# Customize to your needs...
export PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games
export PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:~/.local/bin
. ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
ssc() { ssh -XC -p ${3:-"22"} -t ${2:-`whoami`}@$1 "tmux ${argv[4,-1]:-"attach-session"} || tmux ${argv[4,-1]} ;" }

View file

@ -4,5 +4,5 @@ DEBFULLNAME="Christophe Buffenoir"
export DEBEMAIL DEBFULLNAME
POWERLINE_DETECT_SSH="true"
#POWERLINE_FULL_CURRENT_PATH="true"
POWERLINE_FULL_CURRENT_PATH="true"

View file

@ -64,7 +64,8 @@ if [ "$POWERLINE_GIT_UNMERGED" = "" ]; then
POWERLINE_GIT_UNMERGED="═"
fi
ZSH_THEME_GIT_PROMPT_PREFIX=" \ue0a0 "
#ZSH_THEME_GIT_PROMPT_PREFIX=" \ue0a0 "
ZSH_THEME_GIT_PROMPT_PREFIX=""
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY=" $POWERLINE_GIT_DIRTY"
ZSH_THEME_GIT_PROMPT_CLEAN=" $POWERLINE_GIT_CLEAN"
@ -126,4 +127,4 @@ if [ "$POWERLINE_DISABLE_RPROMPT" = "" ]; then
fi
fi
zstyle ':vcs_info:*' formats "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}%s %r/%S %b %m%u%c$ZSH_THEME_GIT_PROMPT_SUFFIX"
zstyle ':vcs_info:*' formats "$ZSH_THEME_GIT_PROMPT_PREFIX(%s)-[%b]%u%c$ZSH_THEME_GIT_PROMPT_SUFFIX"

View file

@ -1,67 +0,0 @@
# Set up the prompt
autoload -Uz promptinit
promptinit
prompt fade
autoload -U zsh-mime-setup
autoload -U zsh-mime-handler
zsh-mime-setup
setopt histignorealldups sharehistory
# Use emacs keybindings even if our EDITOR is set to vi
bindkey -e
# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
# Use modern completion system
autoload -Uz compinit
compinit
zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2
eval "$(dircolors -b)"
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
alias make='colormake'
alias gcc='colorgcc'
alias diff='colordiff'
alias vim='vim -p'
alias ls='ls --color'
alias ll='ls -la'
alias l='ls -a'
alias grep='grep --color'
export COLORFGBG="default;default"
function cd() {
builtin cd $@;
if [ -f env/bin/activate ]
then
source env/bin/activate
elif [ -f bin/activate ]
then
source bin/activate
elif [ -f ../env/bin/activate ]
then
source ../env/bin/activate
fi
}

View file

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Droid Sans Mono</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>DejaVu Sans Mono</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Envy Code R</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Inconsolata</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Lucida Console</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Monaco</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Pragmata</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>PragmataPro</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Menlo</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Source Code Pro</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Consolas</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Anonymous pro</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Bitstream Vera Sans Mono</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Liberation Mono</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
<alias>
<family>Ubuntu Mono</family>
<prefer><family>PowerlineSymbols</family></prefer>
</alias>
</fontconfig>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

10
update-home.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ "$1" == '--graphic' ]
then
rsync -av graphic/ ~/
fc-cache -vf ~/.fonts
fi
rsync -av common/ ~/
sed -i "s/REPLACEMEWITHFIRSTLETTEROFHOSTNAME/`expr substr \`hostname\` 1 1`/g" ~/.tmux.conf