Create an empty git repo or reinitialize an existing one
$ git init
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Create an empty git repo or reinitialize an existing one
$ git init
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
# Add this to your ~/.profile to open the sublime project file in the current directory using `sublp` without any arguments. | |
# Note: `subl` ust be in your PATH. | |
# | |
# Usage: Navigate to folder containing project file. Type `sublp` and hit enter. | |
# | |
alias sublp='find . -name "*.sublime-project" | head -1 | xargs subl --project' |