GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - noscript/bazel.vim: Google Bazel integration for Vim

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
autoload
autoload
 
 
doc
doc
 
 
ftplugin
ftplugin
 
 
plugin
plugin
 
 
README.md
README.md
 
 

Repository files navigation

bazel.vim - Bazel build system integration for Vim

  • Tab autocompletion for targets
  • goto-definition for BUILD files
  • listing references

and more.

Comparison

Feature bazel.vim official vim-bazel
Zero dependency ✓ ✗(requires Bash completion + vim-maktaba)
Tab completion ✓ ✓
Integration with Vim terminal ✓ ✓(does not reuse terminal window)
Build results in QuickFix ✓ ✗
Go to BUILD file ✓ ✗
Go to label/target definition ✓ ✗
List references ✓ ✗

Default mappings

  • gb - Go to BUILD file corresponding to the current buffer.
  • gd - Go to label definition under cursor (for BUILD and .bzl files).
  • gr - List references for label under cursor (for BUILD and .bzl files).
  • <leader>p - Print label that corresponds to current buffer.
  • b<C-G> - Print current buffer path relative to workspace.

Commands

  • Bazel {args} - Run Bazel command and open QuickFix when done.

Example:

:Bazel build //main:hello-world
  • BazelDefinition {target} - Jump to target definition.

Example:

:BazelDefinition //main:hello-world
  • BazelReferences {target} - List target references.

Example:

:BazelReferences //lib:hello-time

About

Google Bazel integration for Vim

Topics

bazelvimvim9vim9-pluginvim9-scriptvim9script

Resources

Readme
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.