簡體   English   中英

用vim和haskelmode插件開發Haskell代碼

[英]develop Haskell code with vim and haskelmode plugin

我有一個愚蠢的問題,我敢肯定,我將vim與haskell-mode插件一起使用來在haskell上進行開發,但是我不確定如何啟用haskellmode -vim上定義的鍵組合,例如:

| _ct | 創建|標簽| 文件

| _si | 在光標下顯示ID的信息

| _t | 在光標下顯示id的類型

| _T | 在光標| ball |下插入id的類型聲明 在鼠標指針下顯示id的類型

| _?| 在光標下瀏覽Haddock條目以獲取ID

| _?1 | 在光標下搜索Hoogle以獲取ID

| _?2 | 搜索Hayoo! 光標下的ID

如何在以'_'開頭的vim上鍵入命令(我知道那里代表光標,然后我想我只需要為該字段鍵入'si'但什么都沒發生),在哪種模式下必須鍵入它,我想是普通模式。 我在Mac上工作,但在Linux上遇到了同樣的問題。

謝謝索林。

文檔中

Finally, the mappings actually use <LocalLeader> behind the scenes, so if
you have to, you can redefine maplocalleader to something other than '_'.
Just remember that the docs still refer to mappings starting with '_', to
avoid confusing the majority of users!-)

因此,您必須快速依次按_CT來為您的項目創建tags文件。

除非您已將<LocalLeader>設置為_以外的其他值。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM