forked from colonelpanic/dotfiles
use bind key for go keybindings
This commit is contained in:
parent
fae8c80144
commit
740c283f96
@ -2160,14 +2160,15 @@ window is active in the perspective."
|
|||||||
:mode (("\\.go\\'" . go-mode))
|
:mode (("\\.go\\'" . go-mode))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(use-package company-go)
|
(use-package company-go
|
||||||
|
:config (setq company-go-show-annotation t))
|
||||||
(use-package go-projectile)
|
(use-package go-projectile)
|
||||||
(use-package go-eldoc)
|
(use-package go-eldoc)
|
||||||
(use-package gotest)
|
(use-package gotest)
|
||||||
(setq go-test-verbose t)
|
(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 ()
|
(defun imalison:go-mode-hook ()
|
||||||
(local-set-key (kbd "M-.") 'godef-jump)
|
|
||||||
(local-set-key (kbd "M-,") 'pop-tag-mark)
|
|
||||||
(go-eldoc-setup)
|
(go-eldoc-setup)
|
||||||
(bind-key "C-c t" 'go-test-current-test go-mode-map)
|
(bind-key "C-c t" 'go-test-current-test go-mode-map)
|
||||||
(setq imenu-create-index-function
|
(setq imenu-create-index-function
|
||||||
|
@ -5217,65 +5217,20 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>MaxVertically</key>
|
<key>MaxVertically</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>NSColorPanelMode</key>
|
|
||||||
<string>1</string>
|
|
||||||
<key>NSColorPickerSlidersDefaults</key>
|
|
||||||
<string>1</string>
|
|
||||||
<key>NSNavLastRootDirectory</key>
|
|
||||||
<string>~/dotfiles/resources</string>
|
|
||||||
<key>NSQuotedKeystrokeBinding</key>
|
<key>NSQuotedKeystrokeBinding</key>
|
||||||
<string></string>
|
<string></string>
|
||||||
<key>NSRepeatCountBinding</key>
|
<key>NSRepeatCountBinding</key>
|
||||||
<string></string>
|
<string></string>
|
||||||
<key>NSScrollAnimationEnabled</key>
|
<key>NSScrollAnimationEnabled</key>
|
||||||
<false/>
|
<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>
|
<key>NSWindow Frame Preferences</key>
|
||||||
<string>401 365 924 485 0 0 1440 900 </string>
|
<string>269 110 924 485 0 0 1680 1050 </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>
|
|
||||||
<key>NSWindow Frame iTerm Window 0</key>
|
<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>
|
<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>
|
<key>New Bookmarks</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
@ -6743,6 +6698,10 @@
|
|||||||
<string>/Users/imalison</string>
|
<string>/Users/imalison</string>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
|
<key>NoSyncTimeOfLastPromo</key>
|
||||||
|
<real>454404362.64899898</real>
|
||||||
|
<key>NoSyncTimeOfLastPromoDownload</key>
|
||||||
|
<real>466756295.62470698</real>
|
||||||
<key>OnlyWhenMoreTabs</key>
|
<key>OnlyWhenMoreTabs</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>OpenArrangementAtStartup</key>
|
<key>OpenArrangementAtStartup</key>
|
||||||
@ -6803,11 +6762,13 @@
|
|||||||
<key>SUEnableAutomaticChecks</key>
|
<key>SUEnableAutomaticChecks</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SUFeedURL</key>
|
<key>SUFeedURL</key>
|
||||||
<string>http://iterm2.com/appcasts/testing.xml</string>
|
<string>https://iterm2.com/appcasts/testing.xml</string>
|
||||||
<key>SUHasLaunchedBefore</key>
|
<key>SUHasLaunchedBefore</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SULastCheckTime</key>
|
<key>SULastCheckTime</key>
|
||||||
<date>2014-11-13T22:19:58Z</date>
|
<date>2015-10-17T06:31:35Z</date>
|
||||||
|
<key>SUSendProfileInfo</key>
|
||||||
|
<false/>
|
||||||
<key>SavePasteHistory</key>
|
<key>SavePasteHistory</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>Show Toolbelt</key>
|
<key>Show Toolbelt</key>
|
||||||
@ -6836,8 +6797,6 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>TripleClickSelectsFullWrappedLines</key>
|
<key>TripleClickSelectsFullWrappedLines</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>UKCrashReporterLastCrashReportDate</key>
|
|
||||||
<real>1404793472</real>
|
|
||||||
<key>URLHandlersByGuid</key>
|
<key>URLHandlersByGuid</key>
|
||||||
<dict/>
|
<dict/>
|
||||||
<key>UseBorder</key>
|
<key>UseBorder</key>
|
||||||
@ -6849,7 +6808,7 @@
|
|||||||
<key>WebKitDefaultFontSize</key>
|
<key>WebKitDefaultFontSize</key>
|
||||||
<integer>11</integer>
|
<integer>11</integer>
|
||||||
<key>WebKitStandardFont</key>
|
<key>WebKitStandardFont</key>
|
||||||
<string>.Helvetica Neue DeskInterface</string>
|
<string>.AppleSystemUIFont</string>
|
||||||
<key>WindowNumber</key>
|
<key>WindowNumber</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>WindowStyle</key>
|
<key>WindowStyle</key>
|
||||||
@ -6861,6 +6820,6 @@
|
|||||||
<key>findRegex_iTerm</key>
|
<key>findRegex_iTerm</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>iTerm Version</key>
|
<key>iTerm Version</key>
|
||||||
<string>2.0.0.20141103</string>
|
<string>2.1.4</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
Loading…
Reference in New Issue
Block a user