1. arsooy
  2. dotfiles


arsooy  committed 3702978

Some small changes to vim.

* Small change to jellybeans.vim to make colorcolumn slightly more
* Update filetype.vim for some odd filetypes that I work with.
* Disabling pylint check when writing python files.

  • Participants
  • Parent commits 4f7e0e6
  • Branches default

Comments (0)

Files changed (4)

File vim/.vim/colors/jellybeans.vim

View file
 call s:X("Folded","a0a8b0","384048","italic",s:termBlack,"")
 call s:X("FoldColumn","535D66","1f1f1f","","",s:termBlack)
 call s:X("SignColumn","777777","333333","","",s:termBlack)
-call s:X("ColorColumn","","000000","","",s:termBlack)
+call s:X("ColorColumn","","303030","","",s:termBlack)
 call s:X("Title","70b950","","bold","Green","")

File vim/.vim/filetype.vim

View file
-autocmd BufRead,BufNewFile *.mako    set filetype=mako
-autocmd BufRead,BufNewFile *.pp      set filetype=pascal
+autocmd BufRead,BufNewFile *.mako        set filetype=mako
+" I have to deal with fpc programs every now and then, so ..
+autocmd BufRead,BufNewFile *.pp          set filetype=pascal
+" treat SCons files as python files
+autocmd BufRead,BufNewFile *.scons       set filetype=python
+autocmd BufRead,BufNewFile SConstruct    set filetype=python

File vim/.vim/ftplugin/python.vim

View file
 " rewire 'make' on python files to pylint it
 autocmd FileType python compiler pylint
+let g:pylint_onwrite=0
 " map ,# to comment lines
 map ,# :s/^/#/<CR>:nohlsearch<CR>

File vim/.vimrc

View file
     " map F5 to run make
     nmap <F5> :make<CR>
-    "nmap <F5> :make<CR><kkkR>:cw<CR>
     " map '+' and '-' to make window bigger or smaller
     if bufwinnr(1)