Tuesday, February 7, 2012
Thursday, January 26, 2012
VES is Open Source Now!!
Recently I posted a blog about this here:
http://www.kitware.com/blog/home/post/227
If you have any questions or need any help related to VES, feel free to contact me.
Raspberry Pi
It's amazing that this hardware has a selling prize of $35!! Earlier I have seen two video's of Raspberry Pi demonstrating video and Qt running on it..
Video: http://www.raspberrypi.org/archives/571
Qt:http://www.youtube.com/watch?v=A-vBbqamNBU
Video: http://www.raspberrypi.org/archives/571
Qt:http://www.youtube.com/watch?v=A-vBbqamNBU
Wednesday, January 25, 2012
Configure vim for git
So if are using VIM for git commits, sometimes just to open a
file and quickly edit it you might have encountered an issue. By default
tab key inserts tab characters which you don’t want as if you care
about alignment then these tabs wont show up right in some other
editor.
To tell vim not to use tab char but use spaces instead copy and paste these three in you .vimrc
Also this post is useful if you like to see the trailing whitespaces
http://vim.wikia.com/wiki/Highlight_unwanted_spaces
All you need is these 5 lines:
for:
- highlight trailing whitespace in red
- have this highlighting not appear while you are typing in insert mode
- have the highlighting of whitespace apply when you open new buffers
To tell vim not to use tab char but use spaces instead copy and paste these three in you .vimrc
set tabstop=2
set shiftwidth=2
set expandtabAlso this post is useful if you like to see the trailing whitespaces
http://vim.wikia.com/wiki/Highlight_unwanted_spaces
All you need is these 5 lines:
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@
autocmd InsertLeave * match ExtraWhitespace /\s\+$/for:
- highlight trailing whitespace in red
- have this highlighting not appear while you are typing in insert mode
- have the highlighting of whitespace apply when you open new buffers
My first post
Friends, I have decided to blog more this year and I think I liked blogger enough to try it out.
Subscribe to:
Comments (Atom)

