To use vim efficiently and effectively we need to do some settings.
Open vimrc file. Its normally under HOME directory and hidden. On ubuntu
gedit ~/.vimrc will open it in gedit .
Add Following in to it:
1. Keeping History : Vim only remembers the last 20 commands and search patterns entered.
set history 1000
2. To show line numbers : set nu
3. To show syntax highlighting : set syntax on
4. To show menu with possible tab completions : set wildmenu
5. To set background : set background=dark
6. To set terminal title to filename : set title
Tuesday, April 22, 2008
Sunday, April 13, 2008
Installing / adding fonts in ubuntu
Ubuntu comes with variety of fonts. But if we still have an urge for installing some extra fonts from windows or some other fonts how we do it. To add the fonts in ubuntu is very easy and can be done in few steps.
Fonts normally get installed in /usr/share/fonts/truetype. Simple way of adding font is to make one folder in said path and copy the font files in it. To open this folder with root access type sudo nautalius. This will open the file explorer in root mode.
The other way is to add the fonts in /home//.fonts
To refresh or update font cache run sudo fc-cache -f -v.
Fonts normally get installed in /usr/share/fonts/truetype. Simple way of adding font is to make one folder in said path and copy the font files in it. To open this folder with root access type sudo nautalius. This will open the file explorer in root mode.
The other way is to add the fonts in /home/
To refresh or update font cache run sudo fc-cache -f -v.
Subscribe to:
Posts (Atom)