You tried to source your Vim configuration file from bash. Do it from Vim:
$ vim
:source /path/to/.vimrc
If it’s located at ~/.vimrc
, Vim will source that file automatically.
More Related Contents:
- How to make .bashrc aliases available within a vim shell command? (:!…)
- How do I tell if a regular file does not exist in Bash?
- How can I check if a program exists from a Bash script?
- How can I compare numbers in Bash?
- echo “#!” fails — “event not found”
- Pipe output and capture exit status in Bash
- Redirect stderr and stdout in Bash [duplicate]
- Which characters need to be escaped when using Bash?
- bash : Illegal number
- Shell redirection i/o order
- Loop through all the files with a specific extension
- Colorized grep — viewing the entire file with highlighted matches
- How to pass in password to pg_dump?
- How can I profile a Bash shell script slow startup?
- Select random lines from a file
- Variables getting reset after the while read loop that reads from a pipeline
- How can you run a command in bash over and over until success?
- Passing arguments by reference
- How to limit number of threads/sub-processes used in a function in bash
- How do I remove all .pyc files from a project?
- Sorting strings with numbers in Bash [duplicate]
- Get current directory or folder name (without the full path)
- What does the double-asterisk (**) wildcard mean?
- Pipe output to two different commands [duplicate]
- Using cut command to remove multiple columns
- How to send control+c from a bash script?
- How to insert a new line character after a fixed number of characters in a file
- How to add path with space in Bash variable
- Bash If-statement to check If string is equal to one of several string literals [duplicate]
- How to change a command line argument in Bash?