How to highlight words in vi editor in AIX
How to highlight words in vi editor in AIX.
|
Which version of VI, which version of AIX?
|
AIX 7.1 , version for vi editor not known.
|
Are you referring to syntax highlighting?
|
No . I mean when I open a file in vi editor then I want to search a word in the entire file and that word should be hightlighted.
|
probably this link will help you: http://vim.wikia.com/wiki/Highlight_...attern_matches
|
Hi ,
The link which you provided doesn't help . ":set hlsearch" doesnot help. Please help |
You can't do this in vi.
|
There are some programs that replace/extend 'vi'... one of them is 'vim'
http://www.vim.org/download.php#unix |
Quote:
Indeed there are, and vim is certainly one. Emacs is another good one. But is "use another editor" really a helpful reply to "How to highlight words in vi editor in AIX"? |
If you use 'vim', you can pretend it is an improved 'vi'. That's why it is called 'vi improved'
|
i think you can not do this in VI AIX
---------- Post added 09-16-14 at 03:54 AM ---------- I think you can not do this in VI AIX |
It is not inherently impossible to install new programs on an AIX... I did that sometimes and survived.
|
Well,. in vi/vim,. to highlight you would just use
Code:
:syntax on |
Quote:
Vim for AIX can be obtained from IBM or perzl.org. |
All times are GMT -5. The time now is 09:51 AM. |