mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
commit
315ce2e468
3
config/nvim/init.vim
Normal file
3
config/nvim/init.vim
Normal file
@ -0,0 +1,3 @@
|
||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath = &runtimepath
|
||||
source ~/.vimrc
|
||||
@ -5,4 +5,5 @@ if has("gui_running") || has("gui_vimr")
|
||||
let g:airline_theme = 'onedark'
|
||||
endif
|
||||
|
||||
let g:airline_powerline_fonts = 0
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
||||
@ -29,5 +29,11 @@ let g:ale_fixers = {
|
||||
\ 'remove_trailing_lines',
|
||||
\ 'trim_whitespace',
|
||||
\ 'prettier'
|
||||
\ ],
|
||||
\ 'vue': [
|
||||
\ 'remove_trailing_lines',
|
||||
\ 'trim_whitespace',
|
||||
\ 'eslint',
|
||||
\ 'prettier'
|
||||
\ ]
|
||||
\}
|
||||
|
||||
@ -2,6 +2,8 @@ if has("gui_running") || has("gui_vimr")
|
||||
" Set GUI font according to OS
|
||||
if has("gui_macvim")
|
||||
set guifont=SauceCodePro\ Nerd\ Font:h13
|
||||
elseif has("gui_vimr")
|
||||
" vimr has disabled guifont
|
||||
elseif has("gui_gtk2")
|
||||
set guifont=DejaVu\ Sans\ Mono\ 15
|
||||
endif
|
||||
|
||||
@ -1 +1,2 @@
|
||||
map <C-P> :FZF<CR>
|
||||
map <C-B> :Buffers<CR>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user