local cmp_enabled = true
vim.api.nvim_create_user_command("ToggleAutoComplete", function()
if cmp_enabled then
require("cmp").setup.buffer({ enabled = false })
cmp_enabled = false
else
require("cmp").setup.buffer({ enabled = true })
This file contains hidden or 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
| <# | |
| Prerequisites: PowerShell version 2 or above. | |
| License: MIT | |
| Author: Michael Klement <[email protected]> | |
| DOWNLOAD, from PowerShell version 3 or above: | |
| irm https://gist.github.com/mklement0/243ea8297e7db0e1c03a67ce4b1e765d/raw/Out-HostColored.ps1 | iex |
This file contains hidden or 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
| <# | |
| Prerequisites: PowerShell version 3 or above. | |
| License: MIT | |
| Author: Michael Klement <[email protected]> | |
| DOWNLOAD and DEFINITION OF THE FUNCTION: | |
| irm https://gist.github.com/mklement0/8689b9b5123a9ba11df7214f82a673be/raw/Out-FileUtf8NoBom.ps1 | iex | |
| The above directly defines the function below in your session and offers guidance for making it available in future |
This file contains hidden or 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
| a="[email protected], [email protected]" | |
| mutt -s "subject" -a file.pdf -- $a |
With this simple script you'll be able to add colorful:
- Comments (Orange): Things that you want to say about the text but are not the text),
- TODOs (Red): Things you want to note to do in the future keep track), and...
- Skeleton (Green): Those things that you (or maybe it's just me) write to organize what you are writing.
While editing use:
