diff --git a/coc-settings.json b/coc-settings.json index e1ebdc8..daa20e7 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -18,5 +18,6 @@ "explorer.keyMappings.global": { "": ["expandable?", "expand", "open"], "v": "open:vsplit" - } + }, + "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/14.0.3/clangd_14.0.3/bin/clangd" } diff --git a/init.vim b/init.vim index 1299e16..1e50c60 100644 --- a/init.vim +++ b/init.vim @@ -16,5 +16,6 @@ source $HOME/.config/nvim/plug-config/auto-save.vim source $HOME/.config/nvim/plug-config/wich-key.vim source $HOME/.config/nvim/plug-config/indent-line.vim source $HOME/.config/nvim/plug-config/nerdcommenter.vim +source $HOME/.config/nvim/plug-config/magma.vim luafile $HOME/.config/nvim/lua/plug-colorizer.lua diff --git a/plug-config/magma.vim b/plug-config/magma.vim new file mode 100644 index 0000000..fc24b8e --- /dev/null +++ b/plug-config/magma.vim @@ -0,0 +1,8 @@ +nnoremap r :MagmaEvaluateOperator +nnoremap rr :MagmaEvaluateLine +xnoremap r :MagmaEvaluateVisual +nnoremap rc :MagmaReevaluateCell +nnoremap rd :MagmaDelete +nnoremap ro :MagmaShowOutput + +let g:magma_automatically_open_output = v:false