aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2011-01-25 11:36:13 +1000
committerAndrew Gerrand <adg@golang.org>2011-01-25 11:36:13 +1000
commit4e5e0b1d20f8636be3e576302a4e3a6f59caab3e (patch)
treee1e8f03d546bddb707bb0f2f6f2e6d2e561154a2 /src/make.bash
parent1161d190243ea2849299d3384a2b19e32530789a (diff)
downloadgo-4e5e0b1d20f8636be3e576302a4e3a6f59caab3e.tar.xz
misc: Import/Drop commands for Vim
New ftplugin adds Import and Drop commands for Go buffers in Vim. These commands ensure that the provided package is imported (or not imported) in the current Go buffer, using proper style and ordering, without moving the cursor. E.g. :Import strings :ImportAs . strings :Drop strings Two mappings are also introduced to help with the fmt package: \f => :Import fmt \F => :Drop fmt R=adg CC=golang-dev https://golang.org/cl/4009043
Diffstat (limited to 'src/make.bash')
0 files changed, 0 insertions, 0 deletions