summaryrefslogtreecommitdiff
path: root/.config/nvim/plug-config/barbar.vim
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-15 23:33:50 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-15 23:33:50 +0100
commit06c386f6d7e737fe22927190be6057c2e09240df (patch)
tree9fc395514387bbf9bf51f45661c798bbda3935a5 /.config/nvim/plug-config/barbar.vim
parent855f4e4f0f22b35641f13614e46b9ab7f6818188 (diff)
Delete old vim scripts
Diffstat (limited to '.config/nvim/plug-config/barbar.vim')
-rw-r--r--.config/nvim/plug-config/barbar.vim56
1 files changed, 0 insertions, 56 deletions
diff --git a/.config/nvim/plug-config/barbar.vim b/.config/nvim/plug-config/barbar.vim
deleted file mode 100644
index 16c574a..0000000
--- a/.config/nvim/plug-config/barbar.vim
+++ /dev/null
@@ -1,56 +0,0 @@
-let bufferline = get(g:, 'bufferline', {})
-"let g:bufferline = { 'closable': v:false }
-" Show a shadow over the editor in buffer-pick mode
-let bufferline.shadow = v:true
-
-" Enable/disable icons
-let bufferline.icons = v:true
-
-" Enables/disable clickable tabs
-" - left-click: go to buffer
-" - middle-click: delete buffer
-"
-" NOTE disabled by default because this might cause E541 (too many items)
-" if you have many tabs open
-let bufferline.clickable = v:true
-
-" If set, the letters for each buffer in buffer-pick mode will be
-" assigned based on their name. Otherwise or in case all letters are
-" already assigned, the behavior is to assign letters in order of
-" usability (see order below)
-let bufferline.semantic_letters = v:true
-
-" New buffer letters are assigned in this order. This order is
-" optimal for the qwerty keyboard layout but might need adjustement
-" for other layouts.
-let bufferline.letters =
-\ 'asdfjkl;ghnmxcbziowerutyqpASDFJKLGHNMXCBZIOWERUTYQP'
-
-let bg_current = get(nvim_get_hl_by_name('Normal', 1), 'background', '#000000')
-let bg_visible = get(nvim_get_hl_by_name('TabLineSel', 1), 'background', '#000000')
-let bg_inactive = get(nvim_get_hl_by_name('TabLine', 1), 'background', '#000000')
-
-" For the current active buffer
-hi default link BufferCurrent Normal
-" For the current active buffer when modified
-hi default link BufferCurrentMod Normal
-" For the current active buffer icon
-hi default link BufferCurrentSign Normal
-" For the current active buffer target when buffer-picking
-exe 'hi default BufferCurrentTarget guifg=red gui=bold guibg=' . bg_current
-
-" For buffers visible but not the current one
-hi default link BufferVisible TabLineSel
-hi default link BufferVisibleMod TabLineSel
-hi default link BufferVisibleSign TabLineSel
-exe 'hi default BufferVisibleTarget guifg=red gui=bold guibg=' . bg_visible
-
-" For buffers invisible buffers
-hi default link BufferInactive TabLine
-hi default link BufferInactiveMod TabLine
-hi default link BufferInactiveSign TabLine
-exe 'hi default BufferInactiveTarget guifg=red gui=bold guibg=' . bg_inactive
-
-
-" For the shadow in buffer-picking mode
-hi default BufferShadow guifg=#000000 guibg=#000000