All Projects → petRUShka → vim-sage

petRUShka / vim-sage

Licence: other
Vim plugin for SageMath (Sage) mathematics software system

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-sage

doorboy.vim
Vim plugin for auto closing brackets ( => (|) and quotations " => "|" , and more
Stars: ✭ 19 (+11.76%)
Mutual labels:  vim-plugin
vim-lineletters
because letters are easier to touch type than numbers
Stars: ✭ 38 (+123.53%)
Mutual labels:  vim-plugin
vim-jsonc
⚠️Deprecated⚠️: Vim syntax highlighting plugin for JSON with C-style line (//) and block (/* */) comments.
Stars: ✭ 52 (+205.88%)
Mutual labels:  vim-plugin
vim-multiselect
A library plugin to handle multiple visual selections
Stars: ✭ 27 (+58.82%)
Mutual labels:  vim-plugin
perl-support
Edit Perl scripts in Vim/gVim. Insert code snippets, run, check, and profile the code and look up help.
Stars: ✭ 23 (+35.29%)
Mutual labels:  vim-plugin
notoire
A vim plugin to take notes using the Zettelkasten method
Stars: ✭ 53 (+211.76%)
Mutual labels:  vim-plugin
vim-sass-colors
sass/scss/less/css color literal and color variable highlighting (works with imports)
Stars: ✭ 24 (+41.18%)
Mutual labels:  vim-plugin
vim-textobj-sentence
Improving on Vim's native sentence text object and motion
Stars: ✭ 92 (+441.18%)
Mutual labels:  vim-plugin
pfp-vim
A vim hex-editor plugin that uses 010 templates to parse binary data using pfp
Stars: ✭ 57 (+235.29%)
Mutual labels:  vim-plugin
dps-ghosttext.vim
GhostText plugin powered by denops.vim
Stars: ✭ 20 (+17.65%)
Mutual labels:  vim-plugin
beacon.nvim
Whenever cursor jumps some distance or moves between windows, it will flash so you can see where it is
Stars: ✭ 217 (+1176.47%)
Mutual labels:  vim-plugin
hlyank.vim
Highlight yanked text in Vim
Stars: ✭ 14 (-17.65%)
Mutual labels:  vim-plugin
jubjub
Supporting evidence for security of the Jubjub curve to be used in Zcash
Stars: ✭ 13 (-23.53%)
Mutual labels:  sagemath
vim
个人私用的vim配置
Stars: ✭ 12 (-29.41%)
Mutual labels:  vim-plugin
code runner.nvim
Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
Stars: ✭ 234 (+1276.47%)
Mutual labels:  vim-plugin
vim-plugin-autosess
Vim plugin: auto save/load sessions
Stars: ✭ 32 (+88.24%)
Mutual labels:  vim-plugin
spotdiff.vim
A range and area selectable diffthis to compare partially
Stars: ✭ 29 (+70.59%)
Mutual labels:  vim-plugin
vim-easydebugger
A VIM multi-language debugger plugin
Stars: ✭ 47 (+176.47%)
Mutual labels:  vim-plugin
vim-win
🖼️ A Vim plugin for managing windows.
Stars: ✭ 48 (+182.35%)
Mutual labels:  vim-plugin
vim-phpstan
A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.
Stars: ✭ 26 (+52.94%)
Mutual labels:  vim-plugin

SYNOPSIS

Vim-sage is a vim plugin for support SageMath (former Sage) mathematics software system. The vim-sage supports syntax highlighting and indentation for SageMath files in Vim editor.

Installation

Use your preferred installation method for Vim plugins.

With vim-plug that would mean to add the following to your vimrc:

Plug 'petRUShka/vim-sage'

Vim plugins to extend SageMath support (together with vim-sage)

  • vimcmdline: send lines from Vim to interpreter (SageMath and vim-sage are supported);
  • vim-python-pep8-indent: a nicer Python indentation style for Vim;
  • python-syntax: extended Python syntax highlighting for Vim (much nicer than default highlight);
  • SimpylFold (together with FastFold): no-BS Python code folding for Vim (it just works with Python code);
  • vim-pythonsense: provides text objects and motions for Python classes, methods, functions, and doc strings;
  • jedi-vim: autocompletion, goto assignment/definition/stub, show documentation, renaming, usages and etc for Python. It works only with Python libraries and doesn't see Sage libraries or understand non-python Sage code. But it works well for built-in python instructions or libraries like numpy when editing sage code-file.

vim-sage sets sage.python filetype for sage-files, so above plugins for Python itself work smoothly with sage-files.

Tags and code browsing

Whereas it is not clear at the moment how to fully use tools like Language Server or Jedi with SageMath (see discussion and links here) it is possible to use good old tags with not as good but still usable code navigation (go to definition functionality).

  1. Install indexing tool Universal-ctags. Put following lines in ~/.ctags (for other other than Linux OS look at Option file help page to check the right place):
# to have ctags skip indexing import statements uncomment following line
# --python-kinds=-i
# SageMath
--langmap=Python:+.sage
  1. (Optionally) Install vim-plugin ludovicchabant/vim-gutentags for auto(re)generating tag files.

  2. Use vim built-in tag browsing and navigating functionality (:help tagsrch.txt for details).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].