Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Add magma config
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas committed Jan 10, 2023
1 parent e3ef220 commit f4501c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coc-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"explorer.keyMappings.global": {
"<cr>": ["expandable?", "expand", "open"],
"v": "open:vsplit"
}
},
"clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/14.0.3/clangd_14.0.3/bin/clangd"
}
1 change: 1 addition & 0 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions plug-config/magma.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
nnoremap <silent><expr> <LocalLeader>r :MagmaEvaluateOperator<CR>
nnoremap <silent> <LocalLeader>rr :MagmaEvaluateLine<CR>
xnoremap <silent> <LocalLeader>r :<C-u>MagmaEvaluateVisual<CR>
nnoremap <silent> <LocalLeader>rc :MagmaReevaluateCell<CR>
nnoremap <silent> <LocalLeader>rd :MagmaDelete<CR>
nnoremap <silent> <LocalLeader>ro :MagmaShowOutput<CR>
let g:magma_automatically_open_output = v:false

0 comments on commit f4501c4

Please sign in to comment.