This repository was archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cheat.sh-vim plugin. Set coc ErrorSign color to #FF5500
- Loading branch information
1 parent
250e7e6
commit 1c06b72
Showing
7 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
" The easiest way to use this plugin is to use one of the following mappings : | ||
|
||
" K get answer on the word under the cursor or the selection on a pager (this feature requires vim >= 7.4.1833, you can check if have the right version with : :echo has("patch-7.4.1833")) | ||
" <leader>KK same as K but works on lines or visual selection (not working on neovim, because they killed interactive commands with :!) | ||
" <leader>KB get the answer on a special buffer | ||
" <leader>KR Replace your question by the answer | ||
" <leader>KP Past the answer below your question | ||
" <leader>KC Replay last query, toggling comments | ||
" <leader>KE Send first error to cht.sh | ||
" <leader>C Toggle showing comments by default see configuration | ||
" <leader>KL Replay last query | ||
" The plugins also provides four main commands : | ||
|
||
" :Cheat | ||
" :CheatReplace | ||
" :CheatPast | ||
" :CheatPager | ||
|
||
let g:CheatSheetFrameworks = { | ||
\ 'python' : ['python', 'django', ], | ||
\ 'javascript' : ['javascript', 'node', 'react', 'vue', 'jquery'], | ||
\} | ||
|
||
let g:CheatSheetFrameworkDetectionMethods = { | ||
\ 'charp' : { 'type' : 'search', 'value': '*.cs' }, | ||
\} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters