Legal Disclaimer

Tech in your hand
An easy approach to understand tech
Home.
TYH
Learn to
Custom Search

Feedback ? Send it to admin@fullchipdesign.com or join me at fullchip@gmail.com

Legal Disclaimer

Previous.
Next.
GVIM VI VIM GVIM empty GVIM Merge GVIM drop GVIM Num GVim duplicate GVIM time GVIM Make GVIM Markers GVIM spellcheck GVIM Syntax GVIM Reverse GVIM lines GVIM Intro
Home.Pics.LTE Home.OFDMA  .
Following is the vi/vim/gvim command to delete or remove empty blank lines:

:g/^$/d

Where :g  executes a command in the generic operation :g/regex/command.
/^$ will match any empty line and its the regex portion in the generic operation.
/d is the command to delete the regex.

Alternate method,
:v/./d
How to remove empty lines from files when opened in GVIM text editor.
Note: The alternate method will highlight the entire text file. Use following command to remove highlights.
:nohls
Basic commands:

How to Jump to firs, last line or a specific line of text file?
How to move to home, middle or Last line of current view? How to show/remove line numbers?
How to Remove highlights or color from text file? Simply do :nohls
How to Search in a text file ?  Simply do /<search_pattern>
Anything after / will be search pattern to find in file.
How to set Ignore case in text file for search? :set ic
How to open multiple files in GVIM? Use :split <path_of_file>
How to switch between multiple files using only keyboard in GVIM editor?
When multiple files are open in gvim editor, use ctrl+w 2 times to jump in-between files.
How to merge the line with line below? Shift+j or capital J
How to change text to lowercase or uppercase?
gu{motion} - As you move the up/down arrows the lines will change to all lower case.
gU{motion} - As you move the up/down arrows the line will change to all upper case.
LTE - Long Term Evolution topics from here
Cloud Computing ?
Whenever a document or photo is uploaded on the web, a thread of cloud computing is active. Learn more from here.
Return to Verilog Tutorial
Interview Questions. Main, FPGA, Digital
Basic commands:
How to Jump to firs, last line or a specific line of text file?
How to move to home, middle or Last line of current view? How to show/remove line numbers?