Initial commit
authorJulien Valroff <julien@kirya.net>
Wed, 13 Apr 2011 19:25:46 +0000 (21:25 +0200)
committerJulien Valroff <julien@kirya.net>
Wed, 13 Apr 2011 19:25:46 +0000 (21:25 +0200)
.vim/.netrwhist [new file with mode: 0644]
.vim/colors/mustang.vim [new file with mode: 0644]
.vim/ftplugin/mail.vim [new file with mode: 0644]
.vim/spell/fr.utf-8.spl [new file with mode: 0644]
.vim/spell/fr.utf-8.sug [new file with mode: 0644]
.vimrc [new file with mode: 0644]

diff --git a/.vim/.netrwhist b/.vim/.netrwhist
new file mode 100644 (file)
index 0000000..86c72e2
--- /dev/null
@@ -0,0 +1,10 @@
+let g:netrw_dirhistmax  =10
+let g:netrw_dirhist_cnt =8
+let g:netrw_dirhist_1='/home/julien/debian/rapid-photo-downloader/debian/patches'
+let g:netrw_dirhist_2='/home/julien/debian/twident/debian/source'
+let g:netrw_dirhist_3='/home/julien/debian/twident/debian/patches'
+let g:netrw_dirhist_4='/home/julien/.offlineimap'
+let g:netrw_dirhist_5='/home/julien/debian/dspam/debian/manpages'
+let g:netrw_dirhist_6='/home/julien'
+let g:netrw_dirhist_7='/home/julien/.gnome2'
+let g:netrw_dirhist_8='/home/julien/.mutt'
diff --git a/.vim/colors/mustang.vim b/.vim/colors/mustang.vim
new file mode 100644 (file)
index 0000000..cf0a351
--- /dev/null
@@ -0,0 +1,56 @@
+" Maintainer:  Henrique C. Alves (hcarvalhoalves@gmail.com)
+" Version:      1.0
+" Last Change: November 7 2010 by Julien Valroff <julien@kirya.net>
+" Changelog:    Transparent background in terminal
+
+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 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=none    gui=none ctermfg=239 ctermbg=none
+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
+
diff --git a/.vim/ftplugin/mail.vim b/.vim/ftplugin/mail.vim
new file mode 100644 (file)
index 0000000..2ce6da5
--- /dev/null
@@ -0,0 +1,32 @@
+setlocal textwidth=76
+"set colorcolumn=+1
+"highlight ColorColumn ctermbg=grey guibg=grey
+
+" Set 'formatoptions' to break text lines and keep the comment leader ">".
+setlocal fo+=tcql
+
+" Don't use modelines in e-mail messages, avoid trojan horses and nasty
+" "jokes" (e.g., setting 'textwidth' to 5).
+setlocal nomodeline
+    
+augroup vimrc_autocmds
+  autocmd BufEnter * highlight OverLength cterm=bold ctermfg=163
+  autocmd BufEnter * match OverLength /\%77v.*/
+augroup END
+
+setlocal spell spelllang=fr,en
+set nospell
+
+set nonumber
+
+" Add mappings, unless the user doesn't want this.
+if !exists("no_plugin_maps") && !exists("no_mail_maps")
+  " Quote text by inserting "> "
+  if !hasmapto('<Plug>MailQuote')
+    vmap <buffer> <LocalLeader>q <Plug>MailQuote
+    nmap <buffer> <LocalLeader>q <Plug>MailQuote
+  endif
+  vnoremap <buffer> <Plug>MailQuote :s/^/> /<CR>:noh<CR>``
+  nnoremap <buffer> <Plug>MailQuote :.,$s/^/> /<CR>:noh<CR>``
+endif
+
diff --git a/.vim/spell/fr.utf-8.spl b/.vim/spell/fr.utf-8.spl
new file mode 100644 (file)
index 0000000..5b1bcea
Binary files /dev/null and b/.vim/spell/fr.utf-8.spl differ
diff --git a/.vim/spell/fr.utf-8.sug b/.vim/spell/fr.utf-8.sug
new file mode 100644 (file)
index 0000000..85ef7a3
Binary files /dev/null and b/.vim/spell/fr.utf-8.sug differ
diff --git a/.vimrc b/.vimrc
new file mode 100644 (file)
index 0000000..2651f82
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,39 @@
+syntax on
+
+filetype on
+filetype plugin on
+
+set smartindent                "Turn on smart indent
+set tabstop=4          "set tab character to 4 characters
+set expandtab          "turn tabs into whitespace
+set shiftwidth=4       "indent width for autoindent
+filetype indent on     "indent depends on filetype
+
+"set background=light
+"set background=dark
+"let g:solarized_termcolors=16
+"colorscheme solarized
+
+colorscheme mustang
+set t_Co=256 
+
+set number
+"set numberwidth=4
+
+"set cursorline        "Highlight current line
+
+set formatoptions=tcqn2
+
+set ruler
+
+" stop indenting when pasting
+nnoremap <f5> :set invpaste paste?<CR>
+set pastetoggle=<f5>
+" then try hitting the F5 key while in insert mode
+" or just :set paste
+set showmode
+
+" Disable auto-identing
+nnoremap <f8> :setl noai nocin nosi inde=<CR>
+" Re-enable auto-identing
+nnoremap <f9> :setl ai cin si<CR>