1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Compare commits

...

6 Commits

Author SHA1 Message Date
315ce2e468
Merge pull request #1 from danbee/master
Master
2021-10-12 09:19:42 -05:00
Daniel Barber
6cd23c4c25 Add compatibility file for NeoVim 2021-10-12 09:18:05 -05:00
Daniel Barber
4f0e46a492 Use ctrl-b to search buffers 2021-10-12 09:16:53 -05:00
Daniel Barber
c225dfc36a Let's have a tabline and powerline characters 2021-10-12 09:16:41 -05:00
Daniel Barber
7eab39ef74 Add linter rules for Vue files 2021-10-12 09:16:29 -05:00
Daniel Barber
afe1aef20b Add note about VimR not supporting guifont 2021-10-12 09:16:11 -05:00
5 changed files with 14 additions and 1 deletions

3
config/nvim/init.vim Normal file
View File

@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

View File

@ -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

View File

@ -29,5 +29,11 @@ let g:ale_fixers = {
\ 'remove_trailing_lines',
\ 'trim_whitespace',
\ 'prettier'
\ ],
\ 'vue': [
\ 'remove_trailing_lines',
\ 'trim_whitespace',
\ 'eslint',
\ 'prettier'
\ ]
\}

View File

@ -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

View File

@ -1 +1,2 @@
map <C-P> :FZF<CR>
map <C-B> :Buffers<CR>