dawikur / algorithm-mnemonics.vim Goto Github PK
View Code? Open in Web Editor NEW๐ Vim snippets for https://github.com/tommybennett/algorithm-mnemonics
License: MIT License
๐ Vim snippets for https://github.com/tommybennett/algorithm-mnemonics
License: MIT License
As suggested by @kiryph in tommybennett/algorithm-mnemonics#7 it would be nice to use those visual placeholders.
More: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt#L774
Vim's documentation http://vimhelp.appspot.com/helphelp.txt.html#help-writing says
The tag-name should be different from all the Vim help tag names and ideally
should begin with the name of the Vim plugin.
Since the plugin name is too long, I would consider a different prefix following common rules:
For instance, vim-latex includes a latex-help.txt file with the tag prefix latex-
.
http://vimhelp.appspot.com/filetype.txt.html#ftplugin-docs would suggest something like
ft-cpp-snippets-stl-
Examples from http://vimhelp.appspot.com/filetype.txt.html#filetypes
[...] To search for help on a filetype prepend "ft-" and optionally append
"-syntax", "-indent" or
"-plugin". For example:
:help ft-vim-indent
:help ft-vim-syntax
:help ft-man-plugin
Note, the help command matches partials :h partial
. You can still open with :h partial_sort_copy
but :h stl-copy
would open the description of the stl-snippet, but with :h copy
you get the default vim help.
In many places there is code like:
auto pos = std:: ... ();
We should be able to decide what is the actual type of pos object:
auto pos ... ;
const auto pos ... ;
auto const pos ... ;
There are also lambdas with parameter like auto const value
. We can parameterize:
auto value
auto const value
const auto element
...
For now it should be OK to give 3 options for return objects:
// const on:
auto <obj> // None
auto const <obj> // Right
const auto <obj> // Left
// lambda parameter:
[] (<lambda_parameter>)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.