gVim Easy

gvim: An editor that can handle huge files it is very powerful and I use it for proyect notes and other things, you can program with is as it is has syntax coloured features (See figure).



I use gVim when my fingers are tired of Emacs (you need pianist fingers to use Emacs lol)it is also a good substitute of Notepad as it is coloured, much more performant and pleasant to use.

You can donwload it from: http://www.vim.org/download.php

To customize this editor you need to edit the _vimrc file


Samples

To change font style:
set guifont=Courier_New:h10

Change color scheme:
colors elflord

Set return on word (word wouldn't be cutted on line return):
set lbr


The list of colors schemes is under the \vim72\colors folder

Customize color scheme

I've created my own customized file from the elflord.vim scheme to elflordcustomized.vim here is what it looks like:

" local syntax file - set colors on a per-machine basis:
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer:    Ron Aaron
" Last Change:    2009 Nov 23 by Stories of Maria

set background=dark
hi clear
if exists("syntax_on")
  syntax reset
endif
let g:colors_name = "elflordcustomized"
hi Normal        guifg=green3        guibg=black
hi Comment    term=bold        ctermfg=DarkCyan        guifg=#80a0ff
hi Constant    term=underline    ctermfg=Magenta        guifg=Magenta
hi Special    term=bold        ctermfg=DarkMagenta    guifg=Red
hi Identifier term=underline    cterm=bold            ctermfg=Cyan guifg=#40ffff
hi Statement term=bold        ctermfg=Yellow gui=bold    guifg=#aa4444
hi PreProc    term=underline    ctermfg=LightBlue    guifg=#ff80ff
hi Type    term=underline        ctermfg=LightGreen    guifg=#60ff60 gui=bold
hi Function    term=bold        ctermfg=White guifg=White
hi Repeat    term=underline    ctermfg=White        guifg=white
hi Operator                ctermfg=Red            guifg=Red
hi Ignore                ctermfg=black        guifg=bg
hi Error    term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White
hi Todo    term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow

:highlight LineNr term=bold cterm=NONE ctermfg=DarkGray ctermbg=NONE gui=NONE guifg=DarkGray guibg=NONE


" Common groups that link to default highlighting.
" You can specify other highlighting easily.
hi link String    Constant
hi link Character    Constant
hi link Number    Constant
hi link Boolean    Constant
hi link Float        Number
hi link Conditional    Repeat
hi link Label        Statement
hi link Keyword    Statement
hi link Exception    Statement
hi link Include    PreProc
hi link Define    PreProc
hi link Macro        PreProc
hi link PreCondit    PreProc
hi link StorageClass    Type
hi link Structure    Type
hi link Typedef    Type
hi link Tag        Special
hi link SpecialChar    Special
hi link Delimiter    Special
hi link SpecialComment Special
hi link Debug        Special


Then I created a batch file to open by default txt files with gvim in Easy Mode, I've called the file EasyVim.bat

rem EASY VIM BATCH
"C:\Program Files\Vim\vim72\gvim.exe" -y

Comments

Popular posts from this blog

Repair Dolce Gusto Circolo Leaking Problem

Root Nook Simple Touch with updated NookManager

How to Change the Gear Shift Knob of the Peugeot 306