Change plugin name and all the variables

This commit is contained in:
Bruno Sutic
2014-08-29 18:59:14 +02:00
parent e2e55c6faa
commit bd095e739d
10 changed files with 61 additions and 59 deletions

View File

@ -4,7 +4,7 @@
#
# Restores a vim session from 'Session.vim' file, if it exists.
# If 'Session.vim' does not exist, it falls back to invoking the original
# command (withouth the `-S` flag).
# command (without the `-S` flag).
ORIGINAL_COMMAND="$1"
DIRECTORY="$2"
@ -21,7 +21,7 @@ main() {
if vim_session_file_exists; then
echo "vim -S"
elif original_command_contains_session_flag; then
# Session file does not exist, yet the orignal vim command contains
# Session file does not exist, yet the original vim command contains
# session flag `-S`. This will cause an error, so we're falling back to
# starting plain vim.
echo "vim"