diff options
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | vim/colors/mustang.vim | 66 | ||||
| -rw-r--r-- | vim/vimrc | 6 |
4 files changed, 78 insertions, 3 deletions
| @@ -1,5 +1,7 @@ | |||
| 1 | dotfiles := $(shell pwd) | 1 | dotfiles := $(shell pwd) |
| 2 | .PHONY: all | 2 | .PHONY: all vim |
| 3 | 3 | ||
| 4 | all: | 4 | all: vim |
| 5 | @echo "manage my dotfiles" | 5 | |
| 6 | vim: | ||
| 7 | @cd ${HOME} && ln -s ${dotfiles}/vim .vim | ||
| @@ -8,3 +8,4 @@ $ make <target> | |||
| 8 | 8 | ||
| 9 | currently supporting the targets: | 9 | currently supporting the targets: |
| 10 | - `all` (default) | 10 | - `all` (default) |
| 11 | - `vim` | ||
diff --git a/vim/colors/mustang.vim b/vim/colors/mustang.vim new file mode 100644 index 0000000..82e669e --- /dev/null +++ b/vim/colors/mustang.vim | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | " Maintainer: Henrique C. Alves (hcarvalhoalves@gmail.com) | ||
| 2 | " Version: 1.0 | ||
| 3 | " Last Change: September 25 2008 | ||
| 4 | " https://raw.githubusercontent.com/croaker/mustang-vim/refs/heads/master/colors/mustang.vim | ||
| 5 | |||
| 6 | set background=dark | ||
| 7 | |||
| 8 | hi clear | ||
| 9 | |||
| 10 | if exists("syntax_on") | ||
| 11 | syntax reset | ||
| 12 | endif | ||
| 13 | |||
| 14 | let colors_name = "mustang" | ||
| 15 | |||
| 16 | " Vim >= 7.0 specific colors | ||
| 17 | if version >= 700 | ||
| 18 | hi CursorLine guibg=#2d2d2d ctermbg=236 | ||
| 19 | hi ColorColumn guibg=#2d2d2d ctermbg=236 | ||
| 20 | hi CursorColumn guibg=#2d2d2d ctermbg=236 | ||
| 21 | hi MatchParen guifg=#d0ffc0 guibg=#2f2f2f gui=bold ctermfg=157 ctermbg=237 cterm=bold | ||
| 22 | hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238 | ||
| 23 | hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 | ||
| 24 | endif | ||
| 25 | |||
| 26 | " General colors | ||
| 27 | hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241 | ||
| 28 | hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234 | ||
| 29 | hi NonText guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=235 | ||
| 30 | hi LineNr guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=232 | ||
| 31 | hi StatusLine guifg=#d3d3d5 guibg=#444444 gui=italic ctermfg=253 ctermbg=238 cterm=italic | ||
| 32 | hi StatusLineNC guifg=#939395 guibg=#444444 gui=none ctermfg=246 ctermbg=238 | ||
| 33 | hi VertSplit guifg=#444444 guibg=#444444 gui=none ctermfg=238 ctermbg=238 | ||
| 34 | hi Folded guifg=#a0a8b0 guibg=#202020 gui=none ctermbg=4 ctermfg=248 | ||
| 35 | hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold | ||
| 36 | hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 | ||
| 37 | hi SpecialKey guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=236 | ||
| 38 | |||
| 39 | " Syntax highlighting | ||
| 40 | hi Comment guifg=#808080 gui=italic ctermfg=244 | ||
| 41 | hi Todo guifg=#8f8f8f gui=italic ctermfg=245 | ||
| 42 | hi Boolean guifg=#b1d631 gui=none ctermfg=148 | ||
| 43 | hi String guifg=#b1d631 gui=italic ctermfg=148 | ||
| 44 | hi Identifier guifg=#b1d631 gui=none ctermfg=148 | ||
| 45 | hi Function guifg=#ffffff gui=bold ctermfg=255 | ||
| 46 | hi Type guifg=#7e8aa2 gui=none ctermfg=103 | ||
| 47 | hi Statement guifg=#7e8aa2 gui=none ctermfg=103 | ||
| 48 | hi Keyword guifg=#ff9800 gui=none ctermfg=208 | ||
| 49 | hi Constant guifg=#ff9800 gui=none ctermfg=208 | ||
| 50 | hi Number guifg=#ff9800 gui=none ctermfg=208 | ||
| 51 | hi Special guifg=#ff9800 gui=none ctermfg=208 | ||
| 52 | hi PreProc guifg=#faf4c6 gui=none ctermfg=230 | ||
| 53 | hi Todo guifg=#000000 guibg=#e6ea50 gui=italic | ||
| 54 | |||
| 55 | " Code-specific colors | ||
| 56 | hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103 | ||
| 57 | |||
| 58 | " NERDTree colors | ||
| 59 | hi NERDTreeFile guifg=#cdd2db ctermfg=250 | ||
| 60 | hi NERDTreeDir guifg=#a5aebe ctermfg=111 | ||
| 61 | hi NERDTreeUp guifg=#5b646d ctermfg=62 | ||
| 62 | |||
| 63 | hi def link NERDTreeOpenable String | ||
| 64 | hi def link NERDTreeCloseable NERDTreeOpenable | ||
| 65 | hi def link NERDTreeCWD String | ||
| 66 | hi def link NERDTreePart String | ||
diff --git a/vim/vimrc b/vim/vimrc new file mode 100644 index 0000000..4a93e04 --- /dev/null +++ b/vim/vimrc | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | " enable line numbers | ||
| 2 | set number | ||
| 3 | |||
| 4 | " enable syntax highlight | ||
| 5 | syntax on | ||
| 6 | colo mustang | ||
