From 2b6ae8473e1b0fb8cc0bd16aa8c485a77ee5e847 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 16 Mar 2021 21:54:42 +0100 Subject: renaming, treesitter buggy --- .config/nvim/lua/barbar/init.lua | 118 --------------------------------------- 1 file changed, 118 deletions(-) delete mode 100644 .config/nvim/lua/barbar/init.lua (limited to '.config/nvim/lua/barbar') diff --git a/.config/nvim/lua/barbar/init.lua b/.config/nvim/lua/barbar/init.lua deleted file mode 100644 index e4eb06b..0000000 --- a/.config/nvim/lua/barbar/init.lua +++ /dev/null @@ -1,118 +0,0 @@ -vim.api.nvim_set_keymap('n', '', ':BufferNext', { noremap = true, silent = true }) -vim.api.nvim_set_keymap('n', '', ':BufferPrevious', { noremap = true, silent = true }) ---[[ nnoremap :BufferPrevious -nnoremap :BufferNext ]] - - ---" These commands will sort buffers by directory, language, or a custom criteria ---nnoremap be :BufferLineSortByExtension ---nnoremap bd :BufferLineSortByDirectory ---nnoremap :lua require'bufferline'.sort_buffers_by(function (buf_a, buf_b) return buf_a.id < buf_b.id end) --- colors for active , inactive buffer tabs ---[[ require "bufferline".setup { - options = { - -- buffer_close_icon = "", - -- modified_icon = "●", - -- close_icon = "", - -- left_trunc_marker = "", - -- right_trunc_marker = "", - -- max_name_length = 14, - -- max_prefix_length = 13, - -- tab_size = 18, - -- enforce_regular_tabs = true, - -- view = "multiwindow", - -- show_buffer_close_icons = true, - -- separator_style = 'slant' - separator_style = "thin" - }, - highlights = { - background = { - guifg = "#abb2bf", - guibg = "#282c34" - }, - fill = { - guifg = "#282c34", - guibg = "#1e1e1e" - }, - buffer_selected = { - guifg = "#abb2bf", - guibg = "#3A3E44", - gui = "bold" - }, - buffer_selected = { - guifg = "#abb2bf", - guibg = "#3A3E44", - gui = "bold" - }, - separator_visible = { - guifg = "#1e1e1e", - guibg = "#1e1e1e" - }, - separator_selected = { - guifg = "#1e1e1e", - guibg = "#1e1e1e" - }, - separator = { - guifg = "#1e1e1e", - guibg = "#1e1e1e" - }, - indicator_selected = { - guifg = "#abb2bf", - guibg = "#3a3e44" - }, - modified_selected = { - guifg = "#abb2bf", - guibg = "#3a3e44" - }, - modified = { - guifg = "#abb2bf", - guibg = "#282c34" - }, - modified_visible = { - guifg = "#abb2bf", - guibg = "#282c34" - }, - duplicate_selected = { - guifg = "#abb3bf", - guibg = "#3a3e44", - -- gui = "italic" - }, - duplicate_visible = { - guifg = "#abb3bf", - guibg = "#282c34", - -- gui = "italic" - }, - duplicate = { - guifg = "#abb3bf", - guibg = "#282c34", - -- gui = "italic" - }, - tab = { - guifg = "#abb3bf", - guibg = "#282c34", - }, - tab_selected = { - guifg = "#abb3bf", - guibg = "#282c34", - }, - tab_close = { - guifg = "#abb3bf", - guibg = "#282c34", - }, - pick_selected = { - guifg = "#abb3bf", - guibg = "#282c34", - gui = "bold,italic" - }, - pick_visible = { - guifg = "#abb3bf", - guibg = "#282c34", - gui = "bold,italic" - }, - pick = { - guifg = "#abb3bf", - guibg = "#282c34", - gui = "bold,italic" - } - } -} ]] -- cgit v1.2.3-70-g09d2