mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
4 commits
04834001f6
...
e89aea9d82
Author | SHA1 | Date | |
---|---|---|---|
|
e89aea9d82 | ||
|
240eeb8401 | ||
|
19abbf2c5b | ||
|
3b7d90a91c |
3 changed files with 23 additions and 2 deletions
|
@ -2,6 +2,8 @@ let s:ctx = g:dotfiles_plugins_list_context
|
||||||
|
|
||||||
" Files {{{
|
" Files {{{
|
||||||
call s:ctx.use('preservim/nerdtree')
|
call s:ctx.use('preservim/nerdtree')
|
||||||
|
call s:ctx.use('kyazdani42/nvim-web-devicons')
|
||||||
|
call s:ctx.use('romgrk/barbar.nvim')
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Language specific {{{
|
" Language specific {{{
|
||||||
|
@ -9,6 +11,8 @@ let s:ctx = g:dotfiles_plugins_list_context
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Misc {{{
|
" 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')
|
if has('nvim-0.5.0')
|
||||||
call s:ctx.use('andweeb/presence.nvim')
|
call s:ctx.use('andweeb/presence.nvim')
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,14 +1,22 @@
|
||||||
let g:k_nvim_dotfiles_dir = expand('<sfile>:p:h')
|
let g:k_nvim_dotfiles_dir = expand('<sfile>:p:h')
|
||||||
let g:k_dotfiles_dir = expand('<sfile>:p:h: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'
|
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.
|
" Enable the clearly superior mode.
|
||||||
let g:vim_ide = 1
|
let g:vim_ide = 1
|
||||||
|
|
||||||
|
" Small plugin configs
|
||||||
|
let g:dashboard_default_executive ='fzf'
|
||||||
|
|
||||||
" Source Dima's config
|
" Source Dima's config
|
||||||
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
||||||
|
|
||||||
" Give me that beautiful colorscheme
|
" Styling
|
||||||
set termguicolors
|
set termguicolors
|
||||||
let airline_powerline_fonts = 1
|
let airline_powerline_fonts = 1
|
||||||
|
|
9
nvim/plugin/barbar.vim
Normal file
9
nvim/plugin/barbar.vim
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue