-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lvimrc
22 lines (21 loc) · 822 Bytes
/
.lvimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
" Tagbar addon for moonscript
let g:tagbar_type_moon = {
\ 'ctagstype' : 'moonscript',
\ 'kinds' : [
\ 'v:variables',
\ 'f:functions',
\ 'c:classes',
\ 'm:methods',
\ 's:static properties',
\ 'p:properties',
\ ]
\ }
let g:ctrlp_buftag_types = {
\ 'moon' : '--language-force=moonscript --moonscript-types=vfcmsp',
\ }
" Shortcuts for build + run
nnoremap <F7> :wa<CR>:silent AsyncRun /usr/local/bin/moonc bin/Data/Scripts && cmake --build .<CR>:copen<CR>
nnoremap <F6> :wa<CR>:silent AsyncRun /usr/local/bin/moonc bin/Data/Scripts && cmake --build . && ./bin/UrhoFelt<CR>:copen<CR>
nnoremap <F5> :wa<CR>:silent AsyncRun /usr/local/bin/moonc bin/Data/Scripts && cmake --build .<CR>:copen<CR>:Termdebug ./bin/UrhoFelt<CR>
" Add gdb support
packadd termdebug