environment: date time sublime snippet signature snippets sublime text 2 text editors
by bseanvt
2 comments
How to Create a Date Time Snippet in Sublime Text 2 (Dynamic Signature with Time Stamp)
You’ll have to create a new plugin. From the menu bar select
Tools > New Plugin
Copy the Python script from the signature.py file. Remember to replace your email address (it’s example.com).
Save the file, signature.py, is fine. Next open up Preferences > Key Bindings – Default and add a new entry.
ctl+alt+s will add the snippet to the first line of your file.
Vim Tips and Tricks
The following tips and tricks can be put into your .vimrc file
Remap jj to esc
imap jj <Esc>
Quickly leave edit mode and back to visual mode with jj. This is probably the fastest key combination possible and one of the most frequent key combinations while editing in vim.
Remap semicolon “;”
nnoremap ; :
Instead of shift, semicolon (which produces a colon) just remap the semicolon to a colon while in visual mode.
You can alias commands with vim
command Tab, :tabnew
The only caveat is that your alias must start with a capital letter.


