remove vim config
This commit is contained in:
parent
ecfdba4335
commit
d5faab3310
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
OPACK_TARGET= skzbsd-build-current
|
||||
OPACK_TARGET= skzbsd-build
|
||||
OPACK_SYS_VERSION= snapshots
|
||||
OPACK_SYS_CPU= 8
|
||||
OPACK_SYS_MEMORY= 32768
|
||||
|
@ -3,7 +3,6 @@
|
||||
SUBDIR+= system
|
||||
SUBDIR+= sshd
|
||||
SUBDIR+= ksh
|
||||
SUBDIR+= vim
|
||||
SUBDIR+= perf
|
||||
SUBDIR+= build
|
||||
SUBDIR+= reboot
|
||||
|
@ -1,16 +0,0 @@
|
||||
/usr/local/share/vim/vimrc:
|
||||
@cp vimrc $@
|
||||
|
||||
/usr/local/share/vim/vimfiles/bundle/Vundle.vim:
|
||||
@git clone https://github.com/VundleVim/Vundle.vim.git $@
|
||||
|
||||
/usr/local/share/vim/vimfiles/colors:
|
||||
@mkdir -p $@
|
||||
|
||||
/usr/local/share/vim/vimfiles/colors/mustang.vim: /usr/local/share/vim/vimfiles/colors
|
||||
@cp mustang.vim $@
|
||||
|
||||
/root/.vim/bundle/:
|
||||
cd /root; vim +PluginInstall +qall 2>&1 > /dev/null
|
||||
|
||||
all: /usr/local/share/vim/vimfiles/bundle/Vundle.vim /usr/local/share/vim/vimfiles/colors/mustang.vim /root/.vim/bundle/ /usr/local/share/vim/vimrc
|
@ -1,52 +0,0 @@
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "mustang"
|
||||
|
||||
" Vim >= 7.0 specific colors
|
||||
if version >= 700
|
||||
hi CursorLine guibg=#2d2d2d ctermbg=236
|
||||
hi CursorColumn guibg=#2d2d2d ctermbg=236
|
||||
hi ColorColumn guibg=#000000 ctermbg=235
|
||||
hi MatchParen guifg=#d0ffc0 guibg=#2f2f2f gui=bold ctermfg=157 ctermbg=237 cterm=bold
|
||||
hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238
|
||||
hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148
|
||||
endif
|
||||
|
||||
" General colors
|
||||
hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241
|
||||
hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=none
|
||||
hi NonText guifg=#808080 guibg=#303030 gui=none ctermfg=244 ctermbg=none
|
||||
hi LineNr guifg=#808080 guibg=#000000 gui=none ctermfg=244 ctermbg=232
|
||||
hi StatusLine guifg=#d3d3d5 guibg=#444444 gui=italic ctermfg=253 ctermbg=238 cterm=italic
|
||||
hi StatusLineNC guifg=#939395 guibg=#444444 gui=none ctermfg=246 ctermbg=238
|
||||
hi VertSplit guifg=#444444 guibg=#444444 gui=none ctermfg=238 ctermbg=238
|
||||
hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248
|
||||
hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold
|
||||
hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4
|
||||
hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236
|
||||
|
||||
" Syntax highlighting
|
||||
hi Comment guifg=#808080 gui=italic ctermfg=244
|
||||
hi Todo guifg=#8f8f8f gui=italic ctermfg=245
|
||||
hi Boolean guifg=#b1d631 gui=none ctermfg=148
|
||||
hi String guifg=#b1d631 gui=italic ctermfg=148
|
||||
hi Identifier guifg=#b1d631 gui=none ctermfg=148
|
||||
hi Function guifg=#ffffff gui=bold ctermfg=255
|
||||
hi Type guifg=#7e8aa2 gui=none ctermfg=103
|
||||
hi Statement guifg=#7e8aa2 gui=none ctermfg=103
|
||||
hi Keyword guifg=#ff9800 gui=none ctermfg=208
|
||||
hi Constant guifg=#ff9800 gui=none ctermfg=208
|
||||
hi Number guifg=#ff9800 gui=none ctermfg=208
|
||||
hi Special guifg=#ff9800 gui=none ctermfg=208
|
||||
hi PreProc guifg=#faf4c6 gui=none ctermfg=230
|
||||
hi Todo guifg=#000000 guibg=#e6ea50 gui=italic
|
||||
|
||||
" Code-specific colors
|
||||
hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103
|
||||
hi Search cterm=NONE ctermbg=yellow
|
@ -1,63 +0,0 @@
|
||||
set nocompatible
|
||||
filetype off
|
||||
set rtp+=/usr/local/share/vim/vimfiles/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
Plugin 'scrooloose/syntastic'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
"Syntastic
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%{SyntasticStatuslineFlag()}
|
||||
set statusline+=%*
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_c_compiler = "clang"
|
||||
function! SyntasticCheckHook(errors)
|
||||
if !empty(a:errors)
|
||||
let g:syntastic_loc_list_height = min([len(a:errors), 6])
|
||||
endif
|
||||
endfunction
|
||||
|
||||
"Airline
|
||||
let g:airline_powerline_fonts = 0
|
||||
set noshowmode " to get rid of thing like --INSERT--
|
||||
set noshowcmd " to get rid of display of last command
|
||||
set shortmess+=F " to get rid of the file name displayed in the command line bar
|
||||
|
||||
|
||||
"Global options
|
||||
set backspace=indent,eol,start "allow backspacing over everything in insert mode
|
||||
set history=500 "keep 50 lines of command line history
|
||||
set ruler "show the cursor position all the time
|
||||
set showcmd "display incomplete commands
|
||||
set incsearch "do incremental searching
|
||||
set nu "show line numbers
|
||||
set expandtab "use spaces instead of tabs
|
||||
"set tabstop=4 "insert 4 spaces whenever the tab key is pressed
|
||||
"set shiftwidth=4 "set indentation to 4 spaces
|
||||
set hlsearch "highlight search terms
|
||||
set ic "Ignore Case during searches
|
||||
set autoindent "start new line at the same indentation level
|
||||
syntax enable "syntax highlighting
|
||||
set cmdheight=1 "The commandbar height
|
||||
set showmatch "Show matching bracets when text indicator is over them
|
||||
set nobackup " do not keep backup files, it's 70's style cluttering
|
||||
set noswapfile " do not write annoying intermediate swap files,
|
||||
set ttimeoutlen=50 "Solves: there is a pause when leaving insert mode
|
||||
set splitbelow " Horizontal splits open below current file
|
||||
set splitright " Vertical splits open to the right of the current file
|
||||
set wildmode=longest,list " Pressing <Tab> shows command suggestions similar
|
||||
set t_Co=256
|
||||
colorscheme mustang
|
||||
set encoding=utf-8 " The encoding displayed.
|
||||
set fileencoding=utf-8 " The encoding written to file
|
||||
"hi ColorColumn ctermbg=235
|
||||
"let &colorcolumn=join(range(81,999),",")
|
||||
autocmd BufRead,BufNewFile *.md *.latex *.tex set spell spelllang=en,fr
|
Loading…
Reference in New Issue
Block a user