Browse Source

update vimrc and deleted powerline

master
Dirk Alders 1 year ago
parent
commit
68a8c1bc3a

+ 6
- 7
.vimrc View File

@@ -46,13 +46,13 @@ set smartcase
46 46
 " Text Rendering Options
47 47
 "
48 48
 "  Always try to show a paragraph's last line.
49
-set display+=lastline
49
+"set display+=lastline
50 50
 " Use an encoding that supports unicode.
51 51
 set encoding=utf-8
52 52
 " Avoid wrapping a line in the middle of a word.
53 53
 set linebreak
54 54
 " The number of screen lines to keep above and below the cursor.
55
-set scrolloff=1
55
+set scrolloff=3
56 56
 " The number of screen columns to keep to the left and right of the cursor.
57 57
 set sidescrolloff=5
58 58
 " Enable syntax highlighting.
@@ -66,7 +66,7 @@ set wrap
66 66
 " Always display the status bar.
67 67
 set laststatus=2
68 68
 " Always show cursor position.
69
-set ruler
69
+"set ruler
70 70
 " Display command line's tab complete options as a menu.
71 71
 "set wildmenu
72 72
 " Maximum number of tab pages that can be opened from the command line.
@@ -78,7 +78,7 @@ set cursorline
78 78
 " Show line numbers on the sidebar.
79 79
 set number
80 80
 " Show line number on the current line and relative numbers on all other lines.
81
-"set relativenumber
81
+set relativenumber
82 82
 " Disable beep on errors.
83 83
 set noerrorbells
84 84
 " Flash the screen instead of beeping on errors.
@@ -86,7 +86,7 @@ set visualbell
86 86
 " Enable mouse for scrolling and resizing.
87 87
 set mouse=a
88 88
 " Set the window's title, reflecting the file currently being edited.
89
-set title
89
+"set title
90 90
 " Use colors that suit a dark background.
91 91
 "set background=dark
92 92
 
@@ -110,7 +110,7 @@ set title
110 110
 " Directory to store backup files.
111 111
 set backupdir=~/.cache/vim
112 112
 " Display a confirmation dialog when closing an unsaved file.
113
-set confirm
113
+"set confirm
114 114
 " Directory to store swap files.
115 115
 set dir=~/.cache/vim
116 116
 " Delete comment characters when joining lines.
@@ -131,4 +131,3 @@ set history=1000
131 131
 "set spell
132 132
 " Ignore files matching these patterns when opening files based on a glob pattern.
133 133
 "set wildignore+=.pyc,.swp
134
-

+ 0
- 18
powerline/colorschemes/default.json View File

@@ -1,18 +0,0 @@
1
-{
2
-  "groups": {
3
-    "gitstatus":                 { "fg": "gray8",           "bg": "gray2", "attrs": [] },
4
-    "gitstatus_branch":          { "fg": "gray8",           "bg": "gray2", "attrs": [] },
5
-    "gitstatus_branch_clean":    { "fg": "green",           "bg": "gray2", "attrs": [] },
6
-    "gitstatus_branch_dirty":    { "fg": "gray8",           "bg": "gray2", "attrs": [] },
7
-    "gitstatus_branch_detached": { "fg": "mediumpurple",    "bg": "gray2", "attrs": [] },
8
-    "gitstatus_tag":             { "fg": "darkcyan",        "bg": "gray2", "attrs": [] },
9
-    "gitstatus_behind":          { "fg": "gray10",          "bg": "gray2", "attrs": [] },
10
-    "gitstatus_ahead":           { "fg": "gray10",          "bg": "gray2", "attrs": [] },
11
-    "gitstatus_staged":          { "fg": "green",           "bg": "gray2", "attrs": [] },
12
-    "gitstatus_unmerged":        { "fg": "brightred",       "bg": "gray2", "attrs": [] },
13
-    "gitstatus_changed":         { "fg": "mediumorange",    "bg": "gray2", "attrs": [] },
14
-    "gitstatus_untracked":       { "fg": "brightestorange", "bg": "gray2", "attrs": [] },
15
-    "gitstatus_stashed":         { "fg": "darkblue",        "bg": "gray2", "attrs": [] },
16
-    "gitstatus:divider":         { "fg": "gray8",           "bg": "gray2", "attrs": [] }
17
-  }
18
-}

