use bind key for go keybindings

This commit is contained in:
Ivan Malison 2015-10-25 15:42:40 -07:00
parent fae8c80144
commit 740c283f96
2 changed files with 19 additions and 59 deletions

View File

@ -2160,14 +2160,15 @@ window is active in the perspective."
:mode (("\\.go\\'" . go-mode))
:config
(progn
(use-package company-go)
(use-package company-go
:config (setq company-go-show-annotation t))
(use-package go-projectile)
(use-package go-eldoc)
(use-package gotest)
(setq go-test-verbose t)
(bind-key "M-." 'godef-jump go-mode-map)
(bind-key "M-," 'pop-tag-mark go-mode-map)
(defun imalison:go-mode-hook ()
(local-set-key (kbd "M-.") 'godef-jump)
(local-set-key (kbd "M-,") 'pop-tag-mark)
(go-eldoc-setup)
(bind-key "C-c t" 'go-test-current-test go-mode-map)
(setq imenu-create-index-function

View File

@ -5217,65 +5217,20 @@
<true/>
<key>MaxVertically</key>
<false/>
<key>NSColorPanelMode</key>
<string>1</string>
<key>NSColorPickerSlidersDefaults</key>
<string>1</string>
<key>NSNavLastRootDirectory</key>
<string>~/dotfiles/resources</string>
<key>NSQuotedKeystrokeBinding</key>
<string></string>
<key>NSRepeatCountBinding</key>
<string></string>
<key>NSScrollAnimationEnabled</key>
<false/>
<key>NSTableView Columns KeyBingingTable</key>
<array>
<data>
BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU1N0cmluZwGEhAhOU09iamVjdACF
hAErATCG
</data>
<string>198</string>
<data>
BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU1N0cmluZwGEhAhOU09iamVjdACF
hAErATGG
</data>
<string>302</string>
</array>
<key>NSTableView Hidden Columns KeyBingingTable</key>
<array/>
<key>NSTableView Sort Ordering KeyBingingTable</key>
<array/>
<key>NSToolbar Configuration Terminal Toolbar</key>
<dict>
<key>TB Display Mode</key>
<integer>1</integer>
<key>TB Icon Size Mode</key>
<integer>1</integer>
<key>TB Is Shown</key>
<integer>0</integer>
<key>TB Size Mode</key>
<integer>1</integer>
</dict>
<key>NSToolbar Configuration com.apple.NSColorPanel</key>
<dict>
<key>TB Is Shown</key>
<integer>1</integer>
</dict>
<key>NSWindow Frame NSColorPanel</key>
<string>1180 103 231 329 0 0 1440 877 </string>
<key>NSWindow Frame NSFontPanel</key>
<string>665 68 712 432 0 0 1440 877 </string>
<key>NSWindow Frame Preferences</key>
<string>401 365 924 485 0 0 1440 900 </string>
<key>NSWindow Frame SUStatusFrame</key>
<string>528 562 384 129 0 0 1440 878 </string>
<key>NSWindow Frame UKCrashReporter</key>
<string>99 294 592 584 0 0 1440 878 </string>
<string>269 110 924 485 0 0 1680 1050 </string>
<key>NSWindow Frame iTerm Window 0</key>
<string>291 8 904 572 0 0 1440 877 </string>
<string>58 501 490 376 0 0 1680 1027 </string>
<key>NSWindow Frame iTerm Window 1</key>
<string>184 132 880 404 0 0 1440 877 </string>
<string>246 143 490 376 0 0 1680 1027 </string>
<key>NSWindow Frame iTerm Window 2</key>
<string>271 595 490 376 0 0 1680 1050 </string>
<key>New Bookmarks</key>
<array>
<dict>
@ -6743,6 +6698,10 @@
<string>/Users/imalison</string>
</dict>
</array>
<key>NoSyncTimeOfLastPromo</key>
<real>454404362.64899898</real>
<key>NoSyncTimeOfLastPromoDownload</key>
<real>466756295.62470698</real>
<key>OnlyWhenMoreTabs</key>
<true/>
<key>OpenArrangementAtStartup</key>
@ -6803,11 +6762,13 @@
<key>SUEnableAutomaticChecks</key>
<true/>
<key>SUFeedURL</key>
<string>http://iterm2.com/appcasts/testing.xml</string>
<string>https://iterm2.com/appcasts/testing.xml</string>
<key>SUHasLaunchedBefore</key>
<true/>
<key>SULastCheckTime</key>
<date>2014-11-13T22:19:58Z</date>
<date>2015-10-17T06:31:35Z</date>
<key>SUSendProfileInfo</key>
<false/>
<key>SavePasteHistory</key>
<false/>
<key>Show Toolbelt</key>
@ -6836,8 +6797,6 @@
</array>
<key>TripleClickSelectsFullWrappedLines</key>
<false/>
<key>UKCrashReporterLastCrashReportDate</key>
<real>1404793472</real>
<key>URLHandlersByGuid</key>
<dict/>
<key>UseBorder</key>
@ -6849,7 +6808,7 @@
<key>WebKitDefaultFontSize</key>
<integer>11</integer>
<key>WebKitStandardFont</key>
<string>.Helvetica Neue DeskInterface</string>
<string>.AppleSystemUIFont</string>
<key>WindowNumber</key>
<true/>
<key>WindowStyle</key>
@ -6861,6 +6820,6 @@
<key>findRegex_iTerm</key>
<false/>
<key>iTerm Version</key>
<string>2.0.0.20141103</string>
<string>2.1.4</string>
</dict>
</plist>