arsooy avatar arsooy committed 3702978

Some small changes to vim.

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

Comments (0)

Files changed (4)

vim/.vim/colors/jellybeans.vim

 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","")
 

vim/.vim/filetype.vim

-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

vim/.vim/ftplugin/python.vim

 
 " 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>
 
     " 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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.