-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlanguage_support_vim.html
More file actions
74 lines (74 loc) · 2.99 KB
/
Copy pathlanguage_support_vim.html
File metadata and controls
74 lines (74 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SmallBASIC | language_support_vim</title>
<meta name="description" content="SmallBASIC | One more basic">
<link rel="canonical" href="/language_support_vim.html">
<link rel="keywords" href="language_support_vim">
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" type="image/png" href="/images/sb-desktop-32x32.png">
<script src="/clipboard.js"></script>
</head>
<body>
<button onclick="topFunction()" id="BackToTopBtn" title="Go to top">⯅</button>
<script src="/backtotop.js"></script>
<div class="wrapAll clearfix">
<nav class="navigation">
<div class="logo">
<a href="/"><img src='/images/sb-logo.png?v=2' alt="logo"></a>
</div>
<div class="navlinks">
<a href="/pages/download.html">Download</a>
<a href="/pages/news.html">News</a>
<a href="/pages/community.html">Community</a>
<a class='active' href="/pages/articles.html">Resources</a>
<a href="/pages/reference.html">Language Reference</a>
<a href="/pages/guide.html">SmallBASIC Manual</a>
</div>
</nav>
<div class="mainsection">
<div class="tabs clearfix">
<div class="tabsRight">
<a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/pages/language_support_vim.markdown">Edit</a>
<a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/commits/master/_build/pages/language_support_vim.markdown">History</a>
</div>
</div>
<div class="article">
<h1 id="smallbasic-in-vim">SmallBASIC in vim</h1>
<blockquote>
<p>Using vim</p>
</blockquote>
<p><em>“Vim (short for vi improved) is a free and open-source text
editor. Vim provides both a terminal screen user interface as well as a
graphical user interface” (<a
href="https://en.wikipedia.org/wiki/Vim_(text_editor)">Wikipedia</a>)</em></p>
<figure>
<img
src="https://github.com/smallbasic/smallbasic.syntax-highlighting/raw/main/vim/screenshot.png"
alt="Example" />
<figcaption aria-hidden="true">Example</figcaption>
</figure>
<h2 id="installation">Installation</h2>
<ul>
<li>Download the file <code>smallbasic.vim</code> from <a
href="https://github.com/smallbasic/smallbasic.syntax-highlighting/tree/main/vim">Github</a></li>
<li>Create the folder <code>~/.vim/syntax</code></li>
<li>Copy the file <code>smallbasic.vim</code> into that folder</li>
<li>Edit or create the file <code>~/.vim/filetype.vim</code></li>
<li>Add
<code>au BufNewFile,BufRead *.bas set filetype=smallbasic</code></li>
</ul>
</div>
<div class="pagefooter">
This page was last edited on |
<a href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="nofollow">Markdown</a>
processed with
<a href="https://pandoc.org/MANUAL.html#pandocs-markdown" target="_blank" rel="nofollow">pandoc 3.5</a>
</div>
</div>
</div>
</body>
</html>