0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

備忘録: vimでTypeScript(tsx)ファイルのカラースキーマ設定

0
Posted at

通常使用している設定

.exrc
set number
set tabstop=4
set hlsearch
nmap <Esc><Esc> :nohlsearch<CR><Esc>
"colorscheme pyte
"colorscheme color2
"vimのハイライト情報を表示する
"  http://cohama.hateblo.jp/entry/2013/08/11/020849
:runtime syntaxinfo.vim
"http://blog.nest-online.jp/16976
"https://github.com/itchyny/lightline.vim
":runtime lightline.vim

"http://qiita.com/tashua314/items/101f1bec368c75a90251
" ファイル名表示
set statusline=%F
" 変更チェック表示
set statusline+=%m
" 読み込み専用かどうか表示
set statusline+=%r
" ヘルプページなら[HELP]と表示
set statusline+=%h
" プレビューウインドウなら[Prevew]と表示
set statusline+=%w
" これ以降は右寄せ表示
set statusline+=%=
" file encoding
set statusline+=[ENC=%{&fileencoding}]
" 現在行数/全行数
set statusline+=[LOW=%l/%L]
" ステータスラインを常に表示(0:表示しない、1:2つ以上ウィンドウがある時だけ表示)
set laststatus=2

"独自のカラーパレットを設定
"colorscheme personal_env

TypeScript(tsx)ファイルのカラースキーマ設定を行う

以下のカラースキーマを使用させていただいた。

$ git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/pack/typescript/start/typescript-vim

使用してみて気になったら調整するかも。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?