Skip to content

Commit

Permalink
Using vim
Browse files Browse the repository at this point in the history
  • Loading branch information
younata committed Sep 21, 2023
1 parent 42083fa commit b037ecb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .spelling
Expand Up @@ -549,6 +549,8 @@ todo
midori
toEventually
voodoo_programming
ICs
submenu
- src/astronomy/astrophotography/index.md
Cafuego's
astrodslr
Expand Down
7 changes: 4 additions & 3 deletions src/macos/setting_up.md
Expand Up @@ -13,8 +13,9 @@ Open System Preferences.
- Key Repeat: Fastest
- Delay Until Repeat: Shortest

Check "Use F1, F2, etc. keys as standard function keys"
Click "Modifier Keys", remap Caps Lock to escape on all keyboards.
In macOS Ventura and later, these options are under "Keyboard shortcuts".
- Check "Use F1, F2, etc. keys as standard function keys" (Function Keys submenu)
- Click "Modifier Keys", remap Caps Lock to escape on all keyboards. (Modifier Keys submenu)

### Trackpad Settings

Expand Down Expand Up @@ -42,7 +43,7 @@ Open Safari, go to [`brew.sh`](https://brew.sh), and follow it's instructions to
Once that's done, run the following commands:

```sh
brew cask install iterm2 rectangle alfred macdown
brew install --cask iterm2 rectangle alfred macdown
brew install rbenv node tig the_silver_searcher jq wget tree

# Set up rbenv
Expand Down
9 changes: 9 additions & 0 deletions src/unix_tooling/vim.md
@@ -0,0 +1,9 @@
# Vim

## Setting Syntax Language

Vim does a decent enough job of guess the language based on the file extension, but when it gets it wrong you can set it manually:

```txt
:set syntax=html
```

0 comments on commit b037ecb

Please sign in to comment.