A textarea (with vim)
![image](https://private-user-images.githubusercontent.com/35216312/309404404-4fdcbb50-6d84-48f4-88d8-07e5f3547a92.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI1NjMzNzIsIm5iZiI6MTcyMjU2MzA3MiwicGF0aCI6Ii8zNTIxNjMxMi8zMDk0MDQ0MDQtNGZkY2JiNTAtNmQ4NC00OGY0LTg4ZDgtMDdlNWYzNTQ3YTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAyVDAxNDQzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ4ZjIxNWU2ZjgxNWMzZjFhZDViZWJkNWM1NTAzOWY4MmViNWU4N2Q1ZWE4ZDYyODgxMDNkODk2ZDM5ZTg2OTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kkGJOU6l6LHgr-hfshjT3TVaCz9MXSdUCGgcO5sEvtM)
I used to use typehere.co a lot until the site was taken down, so I created typehere.app. For a long while, it was also just a textarea that saved its contents to localStorage
, but recently I've decided to add more features that I would find useful myself.
- Most things are in the ctrl/cmd-K menu. I will call it cmd-K for this guide.
- Cmd-K uses fuzzy search. There are two types of things that cmd-K has: notes and commands.
- Notes are the notes you've created, commands are things like theme toggle, vim toggle, show/hide scrollbar, import/export, etc.
- Navigate in the Cmd-K menu by up/down arrows.
- Create a new note by typing the note title and run the create note command.
- Or you could do cmd+shift+enter.
- Enter a note or run a command by pressing "Enter" or clicking on it.
- Workspaces is the way to separate notes into different "groups" under cmd-K.
- You can create a workspace by doing cmd-K, type in a workspace name, and "Create workspace". This creates a workspace with an empty note.
- You can switch between workspaces in cmd-K by doing left/right arrow keys.
- You can also switch between workspace by just typing in the workspace name you want to go to and run the command.
- You can select a note you want (arrow up/down), and cmd + left/right arrow to move it between workspace.
- If there are no notes in a workspace, the workspace is automatically deleted. Under the hood, each note has a workspace string, and all workspace is just a set of all the notes workspaces.
- For vim/keyboard-only users (like me)
- Toggle vim by doing cmd-K, toggle vim.
- Arrow up/down keys work the same as cmd+J/K inside the cmd-K menu.
- Cmd+B to open a note. This means to switch between the top two notes, hold cmd, and press K-J-B.
- Cmd+U/I to switch between workspaces.
- Cmd+E to toggle narrow screen view.
- Cmd+G to pin a note to all workspaces. this means the note will be displayed no matter which workspace you're in.
- Cmd+H to hide a note. In order to access hidden notes, you need to type the first 5 characters of the title right in the cmd-K menu.
- Offline mode
- Everything client-side, all in
localStorage
- Periodically backed up to
indexedDB
(also in your browser) - Import/export notes