guest@dotshare [~/groups/vim/colors] $ ls Knaselkvas/ | cat

Knaselkvas (scrot)

boroshlawa Dec 26, 2015 (vim/colors)

dotshare.vim(raw, dl)

SCROT

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
hi clear
if exists('syntax_on')
   syntax reset
endif
let g:colors_name = 'blk'

hi Comment                    ctermfg=243  ctermbg=NONE cterm=NONE
hi Constant                   ctermfg=252  ctermbg=NONE cterm=NONE
hi Cursor                     ctermfg=16   ctermbg=253  cterm=NONE
hi CursorLine                 ctermfg=NONE ctermbg=232  cterm=NONE
hi CursorLineNr               ctermfg=255  ctermbg=232  cterm=NONE
hi Directory                  ctermfg=255  ctermbg=NONE cterm=bold
hi ErrorMsg                   ctermfg=88   ctermbg=NONE cterm=NONE
hi FoldColumn                 ctermfg=248  ctermbg=NONE cterm=NONE
hi Folded                     ctermfg=252  ctermbg=NONE cterm=NONE
hi Function                   ctermfg=255  ctermbg=NONE cterm=NONE
hi Identifier                 ctermfg=252  ctermbg=NONE cterm=NONE
hi LineNr                     ctermfg=240  ctermbg=232  cterm=NONE
hi MatchParen                 ctermfg=16   ctermbg=252  cterm=NONE
hi MoreMsg                    ctermfg=252  ctermbg=NONE cterm=NONE
hi NonText                    ctermfg=255  ctermbg=NONE cterm=NONE
hi Normal                     ctermfg=252  ctermbg=NONE cterm=NONE
hi Pmenu                      ctermfg=245  ctermbg=234  cterm=NONE
hi PmenuSel                   ctermfg=255  ctermbg=234  cterm=bold
hi PreProc                    ctermfg=255  ctermbg=NONE cterm=bold
hi Question                   ctermfg=252  ctermbg=NONE cterm=NONE
hi Search                     ctermfg=255  ctermbg=88   cterm=NONE
hi Special                    ctermfg=252  ctermbg=NONE cterm=NONE
hi SpellBad                   ctermfg=NONE ctermbg=NONE cterm=bold,underline 
hi SpellCap                   ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi SpellLocal                 ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi SpellRare                  ctermfg=NONE ctermbg=NONE cterm=bold,underline
hi Statement                  ctermfg=255  ctermbg=NONE cterm=bold
hi StatusLine                 ctermfg=240  ctermbg=232  cterm=NONE
hi StatusLineNC               ctermfg=240  ctermbg=232  cterm=NONE
hi String                     ctermfg=88   ctermbg=NONE cterm=NONE
hi TabLine                    ctermfg=240  ctermbg=232  cterm=NONE
hi TabLineFill                ctermfg=NONE ctermbg=232  cterm=NONE
hi TabLineSel                 ctermfg=255  ctermbg=232  cterm=NONE
hi Title                      ctermfg=255  ctermbg=NONE cterm=bold
hi Todo                       ctermfg=16   ctermbg=226  cterm=bold
hi Type                       ctermfg=255  ctermbg=NONE cterm=bold
hi Underline                  ctermfg=252  ctermbg=NONE cterm=underline
hi VertSplit                  ctermfg=232  ctermbg=NONE cterm=NONE
hi Visual                     ctermfg=255  ctermbg=88   cterm=NONE
hi Wildmode                   ctermfg=88   ctermbg=232  cterm=NONE
hi elixirDelimiter            ctermfg=88   ctermbg=NONE cterm=NONE
hi helpHyperTextJump          ctermfg=88   ctermbg=NONE cterm=underline
hi helpNote                   ctermfg=252  ctermbg=NONE cterm=NONE
hi helpSpecial                ctermfg=252  ctermbg=NONE cterm=NONE
hi javaScriptFunction         ctermfg=255  ctermbg=NONE cterm=bold
hi markdownHeadingDelimiter   ctermfg=255  ctermbg=NONE cterm=bold
hi markdownHeadingRule        ctermfg=255  ctermbg=NONE cterm=bold
hi markdownLinkText           ctermfg=88   ctermbg=NONE cterm=underline
hi perlMatchStartEnd          ctermfg=88   ctermbg=NONE cterm=NONE
hi perlSharpBang              ctermfg=243  ctermbg=NONE cterm=NONE
hi perlStringEscape           ctermfg=88   ctermbg=NONE cterm=NONE
hi perlStringStartEnd         ctermfg=88   ctermbg=NONE cterm=NONE
hi pythonEscape               ctermfg=88   ctermbg=NONE cterm=NONE
hi rubyConstant               ctermfg=252  ctermbg=NONE cterm=NONE
hi rubyRegexpAnchor           ctermfg=88   ctermbg=NONE cterm=NONE
hi rubyRegexpEscape           ctermfg=88   ctermbg=NONE cterm=NONE
hi rubyRegexpSpecial          ctermfg=88   ctermbg=NONE cterm=NONE
hi rubySharpBang              ctermfg=243  ctermbg=NONE cterm=NONE
hi rubyStringDelimiter        ctermfg=88   ctermbg=NONE cterm=NONE
hi rubyStringEscape           ctermfg=88   ctermbg=NONE cterm=NONE
hi vimCommentTitle            ctermfg=243  ctermbg=NONE cterm=NONE
hi vimGroup                   ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiAttrib                ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiCTerm                 ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiCTermFgBg             ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiClear                 ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiGroup                 ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiGui                   ctermfg=252  ctermbg=NONE cterm=NONE
hi vimHiGuiFgBg               ctermfg=252  ctermbg=NONE cterm=NONE
hi vimOption                  ctermfg=252  ctermbg=NONE cterm=NONE
hi vimSynType                 ctermfg=252  ctermbg=NONE cterm=NONE

