Added custom snippets
This commit is contained in:
@@ -3,13 +3,11 @@ snippet header
|
|||||||
#ifndef ${1:`toupper(vim_snippets#Filename('$1_H', 'UNTITLED_H'))`}
|
#ifndef ${1:`toupper(vim_snippets#Filename('$1_H', 'UNTITLED_H'))`}
|
||||||
#define $1
|
#define $1
|
||||||
|
|
||||||
#include "Standard.h"
|
|
||||||
|
|
||||||
${0}
|
${0}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
snippet incl
|
snippet incl
|
||||||
#include "${1:`vim_snippets#Filename('$1.h', 'Untitled.h')`}"
|
# include "Standard.h"
|
||||||
|
|
||||||
${0}
|
${0}
|
||||||
|
|||||||
@@ -86,5 +86,5 @@ map <S-J> <pagedown>
|
|||||||
map <S-K> <pageup>
|
map <S-K> <pageup>
|
||||||
|
|
||||||
map <silent> <F9> :make<cr>:cw<cr>
|
map <silent> <F9> :make<cr>:cw<cr>
|
||||||
map <F10> :!./platformer<cr>
|
map <F10> :make execute<cr>
|
||||||
map <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
|
map <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user