0

Detailed listing of a directory/file with ls -l

Posted by Joys of Programming on in Linux, Vim

ls is used to see the contents of a file. With the option -l, one can see the file/directory permissions for owner,group and others. This option is also useful to see information like the owner and group owner and size of the file. let’s take a simple example. Seeing the detailed listing of a /usr/local/share/man/man1 [...]

Tags: ,

 
0

Vim: Visual Block Tutorial

Posted by Joys of Programming on in Linux, Vim

Vim has various modes like the normal mode, insert mode and visual mode. In the visual mode, you can perform various actions as you can do with other GUI based text editors and mouse. One of the best features of Visual mode in Vim is the ability to select text for performing various actions like [...]

Tags: ,

 
0

A sample vim colorscheme

Posted by Joys of Programming on in C/C++, Linux, Vim

Vim colorscheme is used to give different colors to background, foreground text. A sample color scheme will look something like this You can check the .vim files of the various available colorscheme. You can experiment with some of them by editing some of their values. Preferably create a new one copying some of the values [...]

Tags: , ,

 
0

How to set default colorscheme in VIM?

Posted by Joys of Programming on in Linux, Vim

If you don’t want to use the current colorscheme and want to use the default colorscheme of vim, enter vim Now in the normal mode, enter This will set the colorscheme temporarily (for this session, until you exit) to default.

Tags: ,

 
0

Vim Colorschemes Tutorial

Posted by Joys of Programming on in Linux, Vim

Vim has a number of colorshemes like default, blue, darkblue, desert. A colorscheme describes what color you want to give to the background of your vim editor, the color of the text, and various colors for the different types of programs or text files. How to find the available vim colorschemes? How to set colorscheme [...]

Tags: , , ,

 
0

How to set a colorscheme in VIM?

Posted by Joys of Programming on in Linux, Vim

After finding out the available colorscheme of VIM in your machine, the next step is to set a colorscheme. Let’s assume that you have the following colorschemes available darkblue blue dessert Now to set the colorscheme to blue Enter the following in Normal mode As you can see the syntax for setting a colorscheme is [...]

Tags: , ,

 
0

How to change VIM colorschme permanently?

Posted by Joys of Programming on in Linux, Vim

You can temporarily change a colorscheme of vim using the following method. But this change will be transient and as soon as you exit from vim, you will lose the setting. In order to save this setting permanently, you must add this to your .vimrc file Add the following lines to the end of the [...]

Tags: ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.