CLICK TO VIEW

x

dotshare.vim(raw, dl)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
" => General
set history=700
filetype plugin on
filetype indent on
set clipboard=unnamedplus
nmap <leader>w :w!<cr>
command W w !sudo tee % > /dev/null
if has("autocmd")
    au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
    \| exe "normal! g'\"" | endif
endif

" => Colors and Fonts
syntax enable 
try
    colorscheme blk
catch
endtry
set background=dark

set encoding=utf8
set ffs=unix,dos,mac
"set number
set relativenumber
set cursorline

" => Files, backups and undo
set nobackup
set nowb
set noswapfile

noswapfile" => Text, tab and indent related
set expandtab
set smarttab
set shiftwidth=4
set tabstop=4
set ai
set si
set wrap

" => Status line
function! FileSize()
    let bytes = getfsize(expand("%:p"))
    if bytes <= 0
        return ""
    endif
    if bytes < 1024
        return bytes
    else
        return (bytes / 1024) . "K"
    endif
endfunction

hi User1 ctermbg=233 ctermfg=240 cterm=NONE
hi User2 ctermbg=234 ctermfg=240 cterm=NONE
hi User3 ctermbg=235 ctermfg=240 cterm=NONE
hi User4 ctermbg=236 ctermfg=240 cterm=NONE

set laststatus=2

set statusline=\ %y\ 
set statusline+=%1*
set statusline+=\ %F\ 
set statusline+=%2*
set statusline+=\ S:%{FileSize()}\ 
set statusline+=%3*
set statusline+=\ %{&fileformat}\ 
set statusline+=%=

set statusline+=%{strlen(&fenc)?&fenc:&enc}\ 
set statusline+=%2*
set statusline+=\ L:%l/%L\ 
set statusline+=%1*
set statusline+=\ C:%c\ 
set statusline+=%*
set statusline+=\ %P\ 

" => own Shit
let mapleader = "\<Space>"

map <leader>ss :setlocal spell!<cr>
map <leader>sv :vsplit<cr>
map <leader>sh :split<cr>

map <leader>tn :tabnew<cr>
map <leader>to :tabonly<cr>
map <leader>tc :tabclose<cr>
map <leader>tm :tabmove<cr>
map <leader>t :tabnext<cr>
map <leader>1 1gt<cr>
map <leader>2 2gt<cr>
map <leader>3 3gt<cr>
map <leader>4 4gt<cr>
map <leader>5 5gt<cr>
map <leader>6 6gt<cr>
map <leader>7 7gt<cr>
map <leader>8 8gt<cr>
map <leader>9 9gt<cr>
map <leader>0 :tablast<cr>

map <leader>1 1gt<cr>
map <leader>h :wincmd h<CR>
map <leader>j :wincmd j<CR>
map <leader>k :wincmd k<CR>
map <leader>l :wincmd l<CR>
 

x