go/misc
Gustavo Niemeyer 4e5e0b1d20 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
2011-01-25 11:36:13 +10:00
..
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
bash misc/bash: add *.go completion for gofmt 2010-08-30 21:13:11 -04:00
bbedit misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
cgo cgo: handle references to symbols in shared libraries 2010-12-17 11:37:11 -08:00
dashboard gobuilder: prefix the tarball with 'go.', tweak release regexp 2011-01-04 13:16:38 +11:00
emacs go-mode.el: Fix highlighting for 'chan' type 2010-09-13 00:12:18 -04:00
fraise misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
goplay goplay: fix to run under windows. 2010-10-19 11:29:31 +11:00
kate misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
nacl runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
vim misc: Import/Drop commands for Vim 2011-01-25 11:36:13 +10:00
xcode More Xcode support. 2009-12-30 15:30:57 -08:00
zsh misc: add zsh completion (using compctl) 2010-08-30 21:13:01 -04:00