Piotr Orzechowski 10 months ago
parent
commit
56408d6e44
3 changed files with 129 additions and 0 deletions
  1. 1
    0
      .vim/after/syntax/netrw.vim
  2. 88
    0
      .vim/colors/minteclipse.vim
  3. 40
    0
      .vim/vimrc

+ 1
- 0
.vim/after/syntax/netrw.vim View File

@@ -0,0 +1 @@
1
+hi link    netrwExe    Normal

+ 88
- 0
.vim/colors/minteclipse.vim View File

@@ -0,0 +1,88 @@
1
+" Name:    MintEclipse
2
+" Type:    Vim color scheme
3
+" Author:  Piotr Orzechowski [drzewo.org]
4
+" URL:     https://drzewo.org/minteclipse
5
+" License: GNU GPL, Version 3 <https://www.gnu.org/licenses/gpl-3.0.html>
6
+" Note:    Based on default Eclipse and Mint-X color schemes
7
+
8
+set background=dark
9
+
10
+hi clear
11
+if exists("syntax_on")
12
+    syntax reset
13
+endif
14
+
15
+let g:colors_name = "minteclipse"
16
+
17
+hi Normal              ctermfg=255                 guifg=Black
18
+hi Normal              ctermbg=Black               guibg=#F7F7F7
19
+
20
+hi Comment             ctermfg=121                 guifg=#3F7F5F
21
+
22
+hi Constant            ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold      
23
+hi String              ctermfg=221                 guifg=#FF8040
24
+hi Character           ctermfg=221                 guifg=#FF8040
25
+hi Boolean             ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
26
+hi Number              ctermfg=45                  guifg=#0000C0
27
+hi Float               ctermfg=45                  guifg=#0000C0
28
+
29
+"Identifier (variable name)
30
+hi Identifier          ctermfg=213 cterm=Bold      guifg=#FF0080 gui=Bold
31
+"Function (function and method names)
32
+hi Function            ctermfg=81                  guifg=#3F5FBF
33
+
34
+hi Statement           ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
35
+"Conditional (like switch)
36
+"Repeat (loops)
37
+"Label (like case, default, etc.)
38
+"Operator (also sizeof)
39
+"Keyword
40
+"Exception (exception handling)
41
+
42
+hi PreProc             ctermfg=135                 guifg=#AF5FFF
43
+"hi PreProc             ctermfg=251                 guifg=#646464
44
+hi Include             ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
45
+"Define
46
+"Macro
47
+"PreCondit (preprocessor conditionals)
48
+
49
+hi Type                ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
50
+"StorageClass (type modifiers)
51
+hi StorageClass        ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
52
+hi Structure           ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
53
+hi Typedef             ctermfg=197 cterm=Bold      guifg=#7F0055 gui=Bold
54
+
55
+"Special (special symbols)
56
+hi Special             ctermfg=117 cterm=Bold      guifg=#7F9FBF gui=Bold
57
+"SpecialChar (special char in constant)
58
+"Tag
59
+"Delimiter
60
+"SpecialComment (special string in comment)
61
+hi SpecialComment      ctermfg=121                 guifg=#3F7F5F
62
+"Debug
63
+
64
+"Underlined (non-standard text and links)
65
+hi Underlined          ctermfg=33                  guifg=#3F3FBF
66
+
67
+"Ignore
68
+
69
+hi Error               ctermfg=Red cterm=Bold      guifg=Red     gui=Bold
70
+hi Error               ctermbg=LightYellow         guibg=Yellow
71
+
72
+hi Todo                ctermfg=117 cterm=Bold      guifg=#7F9FBF gui=Bold
73
+hi Todo                ctermbg=NONE                guibg=NONE
74
+
75
+hi LineNr              ctermfg=249 cterm=Bold      guifg=#787878
76
+hi ColorColumn         ctermbg=249                 guibg=#B0B4B9
77
+
78
+hi DiffAdd             ctermfg=121                 guifg=#3F7F5F
79
+hi DiffDelete          ctermfg=197                 guifg=#7F0055
80
+hi DiffChange          ctermfg=221                 guifg=#FF8040
81
+hi DiffText            ctermfg=117 cterm=Bold      guifg=#7F9FBF gui=Bold
82
+
83
+hi Directory           ctermfg=221                 guifg=#FF8040
84
+hi diffRemoved         ctermfg=197 cterm=Bold      guifg=Red     gui=Bold
85
+hi diffAdded           ctermfg=121 cterm=Bold      guifg=Green   gui=Bold
86
+hi diffChanged         ctermfg=221 cterm=Bold      guifg=#FF8040 gui=Bold
87
+hi diffLine            ctermfg=81  cterm=Bold      guifg=#3F5FBF gui=Bold
88
+hi diffFile            ctermfg=213 cterm=Bold      guifg=#FF0080 gui=Bold

+ 40
- 0
.vim/vimrc View File

@@ -0,0 +1,40 @@
1
+" Author: Piotr Orzechowski [orzechowski.tech]
2
+
3
+set nocp                        "Disable Vi compatibility
4
+set autoindent                  "Automatically indent new lines
5
+set number                      "Show line numbers
6
+set ruler                       "Show ruler
7
+set showcmd                     "Show incomplete commands
8
+set showmode                    "Show edit mode
9
+set tabstop=4                   "A tab is 4 spaces
10
+set expandtab                   "Always uses spaces instead of tabs
11
+set softtabstop=4               "Insert 4 spaces when tab is pressed
12
+set shiftwidth=4                "An indent is 4 spaces
13
+set smarttab                    "Indent instead of tab at start of line
14
+set shiftround                  "Round spaces to nearest shiftwidth multiple
15
+set nojoinspaces                "Don't convert spaces to tabs
16
+set colorcolumn=100             "Show right margin
17
+set clipboard=unnamedplus       "Always use system clipboard
18
+set hlsearch                    "Highlight matching words
19
+set incsearch                   "Forward search during typing
20
+set ic                          "Ignore case by default
21
+set backspace=indent,eol,start  "Allow BS to remove these in front of the cursor
22
+set t_Co=256                    "Enable 256 color support
23
+set backupdir=~/.vim/backups    "Keep backups here
24
+
25
+syntax on                       "Enable syntax highlighting
26
+filetype plugin indent on
27
+
28
+let mapleader=','               "Set <Leader> to ,
29
+map Q gq                        "Map Q to do gq formatting
30
+
31
+"Select block just after putting it
32
+nnoremap <expr> gV "`[".getregtype(v:register)[0]."`]"
33
+
34
+colorscheme minteclipse
35
+
36
+let g:netrw_liststyle=1         "Show file details by default
37
+"Hide .* files by default
38
+let g:netrw_list_hide='\(^\|\s\s\)\zs\.\S\+,\(^\|\s\s\)ntuser\.\S\+'
39
+let g:netrw_banner=0            "Hide banner
40
+let g:netrw_sort_options='i'    "Ignore case when sorting files

Loading…
Cancel
Save