commit a7facf4b1b26c2f543e33f4b5e9f6a7d494662df
parent 04872589ae8fd44783afa4dc11ba6ccdb7413749
Author: rbckman <rob@tarina.org>
Date: Mon, 10 Jan 2022 14:35:32 +0200
vim is now pretty for screenwriting
Diffstat:
5 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/.vim/.vimrc b/.vim/.vimrc
@@ -24,6 +24,7 @@ colorscheme desert
set background=dark
set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey40
+hi LineNr guifg=#505050 guibg=Black
nnoremap j gj
nnoremap k gk
vnoremap j gj
diff --git a/.vim/ftdetect/fountain.vim b/.vim/ftdetect/fountain.vim
@@ -0,0 +1 @@
+au BufRead,BufNewFile *.fountain set filetype=fountain
diff --git a/.vim/syntax/fountain.vim b/.vim/syntax/fountain.vim
@@ -61,5 +61,6 @@ hi def link fountainHeader5 htmlH5
hi def link fountainHeader6 htmlH6
hi def link fountainSynopses number
hi def link fountainSceneNumber number
-
let b:current_syntax = "fountain"
+highlight LineNr ctermfg=black
+set columns=80
diff --git a/README.md b/README.md
@@ -1 +1,15 @@
-woooo!
+Join filmdev talk here !ZMtQAirXPfXKRgqhUL:matrix.tarina.org
+
+We have a dedicated vim config file in .vim folder. Copy it to your homefolder ~/
+or
+install it by running ./installfountain.sh
+
+Syntaxes used for screenwriting https://fountain.io
+Vim cheat sheet https://vimsheet.com
+
+VIM QUICK START
+1. open screenplay in vim ```vim screenplay.fountain```
+2. press "i" to enable insert mode
+3. write changes
+4. press "ESC"
+5. write command ":wq" which mean write and quit
diff --git a/installfountain.sh b/installfountain.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# install robs vim config for screenwriting with https://fountain.io
+
+cp .vim/.vimrc ~/.vimrc
+cp -r .vim ~/.vim