Add wiki ft autocmd group; Thicken kitty term's font on macos

This commit is contained in:
mitchell 2020-02-28 09:36:44 -05:00
parent 502675d0a4
commit 003cfdd0bd
2 changed files with 10 additions and 3 deletions

View File

@ -678,7 +678,7 @@ macos_quit_when_last_window_closed yes
#: Disable this if you want kitty top-level (OS) windows to not be #: Disable this if you want kitty top-level (OS) windows to not be
#: resizable on macOS. #: resizable on macOS.
# macos_thicken_font 0 macos_thicken_font 0.5
#: Draw an extra border around the font with the given width, to #: Draw an extra border around the font with the given width, to
#: increase legibility at small font sizes. For example, a value of #: increase legibility at small font sizes. For example, a value of

7
.vimrc
View File

@ -127,6 +127,13 @@ augroup js_ft
autocmd BufNewFile,BufRead *.tsx set ft=typescript autocmd BufNewFile,BufRead *.tsx set ft=typescript
augroup END augroup END
augroup wiki_ft
au!
autocmd BufNewFile,BufRead *.wiki set tabstop=20 shiftwidth=20 textwidth=80 expandtab
autocmd BufNewFile,BufRead *.wiki Goyo 80
autocmd BufNewFile,BufRead *.wiki HardPencil
augroup END
if exists('$TMUX') if exists('$TMUX')
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\" let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\" let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"