+ 0
- 154
powerline/colorschemes/vim/default.json View File

@@ -1,154 +0,0 @@
1
-{
2
-	"name": "Default color scheme",
3
-	"groups": {
4
-		"information:unimportant":  { "fg": "gray8", "bg": "gray2", "attrs": [] },
5
-		"information:additional":   { "fg": "gray9", "bg": "gray4", "attrs": [] },
6
-		"background":               { "fg": "white", "bg": "gray2", "attrs": [] },
7
-		"background:divider":       { "fg": "gray6", "bg": "gray2", "attrs": [] },
8
-		"mode":                     { "fg": "darkestgreen", "bg": "brightgreen", "attrs": ["bold"] },
9
-		"visual_range":             { "fg": "brightestorange", "bg": "darkorange", "attrs": ["bold"] },
10
-		"modified_indicator":       { "fg": "brightyellow", "bg": "gray4", "attrs": ["bold"] },
11
-		"paste_indicator":          { "fg": "white", "bg": "mediumorange", "attrs": ["bold"] },
12
-		"readonly_indicator":       { "fg": "brightestred", "bg": "gray4", "attrs": [] },
13
-		"branch_dirty":             { "fg": "brightyellow", "bg": "gray4", "attrs": [] },
14
-		"branch:divider":           { "fg": "gray7", "bg": "gray4", "attrs": [] },
15
-		"file_name":                { "fg": "white", "bg": "gray4", "attrs": ["bold"] },
16
-		"window_title":             { "fg": "white", "bg": "gray4", "attrs": [] },
17
-		"file_name_no_file":        { "fg": "gray9", "bg": "gray4", "attrs": ["bold"] },
18
-		"file_vcs_status":          { "fg": "brightestred", "bg": "gray4", "attrs": [] },
19
-		"file_vcs_status_M":        { "fg": "brightyellow", "bg": "gray4", "attrs": [] },
20
-		"file_vcs_status_A":        { "fg": "brightgreen", "bg": "gray4", "attrs": [] },
21
-		"line_percent":             { "fg": "gray9", "bg": "gray4", "attrs": [] },
22
-		"line_percent_gradient":    { "fg": "dark_green_gray", "bg": "gray4", "attrs": [] },
23
-		"position":                 { "fg": "gray9", "bg": "gray4", "attrs": [] },
24
-		"position_gradient":        { "fg": "green_yellow_red", "bg": "gray4", "attrs": [] },
25
-		"line_current":             { "fg": "gray1", "bg": "gray10", "attrs": ["bold"] },
26
-		"line_current_symbol":      { "fg": "gray1", "bg": "gray10", "attrs": [] },
27
-		"virtcol_current_gradient": { "fg": "dark_GREEN_Orange_red", "bg": "gray10", "attrs": [] },
28
-		"col_current":              { "fg": "gray6", "bg": "gray10", "attrs": [] },
29
-		"modified_buffers":         { "fg": "brightyellow", "bg": "gray2", "attrs": [] },
30
-		"attached_clients":         { "fg": "gray8", "bg": "gray2", "attrs": [] },
31
-		"error":                    { "fg": "brightestred", "bg": "darkred", "attrs": ["bold"] },
32
-		"warning":                  { "fg": "brightyellow", "bg": "darkorange", "attrs": ["bold"] },
33
-		"current_tag":              { "fg": "gray9", "bg": "gray2", "attrs": [] },
34
-
35
-		"tab_nc:modified_indicator": { "fg": "brightyellow", "bg": "gray2", "attrs": ["bold"] }
36
-	},
37
-	"mode_translations": {
38
-		"nc": {
39
-			"colors": {
40
-				"brightyellow": "darkorange",
41
-				"brightestred": "darkred",
42
-				"gray0": "gray0",
43
-				"gray1": "gray0",
44
-				"gray2": "gray0",
45
-				"gray3": "gray1",
46
-				"gray4": "gray1",
47
-				"gray5": "gray1",
48
-				"gray6": "gray1",
49
-				"gray7": "gray4",
50
-				"gray8": "gray4",
51
-				"gray9": "gray4",
52
-				"gray10": "gray5",
53
-				"white": "gray6",
54
-				"dark_green_gray": "gray5"
55
-			}
56
-		},
57
-		"i": {
58
-			"colors": {
59
-				"gray0": "darkestblue",
60
-				"gray1": "darkestblue",
61
-				"gray2": "darkestblue",
62
-				"gray3": "darkblue",
63
-				"gray4": "darkblue",
64
-				"gray5": "darkestcyan",
65
-				"gray6": "darkestcyan",
66
-				"gray7": "darkestcyan",
67
-				"gray8": "mediumcyan",
68
-				"gray9": "mediumcyan",
69
-				"gray10": "mediumcyan",
70
-				"green_yellow_red": "gray5",
71
-				"dark_green_gray": "light_green_gray"
72
-			},
73
-			"groups": {
74
-				"mode":               { "fg": "darkestcyan", "bg": "white", "attrs": ["bold"] },
75
-				"background:divider": { "fg": "darkcyan", "bg": "darkestblue", "attrs": [] },
76
-				"branch:divider":     { "fg": "darkcyan", "bg": "darkblue", "attrs": [] }
77
-			}
78
-		},
79
-		"ic": {
80
-			"colors": {
81
-				"gray0": "darkestblue",
82
-				"gray1": "darkestblue",
83
-				"gray2": "darkestblue",
84
-				"gray3": "darkblue",
85
-				"gray4": "darkblue",
86
-				"gray5": "darkestcyan",
87
-				"gray6": "darkestcyan",
88
-				"gray7": "darkestcyan",
89
-				"gray8": "mediumcyan",
90
-				"gray9": "mediumcyan",
91
-				"gray10": "mediumcyan",
92
-				"green_yellow_red": "gray5",
93
-				"dark_green_gray": "light_green_gray"
94
-			},
95
-			"groups": {
96
-				"mode":               { "fg": "darkestcyan", "bg": "white", "attrs": ["bold"] },
97
-				"background:divider": { "fg": "darkcyan", "bg": "darkestblue", "attrs": [] },
98
-				"branch:divider":     { "fg": "darkcyan", "bg": "darkblue", "attrs": [] }
99
-			}
100
-		},
101
-		"ix": {
102
-			"colors": {
103
-				"gray0": "darkestblue",
104
-				"gray1": "darkestblue",
105
-				"gray2": "darkestblue",
106
-				"gray3": "darkblue",
107
-				"gray4": "darkblue",
108
-				"gray5": "darkestcyan",
109
-				"gray6": "darkestcyan",
110
-				"gray7": "darkestcyan",
111
-				"gray8": "mediumcyan",
112
-				"gray9": "mediumcyan",
113
-				"gray10": "mediumcyan",
114
-				"green_yellow_red": "gray5",
115
-				"dark_green_gray": "light_green_gray"
116
-			},
117
-			"groups": {
118
-				"mode":               { "fg": "darkestcyan", "bg": "white", "attrs": ["bold"] },
119
-				"background:divider": { "fg": "darkcyan", "bg": "darkestblue", "attrs": [] },
120
-				"branch:divider":     { "fg": "darkcyan", "bg": "darkblue", "attrs": [] }
121
-			}
122
-		},
123
-		"v": {
124
-			"groups": {
125
-				"mode": { "fg": "darkorange", "bg": "brightestorange", "attrs": ["bold"] }
126
-			}
127
-		},
128
-		"V": {
129
-			"groups": {
130
-				"mode": { "fg": "darkorange", "bg": "brightestorange", "attrs": ["bold"] }
131
-			}
132
-		},
133
-		"^V": {
134
-			"groups": {
135
-				"mode": { "fg": "darkorange", "bg": "brightestorange", "attrs": ["bold"] }
136
-			}
137
-		},
138
-		"R": {
139
-			"groups": {
140
-				"mode": { "fg": "white", "bg": "brightred", "attrs": ["bold"] }
141
-			}
142
-		},
143
-		"Rc": {
144
-			"groups": {
145
-				"mode": { "fg": "white", "bg": "brightred", "attrs": ["bold"] }
146
-			}
147
-		},
148
-		"Rx": {
149
-			"groups": {
150
-				"mode": { "fg": "white", "bg": "brightred", "attrs": ["bold"] }
151
-			}
152
-		}
153
-	}
154
-}

