-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new section on vim and some other related changes
- Loading branch information
Showing
4 changed files
with
75 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Cannot install vim plugin | ||
|
||
When running the following command in `vim`: | ||
|
||
```bash | ||
:PlugInstall | ||
``` | ||
|
||
And you observe an error resembling this: | ||
|
||
``` | ||
Cloning into '...' | ||
fatal: could not read Username for 'https://github.com': terminal prompts disabled | ||
``` | ||
|
||
1. Check that you Git is working. | ||
1. Check that you spelled the plugin name correctly. | ||
|
||
I experiences this issue with the Nord theme, where the documentation states: | ||
|
||
```bash | ||
Plug 'arcticstudio/nord-vim' | ||
``` | ||
|
||
But the GtiHub repository is called `nordtheme/vim`. | ||
|
||
So my `.vimrc` ended up looking like this: | ||
|
||
```bash | ||
call plug#begin() | ||
|
||
" List your plugins here | ||
" Nord colour theme | ||
" Plug 'arcticstudio/nord-vim' | ||
Plug 'nordtheme/vim' | ||
call plug#end() | ||
colorscheme nord | ||
``` | ||
## Resources and References | ||
- [StackExchange: Cannot install vim plugin due to git problem](https://vi.stackexchange.com/questions/38067/cannot-install-vim-plugin-due-to-git-problem) | ||
- [Nord theme website: vim installation and activation](https://www.nordtheme.com/docs/ports/vim/installation) | ||
- [GitHub: nordtheme/vim](https://github.com/nordtheme/vim) |
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,11 @@ | ||
# Use vim-plug | ||
|
||
`vim-plug` is a minimalist Vim plugin manager. | ||
|
||
I have just started using it, and it is very easy to use. | ||
|
||
I ran into a [single problem](../vim/cannot_install_vim_plugin.md) when installing the Nord theme, but that was due to a challenge with the plugin. | ||
|
||
## Resources and References | ||
|
||
- [GitHub: junegunn/vim-plug](https://github.com/junegunn/vim-plug) |