Skip to content

Instantly share code, notes, and snippets.

@Johnytran
Johnytran / gist:1d24f4b11f076fb356e2
Created July 30, 2015 01:45
nerdtree refesh cursor dir
r: refresh cursor dir
@Johnytran
Johnytran / gist:dc69a5f2e3f5815fd6f2
Created July 30, 2015 01:59
NERDTree navigation
Tree navigation
p: go to parent
P: go to root
K: go to first child
J: go to last child
@Johnytran
Johnytran / gist:69f352ff23af2316d972
Created July 30, 2015 02:00
NERDTree directories
Directories
o: open & close
O: recurs­ively open
x: close parent
X: close all children recurs­ively
e: explore selected dir
Files
o: open in prev window
go: preview
t: open in new tab
T: open in new tab silently
i: open split
gi: preview split
s: open vsplit
gs: preview vsplit
@Johnytran
Johnytran / gist:307bf945ce6e93711a93
Created July 30, 2015 02:05
Switching between tabs in NERDTree
gt = next tab
gT = previous tab
@Johnytran
Johnytran / gist:1aa899b32fa52bee8169
Created July 31, 2015 13:02
create new file in nerdtree
Activate the NERDTree and navigate to the directory in which the new file should live.
Then press m to bring up the NERDTree Filesystem Menu and choose a for "add child node".
Then simply enter the file's (or directory's name) and you're done.
@Johnytran
Johnytran / window 8
Last active August 29, 2015 14:26
Windows 8: How to Add Applications to the Startup Folder
First of all launch the Run dialog box. This can be done by pressing Win+R key from anywhere in Windows 8.
2.Paste %AppData% in the Run box and select Ok.
This will generate your AppData folder structure which will appear in the address bar. Paste the following code after what is generated in the address bar:
\Microsoft\Windows\Start Menu\Programs\Startup
Next, go to the shortcut of the app that you want to put in the Startup folder. Hold the right button of the mouse and drag the shortcut of that application to the Startup folder. You will be prompted with a few options. Select Create Shortcuts here.
The shortcut of your desired applications will appear in the Startup folder. All shortcuts to apps placed within this folder will be executed automatically when Windows goes through the Startup process.
@Johnytran
Johnytran / window 8
Last active August 29, 2015 14:26
Windows 7: Quickly Hide All Icons from the Desktop
Right click on the desktop.
Go to View.
There’s an option “Show Desktop Icons”.
Un-check it.
@Johnytran
Johnytran / command prompt
Created August 1, 2015 12:47
clear screen command prompt
cls
@Johnytran
Johnytran / chrome
Created August 1, 2015 13:23
open bookmark chrome
Alt+F