Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:vimbashfactory [2010/08/23 23:55] – Nico | public:vimbashfactory [2022/08/04 15:31] (current) – fix indent Nico | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How to quickly create fully fonctionnal | + | ====== How to quickly create fully functional |
| * Download the [[http:// | * Download the [[http:// | ||
| * Install it (:source path_to_vim_script) | * Install it (:source path_to_vim_script) | ||
| * Create the following script in .vim/ | * Create the following script in .vim/ | ||
| - | < | + | |
| + | < | ||
| #!/bin/sh | #!/bin/sh | ||
| Line 58: | Line 59: | ||
| exit 0 | exit 0 | ||
| </ | </ | ||
| + | |||
| * Add the following line in .vimrc: | * Add the following line in .vimrc: | ||
| - | < | + | |
| + | < | ||
| au BufWritePost * if getline(1) =~ " | au BufWritePost * if getline(1) =~ " | ||
| </ | </ | ||