Skip to content
Browse files

Vim - Tweaks

  • Loading branch information...
1 parent d69434e commit 407cf7db0fa41a85d4ba322bb61782ad4536644d @Funkmyster committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 vim/vimrc
View
6 vim/vimrc
@@ -7,7 +7,7 @@ set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%)\ -\ %{v:servernam
set showcmd "Show (partial) command in status line"
set laststatus=2 "Always disp statusline"
set statusline=%F%m%r%h%w\ [FILETYPE=%Y]\[LINE=%04l][%p%%]
-set number "Display line numbers"
+"set number "Display line numbers"
set smarttab
@@ -70,8 +70,10 @@ autocmd BufRead,BufNewFile *.tex TTarget pdf
autocmd BufRead,BufNewFile *.screen set filetype=screen
" for python
-autocmd BufRead,BufNewFile *.py noremap <C-l> :!pylint --errors-only %<CR>
+autocmd BufRead,BufNewFile *.py noremap <C-l> :!clear ; pylint --errors-only %<CR>
+"for javascript
+autocmd BufRead,BufNewFile *.js noremap <C-l> :!clear ; /home/jsilva/bin/jslint --color --browser true --predef '$' %<CR>
" for TaskJuggler
autocmd BufRead,BufNewFile *.tjp,*.tji set filetype=tjp

0 comments on commit 407cf7d

Please sign in to comment.
Something went wrong with that request. Please try again.