Vim: Create New File/Directory in NERDTree
Create File or Directory in NERDTree
Bring up NERDTree and navigate to the directory where you want to create the new file. Press m to bring up the NERDTree Filesystem Menu. This menu allows you to create, rename and delete files and directories. Type a to add a child node and then simply enter the filename. You’re done! To create a directory f...
Vim: Buffers, Tabs, Windows and Modes
Buffers
A buffer in Vim is an open instance of a file. This means that the file may not visible on the current screen, but it is saved somewhere in memory.
Whenever you open a file in Vim, that file gets put into buffer that will remain in memory until you explicitly delete it with a call to :quit or :bdelete. You can list all buffers currentl...
Vim: Motions and Command Language
Motions and Moving
Moving within a line
h, l - move left/right by character
w - move forward one (w)ord
b - back (b)ackward one word
e - move forward to the (e)nd of a word
Jumping within a line
f<char> - (f)ind a character forward in a line and move to it
T<char> - find a character backward in a line and move un(t...
GNOME: Changing the Default Terminal Application
Changing the Default Terminal Application
Ideally, there’d be an option under Details->Default Applications, but there’s currently no option for “terminal”.
So here is a workaround…
Simply symlink the terminal executable of your choice to gnome-terminal in /usr/bin.
$ sudo mv /usr/bin/gnome-terminal /usr/bin/gnome-terminal.bak
$ sudo ln -s...
GNOME: Add Force Quit Keyboard Shortcut
Add Force Quit Keyboard Shortcut
When you’re using Linux with the GNOME UI, don’t you hate it when you have to go to into the terminal or add the the force quit button to the panel just so you can exit an unresponsive program?
Go to System>Preferences>Keyboard Shortcuts
Scroll down to bottom of the list and click the “+” button and ...
GatsbyJS: Adding Offline Support
Adding Offline Support
To make the site more resilient to network connectivity issue, gatsby js provides an awesome plugin that cache pix and js of the site.
It is just two simple steps:
$ npm install --save gatsby-plugin-offline
Add this to the gatsby-config.js:
plugins: [`gatsby-plugin-offline`]
Source: gatsbyjs adding offline support ...
Blender: Filling Hole in Mesh
Filling Hole in Mesh
Blender is useful to fill or mend a hole in a mesh. Holes are typically already present in a mesh or you create them while deleting elements of a mesh.
Switch to Edit Mode and then click the Vertex select mode button. You are now ready to select vertices.
Select the vertices that border the hole. To do this, keep the ...
Windows: Install Git on Windows 10
Using Chocolatey
Install Chocolatey.
Install Git
> choco install git -params '"/GitAndUnixToolsOnPath"'
This will install git, the BASH tools and add them to your path.
Source: 5 Ways to Install Git on Windows
81 post articles, 11 pages.