Merge branch 'master' of https://github.com/yannickreiss/nvim_cfg
This commit is contained in:
commit
091be8713b
|
@ -0,0 +1,13 @@
|
||||||
|
snippet cred "My private Credentials"
|
||||||
|
Yannick Reiss <yannick.reiss@protonmail.ch>
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet solve "Solve a python equation"
|
||||||
|
${1:1*1}`!p rv = ""
|
||||||
|
try:
|
||||||
|
rv = eval(t[1])
|
||||||
|
except SyntaxError:
|
||||||
|
rv = "?"
|
||||||
|
snip.rv = f" = {rv}"`
|
||||||
|
endsnippet
|
||||||
|
|
|
@ -679,12 +679,3 @@ snippet cotable "create table with code extension" i
|
||||||
\table ${1:row} ${2:column} ${3:Title}
|
\table ${1:row} ${2:column} ${3:Title}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet solve "Solve a latex equation"
|
|
||||||
${1:1*1}`!p rv = ""
|
|
||||||
try:
|
|
||||||
rv = eval(t[1])
|
|
||||||
except SyntaxError:
|
|
||||||
rv = "?"
|
|
||||||
snip.rv = f" = {rv}"`
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
|
|
3
init.lua
3
init.lua
|
@ -97,6 +97,9 @@ require("mason-lspconfig").setup_handlers {
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local wilder = require('wilder')
|
||||||
|
wilder.setup({modes = {':', '/', '?'}, next_key= '<Tab>', previous_key= '<S-Tab>', accept_key= '<c-k>', reject_key= '<Up>'})
|
||||||
|
|
||||||
require("code-completion")
|
require("code-completion")
|
||||||
|
|
||||||
vim.cmd('source ~/.config/nvim/viml/legacyconf.vim')
|
vim.cmd('source ~/.config/nvim/viml/legacyconf.vim')
|
||||||
|
|
|
@ -14,12 +14,7 @@ return require('packer').startup(function(use)
|
||||||
ts_update()
|
ts_update()
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
use {
|
use { 'gelguy/wilder.nvim' }
|
||||||
'gelguy/wilder.nvim',
|
|
||||||
config = function()
|
|
||||||
-- config goes here
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
use { 'junegunn/fzf', run = ":call fzf#install()" }
|
use { 'junegunn/fzf', run = ":call fzf#install()" }
|
||||||
use 'junegunn/fzf.vim'
|
use 'junegunn/fzf.vim'
|
||||||
-- use 'Valloric/YouCompleteMe'
|
-- use 'Valloric/YouCompleteMe'
|
||||||
|
|
Loading…
Reference in New Issue