+ 0
- 12
powerline/config.json View File

@@ -1,12 +0,0 @@
1
-{
2
-    "ext": {
3
-        "shell": {
4
-            "colorscheme": "default",
5
-            "theme": "default"
6
-        },
7
-        "vim": {
8
-            "colorscheme": "default",
9
-            "theme": "default"
10
-        }
11
-   }
12
-}

+ 0
- 47
powerline/themes/shell/default.json View File

@@ -1,47 +0,0 @@
1
-{
2
-	"segments": {
3
-		"left": [
4
-			{
5
-				"function": "powerline.segments.shell.mode"
6
-			},
7
-			{
8
-				"function": "powerline.segments.common.net.hostname",
9
-				"args": {
10
-					"only_if_ssh": false,
11
-					"exclude_domain": true
12
-				},
13
-				"priority": 10
14
-			},
15
-			{
16
-				"function": "powerline.segments.common.env.user",
17
-				"priority": 30
18
-			},
19
-			{
20
-				"function": "powerline.segments.common.env.virtualenv",
21
-				"priority": 50
22
-			},
23
-			{
24
-				"function": "powerline.segments.shell.cwd",
25
-				"priority": 10
26
-			},
27
-			{
28
-				"function": "powerline.segments.shell.jobnum",
29
-				"priority": 20
30
-			},
31
-			{
32
-				"function": "powerline.segments.shell.last_status",
33
-				"priority": 10
34
-			}
35
-		],
36
-		"right": [
37
-			{
38
-				"function": "powerline.segments.shell.last_pipe_status",
39
-				"priority": 10
40
-			},
41
-			{
42
-				"function": "powerline_gitstatus.gitstatus",
43
-				"priority": 40
44
-			}
45
-		]
46
-	}
47
-}

