Ⅰ. 插件描述
Vim runtime files for the language potigolⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nfischer/vim-potigol'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nfischer/vim-potigol'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nfischer/vim-potigol'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nfischer/vim-potigol
Ⅳ. 文档说明
# vim-potigol
Vim runtime files for the programming language potigol
What's potigol?
A programming language based on Portuguese keywords.
Why?
It's a shame that most programming languages are based on English keywords
(i.e. if, else, function, etc.). I found this language and wanted to
experiment with it a bit.
For me, it's difficult to type some of the Portuguese words, and I make lots of
- This plugin provides helpful shortcuts and syntax highlighting to help
- get my code looking the way I want quickly.
Installation
Using vim-plug (recommended)
Put the following lines in your vimrc file:
Plug 'nfischer/vim-potigol' " inside your vim-plug section
syntax on " after your vim-plug section
set background=dark " recommended for terminals with a dark backgroundShortcuts for non-English words
Don't want these shortcuts?
Put this in your vimrc to disable them:
let g:potigol_abbreviations = 0| Type this... | To get this... |
|---|---|
| faca | faça |
| entao | então |
| ate | até |
| senao | senão |
| senaose | senãose |
| aleatorio | aleatório |
| posicao | posição |
| contem | contém |
| maiusculo | maiúsculo |
| minusculo | minúsculo |
| cabeca | cabeça |
| ultimo | último |
| imutavel | imutável |