Visit Our UNIX and Linux User Community

Full Discussion: abbreviation vi
Top Forums Shell Programming and Scripting abbreviation vi Post 302450894 by bartus11 on Saturday 4th of September 2010 12:58:55 PM
Old 09-04-2010
This sounds a bit like homework.. But here is how to do it: add this line to your ~/.vimrc:
Code:
inoremap ITL Infosys Technologies Limited

create new file with vim and type "ITL" (try to be fast with typing). It will be substituted by the desired string. When you want to disble this behaviour, just put " at the beggining of the added line in .vimrc to comment it out, or just delete it entirely.
 
Test Your Knowledge in Computers #655
Difficulty: Medium
In the mid-1980s Microsoft developed a multitasking version of DOS.
True or False?

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

OEM - what does this abbreviation stand for?

Just saw this OEM abbreviation during installation of Solaris 8. I'm curious to know what the letters stand for and what OEM actually is. (3 Replies)
Discussion started by: Kanu77
3 Replies

2. UNIX for Advanced & Expert Users

what is the meaning of the nu abbreviation in vi

Does anyone know what nu stands for in vi? That is so much easier to remember then number and nonumber for line numbers. Show Line Numbers In vim Text Editor, Linux (1 Reply)
Discussion started by: cokedude
1 Replies
DWARF_GET_ABBREV_CODE(3)				   BSD Library Functions Manual 				  DWARF_GET_ABBREV_CODE(3)

NAME
dwarf_get_abbrev_code -- retrieve the abbreviation code for an abbreviation LIBRARY
DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS
#include <libdwarf.h> int dwarf_get_abbrev_code(Dwarf_Abbrev abbrev, Dwarf_Unsigned *ret, Dwarf_Error *err); DESCRIPTION
Function dwarf_get_abbrev_code() retrieves the abbreviation code for the abbreviation entry descriptor referenced by argument abbrev. Argument ret should point to a location which will hold the returned abbreviation code. If argument err is not NULL, it will be used to store error information in case of an error. RETURN VALUES
Function dwarf_get_abbrev_code() returns DW_DLV_OK when it succeeds. In case of an error, it returns DW_DLV_ERROR and sets the argument err. ERRORS
Function dwarf_get_abbrev_code() can fail with: [DW_DLE_ARGUMENT] Either of arguments abbrev or ret was NULL. SEE ALSO
dwarf(3), dwarf_get_abbrev(3), dwarf_get_abbrev_tag(3), dwarf_get_abbrev_children_flag(3), dwarf_get_abbrev_entry(3) BSD
March 13, 2011 BSD

Featured Tech Videos

All times are GMT -4. The time now is 10:00 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy