Some very useful VIM tricks for Linux.
Some very useful VIM tips for Linux. Do a word count.
Some very useful VIM tips for Linux. Do a word count.
Some very useful VIM tips when using this editor on Linux. When you open a folder instead of a file in VIM, you get a directory listing and this allows you to select a file. Just scroll down to the file you want to open and press ENTER. " ============================================================================ " Netrw Directory Listing (netrw … Read more
There are many ways to use the bash shell on Linux. It has different key binding options and the ability to navigate to a directory by typing the name alone. set -o vi bind -m vi-insert "\C-l":clear-screenset -o vi bind -m vi-insert "\C-l":clear-screen This will enable VIM styled keybindings for the bash shell. Press ESC, … Read more
The VI text editor is a very flexible text editor. This can read from STDIN, and this makes it very good to use in a script. But you can also read a file from the Internet. This works in concert with the wget utility. The wget -O- -q command reads a file from the Internet … Read more
VIM is a very useful and versatile editor for Linux. This is how to use it to its full potential. Some great VIM tricks to help for a Linux user or programmer. To read the output of a command into a text file, use the :r command in the command mode, and then a Linux … Read more
Installing the new VIM release from source is very easy. I have this running on Ubuntu 17.10 and it is great, the editor allows the user to open a terminal within the editor. Make a new folder to download the files into. Go into the directory, and then run this command to download the sources. … Read more
When in command mode, press the u key to undo the last change to a file. Press U to undo last change(s) on a line. To open a file at a certain line, start it like this: vim +567 file.txt. This will open the file file.txt on line 567. Using the VIM editor for Linux … Read more
If you want some quality themes for the Linux Mint Cinnamon desktop; then this website is perfect: http://cinnamon-spices.linuxmint.com/themes. The Cinnamon desktop is quite a stunning desktop for the Linux Mint 14 distribution; but if you want something simpler; the new MATE desktop will be better suited to you. I tried the MATE desktop out with … Read more
The magic SysRQ key combination is used to reset the Linux system if nothing else will work. To use this key combination, press: Alt+SysRQ then tap these keys in order: R, S, E, I, U, B. This will perform a safe re-boot of your Linux system assuming the Magic SysRQ keys are enabled in your … Read more
Using the VIM editor for Linux is a good way to edit configuration files and write programming code. if the VIM editor is not installed on your system then type sudo apt-get install vim. To type text once you have entered the editor, press the i key to enter editing mode. To delete a line … Read more
Well, I am coding an ad rotation script in PHP for my website that will be able to display a pseudo-random advertisement out of a choice that I have put into it, this will help me if I want to display something different in the same place, I can just display a random advertisement and … Read more