All Projects → ngmy → Vim Rubocop

ngmy / Vim Rubocop

Licence: mit
The Vim RuboCop plugin runs RuboCop and displays the results in Vim

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Vim Rubocop

Vim Plugin Viewdoc
Vim plugin: flexible viewer for any documentation
Stars: ✭ 79 (-69.85%)
Mutual labels:  viml, vim-plugin
Vim Youdao Translater
vim的有道取词翻译插件
Stars: ✭ 116 (-55.73%)
Mutual labels:  viml, vim-plugin
Incsearch Easymotion.vim
Stars: ✭ 82 (-68.7%)
Mutual labels:  viml, vim-plugin
Vim Grepper
👾 Helps you win at grep.
Stars: ✭ 1,030 (+293.13%)
Mutual labels:  viml, vim-plugin
Vim Markbar
Display all accessible marks and their surrounding lines in a collapsible sidebar.
Stars: ✭ 159 (-39.31%)
Mutual labels:  viml, vim-plugin
Vim Lookup
Jump to the definition of variables or functions in VimL code.
Stars: ✭ 51 (-80.53%)
Mutual labels:  viml, vim-plugin
Incsearch Fuzzy.vim
Stars: ✭ 116 (-55.73%)
Mutual labels:  viml, vim-plugin
Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: ✭ 752 (+187.02%)
Mutual labels:  viml, vim-plugin
Tlib vim
Some utility functions for VIM
Stars: ✭ 147 (-43.89%)
Mutual labels:  viml, vim-plugin
Quickfixsigns vim
Mark quickfix & location list items with signs
Stars: ✭ 126 (-51.91%)
Mutual labels:  viml, vim-plugin
Vim Hexedit
Hexedit is a plug-in under VIM, which is used to strengthen the hex editing ability of VIM.
Stars: ✭ 42 (-83.97%)
Mutual labels:  viml, vim-plugin
Vifm.vim
Vim plugin that allows use of vifm as a file picker
Stars: ✭ 197 (-24.81%)
Mutual labels:  viml, vim-plugin
Tskeleton vim
File Templates and Code Skeletons/Snippets for VIM
Stars: ✭ 33 (-87.4%)
Mutual labels:  viml, vim-plugin
Viki vim
A personal wiki for Vim
Stars: ✭ 52 (-80.15%)
Mutual labels:  viml, vim-plugin
Vim Diff Toggle
🛠 Vim plugin to speed up editing diff files
Stars: ✭ 17 (-93.51%)
Mutual labels:  viml, vim-plugin
Learn Vim
无废话极简版Vim学习笔记!文章按主题分拆为多个章节,并尽量控制每节的信息量;通过文字色彩和字体,将命令、快捷键突出显示;在每节结尾,提供一个命令列表,以便回顾文中介绍的重要命令。如果这些文章能对喜欢Vim的朋友有所益处,我将不胜荣幸。
Stars: ✭ 83 (-68.32%)
Mutual labels:  viml, vim-plugin
Vim Startify
🔗 The fancy start screen for Vim.
Stars: ✭ 4,479 (+1609.54%)
Mutual labels:  viml, vim-plugin
Vim Gnupg
This script implements transparent editing of gpg encrypted files.
Stars: ✭ 566 (+116.03%)
Mutual labels:  viml, vim-plugin
Vim Todo Lists
Vim plugin for TODO lists
Stars: ✭ 126 (-51.91%)
Mutual labels:  viml, vim-plugin
Vim Glsl
Vim runtime files for OpenGL Shading Language
Stars: ✭ 184 (-29.77%)
Mutual labels:  viml, vim-plugin

Vim RuboCop

The Vim RuboCop plugin runs RuboCop and displays the results in Vim.

Requirements

Please note that the current version of the Vim RuboCop plugin requires RuboCop 0.12.0 or later.

Installation

Obtain a copy of this plugin and place rubocop.vim in your Vim plugin directory.

Usage

You can use the :RuboCop command to run RuboCop and display the results.

You can also use the :RuboCop command together with options. For example, :RuboCop -l, :RuboCop -a and so on.

Configuration File

To run with the specified configuration file, add the following line to your .vimrc file:

let g:vimrubocop_config = '/path/to/rubocop.yml'

Keyboard Shortcuts

Credit for Shortcuts: Ack.vim

In the quickfix window, you can use:

o    to open (same as enter)
go   to preview file (open but maintain focus on ack.vim results)
t    to open in new tab
T    to open in new tab silently
h    to open in horizontal split
H    to open in horizontal split silently
v    to open in vertical split
gv   to open in vertical split silently
q    to close the quickfix window

Additionally, the plugin registers <Leader>ru in normal mode for triggering it easily. You can disable these default mappings by setting g:vimrubocop_keymap in your .vimrc file, and then remap them differently.

For instance, to trigger RuboCop by pressing <Leader>r you can put the following in your .vimrc:

let g:vimrubocop_keymap = 0
nmap <Leader>r :RuboCop<CR>

License

The Vim RuboCop plugin is open-sourced software licensed under the MIT license.

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].