Compare commits

...

4 commits

Author SHA1 Message Date
Alyxia Sother
e89aea9d82
[nvim] Added Firenvim 2021-07-04 20:16:40 +02:00
Alyxia Sother
240eeb8401
[nvim] Added dashboard plugin 2021-07-04 19:30:48 +02:00
Alyxia Sother
19abbf2c5b
[nvim] Added config for barbar 2021-07-04 19:00:09 +02:00
Alyxia Sother
3b7d90a91c
[nvim] Exchanged vim-airline for barbar.nvim 2021-07-04 18:41:42 +02:00
3 changed files with 23 additions and 2 deletions

View file

@ -2,6 +2,8 @@ let s:ctx = g:dotfiles_plugins_list_context
" Files {{{
call s:ctx.use('preservim/nerdtree')
call s:ctx.use('kyazdani42/nvim-web-devicons')
call s:ctx.use('romgrk/barbar.nvim')
" }}}
" Language specific {{{
@ -9,6 +11,8 @@ let s:ctx = g:dotfiles_plugins_list_context
" }}}
" Misc {{{
call s:ctx.use('glacambre/firenvim', { 'do': ':call firenvim#install(0)' })
call s:ctx.use('glepnir/dashboard-nvim')
if has('nvim-0.5.0')
call s:ctx.use('andweeb/presence.nvim')
endif

View file

@ -1,14 +1,22 @@
let g:k_nvim_dotfiles_dir = expand('<sfile>:p:h')
let g:k_dotfiles_dir = expand('<sfile>:p:h:h')
let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath.','.g:k_nvim_dotfiles_dir.'/after'
" Disable the following plugins from Dima's list
" https://github.com/dmitmel/dotfiles/commit/ae79a2b708c79cf91a889737e69b7256681d0478
let g:dotfiles_plugin_manager_inhibited_plugins = {
\ 'vim-airline': 1,
\ }
" Enable the clearly superior mode.
let g:vim_ide = 1
" Small plugin configs
let g:dashboard_default_executive ='fzf'
" Source Dima's config
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
" Give me that beautiful colorscheme
" Styling
set termguicolors
let airline_powerline_fonts = 1

9
nvim/plugin/barbar.vim Normal file
View file

@ -0,0 +1,9 @@
let bufferline = get(g:, 'bufferline', {})
let bufferline.icons = 'both'
" Navigating buffers
nnoremap <silent> <A-,> :BufferPrevious<CR>
nnoremap <silent> <A-.> :BufferNext<CR>
nnoremap <silent> <A-s> :BufferPick<CR>
nnoremap <silent> <A-c> :BufferClose<CR>