Sunday, 26 June 2016

vi stop making undo files

.un~ files are undo files generated by vi.

in .vimrc you can write following line to avoid making these files

set noundofile
 
 
To avoid making backup and swap files, write following lines
set nobackup
set nowritebackup
set noswapfile 
set noundofile 

Monday, 20 June 2016

How to install skype on ubuntu ?

sudo dpkg --add-architecture i386
 
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
 
sudo apt-get update && sudo apt-get install skype 

Monday, 6 June 2016

Set vi as editor for git commands

Set vi as editor for git

- git config --global core.editor "vi"
- or in bashrc export environment variable
  export GIT_EDITOR=vi