latest
This commit is contained in:
@@ -174,6 +174,7 @@ local file_specific = {
|
|||||||
if not has_makefile() then
|
if not has_makefile() then
|
||||||
vim.bo.makeprg = 'tcc -run %'
|
vim.bo.makeprg = 'tcc -run %'
|
||||||
end
|
end
|
||||||
|
vim.bo.expandtab = false
|
||||||
end,
|
end,
|
||||||
cs = function()
|
cs = function()
|
||||||
vim.bo.makeprg = "dotnet"
|
vim.bo.makeprg = "dotnet"
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ snippet ,,n "" Ai
|
|||||||
\n
|
\n
|
||||||
|
|
||||||
snippet foreacharr
|
snippet foreacharr
|
||||||
for (${1:type} *${2:item} = ${3:array}; ${2:item} < &${3:array}[${4:size}]; ${2:item}++) {
|
for (${1:type} *${2:item} = (${3:array}); ${2:item} < &(${3:array})[${4:size}]; ${2:item}++) {
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
snippet flags
|
snippet flags
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ syntax on
|
|||||||
tnoremap <c-w>c <c-\><c-n><c-w>c
|
tnoremap <c-w>c <c-\><c-n><c-w>c
|
||||||
xnoremap H ^
|
xnoremap H ^
|
||||||
xnoremap L $
|
xnoremap L $
|
||||||
|
nnoremap Q @@
|
||||||
|
|
||||||
if has('clipboard')
|
if has('clipboard')
|
||||||
set clipboard^=unnamed,unnamedplus
|
set clipboard^=unnamed,unnamedplus
|
||||||
|
|||||||
Reference in New Issue
Block a user