+ 0
- 38
powerline/themes/shell/default_leftonly.json View File

@@ -1,38 +0,0 @@
1
-{
2
-	"segments": {
3
-		"left": [
4
-			{
5
-				"function": "powerline.segments.common.net.hostname",
6
-				"args": {
7
-					"only_if_ssh": false,
8
-					"exclude_domain": true
9
-				},
10
-				"priority": 10
11
-			},
12
-			{
13
-				"function": "powerline.segments.common.env.user",
14
-				"priority": 30
15
-			},
16
-			{
17
-				"function": "powerline.segments.common.env.virtualenv",
18
-				"priority": 50
19
-			},
20
-			{
21
-				"function": "powerline.segments.common.vcs.branch",
22
-				"priority": 40
23
-			},
24
-			{
25
-				"function": "powerline.segments.shell.cwd",
26
-				"priority": 10
27
-			},
28
-			{
29
-				"function": "powerline.segments.shell.jobnum",
30
-				"priority": 20
31
-			},
32
-			{
33
-				"function": "powerline.segments.shell.last_status",
34
-				"priority": 10
35
-			}
36
-		]
37
-	}
38
-}

+ 0
- 128
powerline/themes/vim/default.json View File

@@ -1,128 +0,0 @@
1
-{
2
-	"segments": {
3
-		"left": [
4
-			{
5
-				"function": "mode",
6
-				"exclude_modes": ["nc"]
7
-			},
8
-			{
9
-				"function": "visual_range",
10
-				"include_modes": ["v", "V", "^V", "s", "S", "^S"],
11
-				"priority": 10
12
-			},
13
-			{
14
-				"function": "paste_indicator",
15
-				"exclude_modes": ["nc"],
16
-				"priority": 10
17
-			},
18
-			{
19
-				"function": "powerline.segments.vim.plugin.capslock.capslock_indicator",
20
-				"include_modes": ["i", "R", "Rv"],
21
-				"priority": 10
22
-			},
23
-			{
24
-				"function": "branch",
25
-				"exclude_modes": ["nc"],
26
-				"priority": 30
27
-			},
28
-			{
29
-				"function": "readonly_indicator",
30
-				"draw_soft_divider": false,
31
-				"after": " "
32
-			},
33
-			{
34
-				"function": "file_scheme",
35
-				"priority": 20
36
-			},
37
-			{
38
-				"function": "file_directory",
39
-				"priority": 40,
40
-				"draw_soft_divider": false
41
-			},
42
-			{
43
-				"function": "file_name",
44
-				"draw_soft_divider": false
45
-			},
46
-			{
47
-				"function": "file_vcs_status",
48
-				"before": " ",
49
-				"draw_soft_divider": false
50
-			},
51
-			{
52
-				"function": "modified_indicator",
53
-				"before": " "
54
-			},
55
-			{
56
-				"exclude_modes": ["i", "R", "Rv"],
57
-				"function": "trailing_whitespace",
58
-				"display": false,
59
-				"priority": 60
60
-			},
61
-			{
62
-				"exclude_modes": ["nc"],
63
-				"function": "powerline.segments.vim.plugin.syntastic.syntastic",
64
-				"priority": 50
65
-			},
66
-			{
67
-				"exclude_modes": ["nc"],
68
-				"function": "powerline.segments.vim.plugin.tagbar.current_tag",
69
-				"draw_soft_divider": false,
70
-				"priority": 50
71
-			},
72
-			{
73
-				"type": "string",
74
-				"highlight_groups": ["background"],
75
-				"draw_soft_divider": false,
76
-				"draw_hard_divider": false,
77
-				"width": "auto"
78
-			}
79
-		],
80
-		"right": [
81
-			{
82
-				"function": "file_format",
83
-				"draw_soft_divider": false,
84
-				"exclude_modes": ["nc"],
85
-				"priority": 60
86
-			},
87
-			{
88
-				"function": "file_encoding",
89
-				"exclude_modes": ["nc"],
90
-				"priority": 60
91
-			},
92
-			{
93
-				"function": "file_type",
94
-				"exclude_modes": ["nc"],
95
-				"priority": 60
96
-			},
97
-			{
98
-				"function": "line_percent",
99
-				"priority": 50,
100
-				"width": 4,
101
-				"align": "r"
102
-			},
103
-			{
104
-				"function": "csv_col_current",
105
-				"priority": 30
106
-			},
107
-			{
108
-				"type": "string",
109
-				"name": "line_current_symbol",
110
-				"highlight_groups": ["line_current_symbol", "line_current"]
111
-			},
112
-			{
113
-				"function": "line_current",
114
-				"draw_soft_divider": false,
115
-				"width": 3,
116
-				"align": "r"
117
-			},
118
-			{
119
-				"function": "virtcol_current",
120
-				"draw_soft_divider": false,
121
-				"priority": 20,
122
-				"before": ":",
123
-				"width": 3,
124
-				"align": "l"
125
-			}
126
-		]
127
-	}
128
-}

Loading…
Cancel
Save