Remove vim configuration
This commit is contained in:
parent
15f8d6180c
commit
d3d2620396
1 changed files with 0 additions and 113 deletions
113
.vimrc
113
.vimrc
|
|
@ -1,113 +0,0 @@
|
|||
" vim:set ts=2 sw=2 et:
|
||||
" indent, load plugin and detect filetype depending on filetype
|
||||
filetype indent plugin on
|
||||
set autoindent
|
||||
|
||||
" fix different locale settings when ssh'ing
|
||||
set encoding=utf-8
|
||||
|
||||
" replace vertical split pipe character with space
|
||||
set fillchars="vert:\ |,fold:\ "
|
||||
|
||||
set splitright
|
||||
set splitbelow
|
||||
|
||||
" syntax on
|
||||
syntax on
|
||||
|
||||
" switch buffers without writing to file
|
||||
set hidden
|
||||
|
||||
" file specific formatting
|
||||
autocmd Filetype python,bash,sh,java,php,json setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
||||
autocmd Filetype css,scss,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
|
||||
|
||||
" open folds by default
|
||||
autocmd Syntax * normal zR
|
||||
|
||||
" fold indents
|
||||
set foldmethod=indent
|
||||
|
||||
" search down into subfolders
|
||||
" provides tab-completion for all file-related tasks
|
||||
set path+=**
|
||||
|
||||
" display all matching files when we tab complete
|
||||
set wildmenu
|
||||
|
||||
" use normal backspace behavior
|
||||
set backspace=2
|
||||
|
||||
" Color trailing spaces with red color
|
||||
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
|
||||
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
|
||||
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
|
||||
autocmd BufWinLeave * call clearmatches()
|
||||
|
||||
" line numbers
|
||||
set number
|
||||
|
||||
" changes to current directory when creating new files
|
||||
set autochdir
|
||||
|
||||
" higlhight search
|
||||
set hls
|
||||
|
||||
" search as characters are entered
|
||||
set incsearch
|
||||
|
||||
" line for linewrapping
|
||||
set colorcolumn=80
|
||||
|
||||
" wrap text instead of being on one line
|
||||
set lbr
|
||||
|
||||
" add a CursorLine
|
||||
set cursorline
|
||||
|
||||
" highlighting
|
||||
" see :help highlight for various groups
|
||||
highlight CursorLine ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight CursorLineNr ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight CursorColumn ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight StatusLine ctermfg=0 ctermbg=183 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight StatusLineNC ctermfg=0 ctermbg=182 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight ColorColumn ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight VertSplit ctermfg=NONE ctermbg=183 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight Visual ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight WildMenu ctermfg=15 ctermbg=203 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight PmenuSel ctermfg=15 ctermbg=203 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight PmenuSbar ctermfg=NONE ctermbg=203 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight PmenuThumb ctermfg=203 ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight Folded ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight FoldColumn ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight SignColumn ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight DiffAdd ctermfg=15 ctermbg=2 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight DiffDelete ctermfg=15 ctermbg=9 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight DiffChange ctermfg=15 ctermbg=39 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight DiffText ctermfg=15 ctermbg=129 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight TabLine ctermfg=NONE ctermbg=253 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight TabLineFill ctermfg=NONE ctermbg=252 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight TabLineSel ctermfg=NONE ctermbg=251 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight Search ctermfg=15 ctermbg=203 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight IncSearch ctermfg=15 ctermbg=203 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight ExtraWhitespace ctermbg=green guibg=green
|
||||
|
||||
highlight Todo ctermfg=NONE ctermbg=110 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
highlight Comment ctermfg=NONE ctermbg=254 guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
match ExtraWhitespace /\s\+$/
|
||||
|
||||
" activate statusbar
|
||||
set laststatus=2
|
||||
set statusline=\ %F\ %m%r%w\ %=\ %{hostname()}\ \ \ %{strlen(&ft)?&ft:'none'}\ %{(&bomb?\",BOM\":\"\")}\ %{&ff}\ \ %l/%L\ \ %c\ %P
|
||||
Loading…
Add table
Add a link
Reference in a new issue