diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..861f2e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +tmp_config diff --git a/README.md b/README.md index 2254eed..bac95bd 100755 --- a/README.md +++ b/README.md @@ -35,12 +35,6 @@ To display a tip (and not a quote) in your vim-startify you can include the foll You'll probably also want to deactivate the basic tip display at startup. -## Add your own tips - -If you want, you can add your own tips by modifying the files in the tips folder. -You may find them on your own system (probably in your plugin manager's files), but to simplify that I suggest forking my repo and adding your own changes in a version controlled repo. - -Tips must not exceed 70 characters ## Important note diff --git a/convert_file_to_vim_list.py b/convert_file_to_vim_list.py new file mode 100644 index 0000000..e3915ba --- /dev/null +++ b/convert_file_to_vim_list.py @@ -0,0 +1,12 @@ +import sys + +if len(sys.argv) != 2: + print("This script requires an argument corresponding to the file path to listify") + +filepath = sys.argv[1] + +with open(filepath, 'r') as f: + print("[", end="") + for line in f.readlines(): + print("\"" + line.strip("\n") + "\",", end="") + print("]") diff --git a/plugin/tips/miscallenous.txt b/plugin/tips/miscallenous.txt index 8ab0498..548636c 100755 --- a/plugin/tips/miscallenous.txt +++ b/plugin/tips/miscallenous.txt @@ -7,4 +7,5 @@ gt : show next tab C-w : (in insert mode) erases word from start to position C-u : (in insert mode) erases line from start to position // : run your previous search -CTRL + w + x : exchange with next window +C-w-x : exchange with next window +set