mirror of
https://github.com/preservim/vim-thematic.git
synced 2025-11-13 12:23:49 -05:00
fixed wording and formatting
This commit is contained in:
@@ -18,24 +18,24 @@ with a single theme that suits their needs, configuring it in their
|
|||||||
Or you might instead be among the users who instead configure the visual
|
Or you might instead be among the users who instead configure the visual
|
||||||
details of Vim to match the lighting conditions or task at hand, or even
|
details of Vim to match the lighting conditions or task at hand, or even
|
||||||
to suit their mood. For example, you might choose a theme that is less
|
to suit their mood. For example, you might choose a theme that is less
|
||||||
fatiguing to your eyes given the ambient lighting conditions, where you'll
|
fatiguing to your eyes given the ambient lighting conditions, where
|
||||||
have a muted theme for a dark room and a high-contrast theme for use in
|
you'll have a muted theme for a dark room and a high-contrast theme for
|
||||||
a bright one.
|
use in a bright one.
|
||||||
|
|
||||||
Writing code, you want a status bar, ruler, a hint of transparency and
|
Writing code, you want a status bar, ruler, a hint of transparency and
|
||||||
a programming font. But if you're writing an essay or screenplay, you want
|
a programming font. But if you're writing an essay or screenplay, you
|
||||||
the screen stripped of all extraneous detail, with a traditional font and
|
want the screen stripped of all extraneous detail, with a traditional
|
||||||
generous left and right margins.
|
font and generous left and right margins.
|
||||||
|
|
||||||
Managing such an multi-theme environment in Vim has traditionally been
|
Managing such an multi-theme environment in Vim has traditionally been
|
||||||
a hassle. The thematic plugin is intended to solve that problem,
|
a hassle. The thematic plugin is intended to solve that problem,
|
||||||
providing you flexibility and convenience.
|
providing you flexibility and convenience.
|
||||||
|
|
||||||
GUI-based Vim users can complement a colorscheme with a particular
|
GUI-based Vim users can complement a colorscheme with a particular
|
||||||
typeface. For example, the lightweight anti-aliased typeface like Adobe's
|
typeface. For example, the lightweight anti-aliased typeface like
|
||||||
_Source Code Pro ExtraLight_ may look great against a black background but
|
Adobe's _Source Code Pro ExtraLight_ may look great against a black
|
||||||
be unreadable against a white one, so you’ll only pair it with an
|
background but be unreadable against a white one, so you’ll only pair it
|
||||||
appropriate colorscheme.
|
with an appropriate colorscheme.
|
||||||
|
|
||||||
Or for a particular typeface you may want a larger
|
Or for a particular typeface you may want a larger
|
||||||
[leading](http://en.wikipedia.org/wiki/Leading) to reduce crowding of
|
[leading](http://en.wikipedia.org/wiki/Leading) to reduce crowding of
|
||||||
@@ -152,7 +152,7 @@ as your themes will be reordered alphabetically by name.
|
|||||||
:ThematicPrevious " switch to the previous theme, ordered by name
|
:ThematicPrevious " switch to the previous theme, ordered by name
|
||||||
:ThematicRandom " switch to a random theme
|
:ThematicRandom " switch to a random theme
|
||||||
:ThematicOriginal " revert to the original theme
|
:ThematicOriginal " revert to the original theme
|
||||||
:Thematic {theme_name} " load a theme by name
|
:Thematic {theme_name} " load a theme by name (with tab completion)
|
||||||
```
|
```
|
||||||
|
|
||||||
thematic does not map any keys by default, but you can easily do so in
|
thematic does not map any keys by default, but you can easily do so in
|
||||||
@@ -170,7 +170,8 @@ For console or GUI-based Vim:
|
|||||||
* `laststatus` (0, 1, or 2) - controls the visibility of the status bar
|
* `laststatus` (0, 1, or 2) - controls the visibility of the status bar
|
||||||
* `ruler` - as alternative to status bar, shows minimal position details
|
* `ruler` - as alternative to status bar, shows minimal position details
|
||||||
in lower right
|
in lower right
|
||||||
* `colorscheme` - set the colors for all windows
|
* `colorscheme` - set the colors for all windows (optional if your theme
|
||||||
|
name is the same as the colorscheme name)
|
||||||
* `background` (dark or light) - some colorschemes can be further
|
* `background` (dark or light) - some colorschemes can be further
|
||||||
configured via background
|
configured via background
|
||||||
* `sign-column` - optional two-character gutter on left-side of window
|
* `sign-column` - optional two-character gutter on left-side of window
|
||||||
@@ -195,10 +196,10 @@ Screen-related:
|
|||||||
* `fullscreen` - if 1, force a switch to fullscreen
|
* `fullscreen` - if 1, force a switch to fullscreen
|
||||||
* `fullscreen-background-color-fix` - optional change of color of the
|
* `fullscreen-background-color-fix` - optional change of color of the
|
||||||
background (or border) to match text background
|
background (or border) to match text background
|
||||||
* `columns` and `lines` - you’ll mostly use these to manage the height and
|
* `columns` and `lines` - you’ll mostly use these to manage the height
|
||||||
width the text area in `fullscreen` mode
|
and width the text area in `fullscreen` mode
|
||||||
* `transparency` (0=none, 100=fully transparent) - view details of window
|
* `transparency` (0=opaque, 100=fully transparent) - view details of
|
||||||
and desktop beneath Vim
|
window and desktop beneath Vim
|
||||||
|
|
||||||
## GUI fullscreen capabilities
|
## GUI fullscreen capabilities
|
||||||
|
|
||||||
@@ -207,8 +208,8 @@ typeface, font-size, lines, columns, linespace, transparency and even the
|
|||||||
fullscreen background.
|
fullscreen background.
|
||||||
|
|
||||||
Note that once invoked, thematic will override your fullscreen settings,
|
Note that once invoked, thematic will override your fullscreen settings,
|
||||||
specifically `fuoptions` to get better control over screen lines and columns
|
specifically `fuoptions` to get better control over screen lines and
|
||||||
and the fullscreen background.
|
columns and the fullscreen background.
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
@@ -242,8 +243,8 @@ set guioptions-=L "kill left scrollbar multiple buffers
|
|||||||
set guioptions-=T "kill toolbar
|
set guioptions-=T "kill toolbar
|
||||||
```
|
```
|
||||||
|
|
||||||
(3) Finally, create a theme configured to your tastes. Here's an example for
|
(3) Finally, create a theme configured to your tastes. Here's an example
|
||||||
MacVim:
|
for MacVim:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
let g:thematic#themes = {
|
let g:thematic#themes = {
|
||||||
@@ -260,10 +261,10 @@ let g:thematic#themes = {
|
|||||||
\ }
|
\ }
|
||||||
```
|
```
|
||||||
|
|
||||||
Without GUI-based Vim, console-based emulation is trickier, as there's no
|
Without GUI-based Vim, console-based emulation is trickier, as there's
|
||||||
easy way to create generous left and right margins. You can approximate it
|
no easy way to create generous left and right margins. You can
|
||||||
by switching from soft-wrap to hard line breaks with `vim-writer` and using
|
approximate it by switching from soft-wrap to hard line breaks with
|
||||||
with a narrow `textwidth`:
|
`vim-writer` and using with a narrow `textwidth`:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
autocmd FileType markdown set foldcolumn=12 textwidth=74
|
autocmd FileType markdown set foldcolumn=12 textwidth=74
|
||||||
@@ -287,8 +288,8 @@ $ defaults write org.vim.MacVim MMNativeFullScreen 1
|
|||||||
|
|
||||||
## Monospaced fonts
|
## Monospaced fonts
|
||||||
|
|
||||||
Whether using console or GUI-based Vim, a good monospaced font can improve your
|
Whether using console or GUI-based Vim, a good monospaced font can
|
||||||
editing experience. Many are available for free:
|
improve your editing experience. Many are available for free:
|
||||||
|
|
||||||
* [Anonymous Pro](https://www.google.com/fonts/specimen/Anonymous+Pro)
|
* [Anonymous Pro](https://www.google.com/fonts/specimen/Anonymous+Pro)
|
||||||
* [CosmicSansNeueMono](https://github.com/belluzj/cosmic-sans-neue)
|
* [CosmicSansNeueMono](https://github.com/belluzj/cosmic-sans-neue)
|
||||||
|
|||||||
Reference in New Issue
Block a user