Skip to content

Commit

Permalink
Enable firenvim command line by default
Browse files Browse the repository at this point in the history
  • Loading branch information
glacambre committed Jan 8, 2021
1 parent eb4555f commit d3a2a3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,11 @@ let fc['.*'] = { 'takeover': 'always' }
### Using the external command line
You can chose to use an external command line (and thus save a line of space) by setting the localSetting named `cmdline` to `firenvim`. Its default value is `neovim`:
You can chose between neovim's built-in command line and firenvim's command line by setting the localSetting named `cmdline` to either `neovim` or `firenvim`, e.g.:
```vim
let fc['.*'] = { 'cmdline' : 'firenvim' }
```
When you then enter command mode, the command will appear in a sort of "pop-up" instead of the bottom of the frame.
### Editing HTML directly
The `content` localSetting controls how Firenvim should read the content of an element. Setting it to `html` will make Firenvim fetch the content of elements as HTML, `text` will make it use plaintext. The default value is `text`:
Expand Down
4 changes: 2 additions & 2 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function applySettings(settings: any) {
makeDefaultLocalSetting(settings, ".*", {
// "cmdline": "neovim" | "firenvim"
// #168: Use an external commandline to preserve space
cmdline: "neovim",
cmdline: "firenvim",
content: "text",
priority: 0,
renderer: "canvas",
Expand All @@ -188,7 +188,7 @@ function applySettings(settings: any) {
takeover: "always",
});
makeDefaultLocalSetting(settings, "about:blank\\?compose", {
cmdline: "neovim",
cmdline: "firenvim",
content: "text",
priority: 1,
renderer: "canvas",
Expand Down

0 comments on commit d3a2a3b

Please sign in to comment.