mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 13:34:39 +01:00
Compare commits
2 commits
64b6b15490
...
8617f69d4c
| Author | SHA1 | Date | |
|---|---|---|---|
| 8617f69d4c | |||
| 86d71e17f0 |
1 changed files with 21 additions and 7 deletions
28
vimrc
28
vimrc
|
|
@ -17,7 +17,7 @@ let g:netrw_dirhistmax = 0
|
||||||
set clipboard^=unnamed
|
set clipboard^=unnamed
|
||||||
|
|
||||||
" Terminal title
|
" Terminal title
|
||||||
if has('macunix')
|
if has('macunix') && $TERM_PROGRAM == 'Apple_Terminal'
|
||||||
set title
|
set title
|
||||||
set t_ts=]6;
|
set t_ts=]6;
|
||||||
set t_fs=
|
set t_fs=
|
||||||
|
|
@ -27,6 +27,7 @@ if has('macunix')
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
set title
|
set title
|
||||||
|
autocmd BufEnter,BufRead * let &titlestring = expand("%:p")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Airline
|
" Airline
|
||||||
|
|
@ -47,18 +48,30 @@ if !has('gui_running')
|
||||||
if has("mouse_sgr")
|
if has("mouse_sgr")
|
||||||
set ttymouse=sgr
|
set ttymouse=sgr
|
||||||
end
|
end
|
||||||
set background=light
|
"set background=light
|
||||||
|
|
||||||
if $SSH_CLIENT
|
if $SSH_CLIENT
|
||||||
colorscheme smpl
|
colorscheme smpl
|
||||||
else
|
else
|
||||||
colorscheme nofrils-dark
|
if &background == 'light'
|
||||||
|
colorscheme nofrils-light
|
||||||
|
else
|
||||||
|
"colorscheme nofrils-dark
|
||||||
|
colorscheme nofrils-light
|
||||||
|
endif
|
||||||
|
|
||||||
"use terminal background
|
"use terminal background
|
||||||
hi Normal ctermbg=none guibg=none
|
if has('nvim')
|
||||||
hi todo ctermbg=none guibg=none
|
hi Normal ctermbg=none guibg=none
|
||||||
hi statement ctermbg=none guibg=none
|
hi todo ctermbg=none guibg=none
|
||||||
hi LineNr ctermbg=none guibg=none
|
hi statement ctermbg=none guibg=none
|
||||||
|
hi LineNr ctermbg=none guibg=none
|
||||||
|
else
|
||||||
|
hi Normal ctermbg=none
|
||||||
|
hi todo ctermbg=none
|
||||||
|
hi statement ctermbg=none
|
||||||
|
hi LineNr ctermbg=none
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -72,6 +85,7 @@ let g:ale_sign_warning = '⚠'
|
||||||
let g:ale_virtualtext_cursor = 0
|
let g:ale_virtualtext_cursor = 0
|
||||||
let g:ale_ruby_rubocop_executable = 'bundle'
|
let g:ale_ruby_rubocop_executable = 'bundle'
|
||||||
let g:ale_ruby_steep_executable = 'bundle'
|
let g:ale_ruby_steep_executable = 'bundle'
|
||||||
|
let g:ale_ruby_standardrb_executable = 'bundle'
|
||||||
let g:go_fmt_command = "goimports"
|
let g:go_fmt_command = "goimports"
|
||||||
"let g:ale_linters = {'ruby': ['standardrb']}
|
"let g:ale_linters = {'ruby': ['standardrb']}
|
||||||
"let g:ale_fixers = { 'python': ['black'], 'ruby': ['standardrb'] }
|
"let g:ale_fixers = { 'python': ['black'], 'ruby': ['standardrb'] }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue