VIM Editor ::: Closing All Windows/Splits Except Current One

If you are like me, you use NERDTree. While being a NERDTree user with Vim, often it is necessary(or just nice) to be able to close all open splits excluding NERDTree’s. In order to close those other windows in VIM, or splits, while leaving NERDTree open, it is necessary to navigate to NERDTree pane and Read the full article…

Ubuntu ::: Using Apt-Get Remove To Uninstall Ubuntu Applications

Ubuntu’s apt-get remove command does not trash your config files, related plugins, or even settings. Assisting you when reinstalling needs to be an option for certain applications. To remove programs on Ubuntu using apt-get remove: $ sudo apt-get remove package-name Source

Console ::: How To Start A New Line In Chrome Console Window???

When you are in console Chrome browser, after entering your line first, do not press enter, hit shift + enter. Console will provide you another line to use versus executing your commands. Source

Ubuntu ::: Uninstalling Programs Through Commandline or Terminal

To generally remove an application while leaving settings for a possible future re-installation, type: $ sudo apt-get remove package_name In order to fully uninstall an application on Ubuntu, use: $ sudo apt-get –purge remove package_name Source

ADB Shell Screenrecord ::: Record Video Of Android Screen

Adb allows us to use a flag to record our Android screens to a file. In order to record your screen use: $ adb shell screenrecord /sdcard/file-you-want-to-record.mp4 You will NOT be prompted after this command is entered. Instead, your cursor will hang, and you will need to take whatever actions in your adb shell on Read the full article…

VIM Editor ::: Reloading .vimrc File Without Restarting Vim

In order to reload .vimrc file in Vim without having to reload Vim: Enter VIM ::: vim filename Open your Vim’s config file ::: :vs ~/.vimrc Put in your Vim’s settings, ie ::: set number or syntax on Use :wq to save these alterations and close .vimrc file Then you can reload your .vimrc file Read the full article…

VIM Editor ::: Undo And Redo In Vim

In order to undo a change, while in Normal mode, press: This will undo very last action made. Can be used repeatedly to alter several actions. In order to redo a change, while in Normal mode, press: Source

VIM Editor ::: How To Create Splits/Windows In Vim

To create a vertical split in Vim, type: To create a horizontal split in Vim, type: To open a file in a new split, type: Source

VIM Editor ::: Resizing Window Splits

To make splits in VIM editor wider: To make splits in VIM editor more narrow: To make splits in VIM editor more wide by 30 characters: OR: To make splits in VIM editor more narrow by 30 characters: OR: Source

VIM Editor ::: Cutting, Copying, Yanking, Deleting and Pasting in Vim

In Vim, cutting and copying rely on two different commands: d in Vim means delete, in other editors, this might be named, cut. y in Vim means yank, in other editors, this might be named, copy. Therefore, in Vim to perform a Cut & Paste operation: Position your cursor where you wish to start your Read the full article…