Ⅰ. 插件描述
Cyberpunk themed vim colorschemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'zabanaa/neuromancer-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'zabanaa/neuromancer-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'zabanaa/neuromancer-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/zabanaa/neuromancer.vim
Ⅳ. 文档说明
# Neuromancer.vim
Neuromancer is a vim colorscheme compatible with gVim and terminal vim (versions
higher than 7.4). It's inspired by the "High Tech, Low Life" philosophy.
I intend to fully support the following languages:
- [x] Python
- [x] Markdown
- [x] Javascript
- [x] Sass
- [x] HTML
- [x] Vim
- [x] SQL
- [x] Golang
- [x] Typescript
- [x] JSON
- [x] Nginx Config Files
- [x] Makefiles
- [x] Yaml
- [x] Docker
- [ ] Bash
- [ ] Jinja2 (the templating engine)
It's going to be a lot of work, but also a lot of fun.
Installation instructions
To start using the colorscheme, simply copy it over to your .vim/colors
- (You can create it if you don't already have it)
git clone https://github.com/Zabanaa/neuromancer.vim.git
# Assuming you've cloned the repo in your home directory, just run the following
# command
cp neuromancer.vim/colors/neuromancer.vim ~/.vim/colors/Then, in your .vimrc file, simply change (or add) the colorscheme line to the following:colorscheme neuromancer
Feel free to leave any feedback, notes or comments. I'm
@zabanaa_ on twitter.
Further Notes
For syntax highlighting, I use the following plugins:
- chr4/nginx.vim
- leafgarland/typescript-vim
- pearofducks/ansible.vim
- mxw/vim-jsx
- lifepillar/pgsql.vim
- fatih/vim-go
- mitsuhiko/vim-jinja
- othree/yajs.vim
- othree/es.next.syntax.vim
- othree/javascript-libraries-syntax.vim
- digitaltoad/vim-pug
- tpope/vim-markdown
- hdima/python-syntax
If you use vim-go, you might want to enable the following settings for a better,
enhanced experience:
# .vimrc
let g:go_highlight_operators = 1
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_types = 1
let g:go_highlight_fields = 1
let g:go_highlight_variable_declarations = 1
let g:go_fmt_command = "goimports"